diff options
Diffstat (limited to 'avmedia/source/viewer/mediawindow_impl.cxx')
-rw-r--r-- | avmedia/source/viewer/mediawindow_impl.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/avmedia/source/viewer/mediawindow_impl.cxx b/avmedia/source/viewer/mediawindow_impl.cxx index 3bd2b46595f5..66a625169502 100644 --- a/avmedia/source/viewer/mediawindow_impl.cxx +++ b/avmedia/source/viewer/mediawindow_impl.cxx @@ -639,14 +639,14 @@ void MediaWindowImpl::StateChanged( StateChangedType eType ) // stop playing when going disabled or hidden switch( eType ) { - case STATE_CHANGE_VISIBLE: + case StateChangedType::VISIBLE: { stopPlayingInternal( !IsVisible() ); mxPlayerWindow->setVisible( IsVisible() ); } break; - case STATE_CHANGE_ENABLE: + case StateChangedType::ENABLE: { stopPlayingInternal( !IsEnabled() ); mxPlayerWindow->setEnable( IsEnabled() ); |