Changeset 46532 in vbox
- Timestamp:
- Jun 13, 2013 1:57:26 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/MachineImpl.cpp
r46523 r46532 1807 1807 AutoWriteLock alock(this COMMA_LOCKVAL_SRC_POS); 1808 1808 1809 if (mHWData->mVideoCaptureEnabled) 1809 if ( Global::IsOnline(mData->mMachineState) 1810 && mHWData->mVideoCaptureEnabled) 1810 1811 return setError(E_INVALIDARG, tr("Cannot change parameters while capturing is enabled")); 1811 1812 … … 1837 1838 AutoWriteLock alock(this COMMA_LOCKVAL_SRC_POS); 1838 1839 1839 if (mHWData->mVideoCaptureEnabled) 1840 if ( Global::IsOnline(mData->mMachineState) 1841 && mHWData->mVideoCaptureEnabled) 1840 1842 return setError(E_INVALIDARG, tr("Cannot change parameters while capturing is enabled")); 1841 1843 … … 1864 1866 AutoWriteLock alock(this COMMA_LOCKVAL_SRC_POS); 1865 1867 1866 if (mHWData->mVideoCaptureEnabled) 1868 if ( Global::IsOnline(mData->mMachineState) 1869 && mHWData->mVideoCaptureEnabled) 1867 1870 return setError(E_INVALIDARG, tr("Cannot change parameters while capturing is enabled")); 1868 1871 … … 1891 1894 AutoWriteLock alock(this COMMA_LOCKVAL_SRC_POS); 1892 1895 1893 if (mHWData->mVideoCaptureEnabled) 1896 if ( Global::IsOnline(mData->mMachineState) 1897 && mHWData->mVideoCaptureEnabled) 1894 1898 return setError(E_INVALIDARG, tr("Cannot change parameters while capturing is enabled")); 1895 1899 … … 1918 1922 AutoWriteLock alock(this COMMA_LOCKVAL_SRC_POS); 1919 1923 1920 if (mHWData->mVideoCaptureEnabled) 1924 if ( Global::IsOnline(mData->mMachineState) 1925 && mHWData->mVideoCaptureEnabled) 1921 1926 return setError(E_INVALIDARG, tr("Cannot change parameters while capturing is enabled")); 1922 1927
Note:
See TracChangeset
for help on using the changeset viewer.