[vlc-devel] commit: Enable frame by frame button only when video is present. ( Laurent Aimar )
git version control
git at videolan.org
Tue Nov 25 19:31:59 CET 2008
vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Tue Nov 25 19:31:33 2008 +0100| [af8536f86d6ef2697fe6d300b7ed6ca8ffb72bcd] | committer: Laurent Aimar
Enable frame by frame button only when video is present.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=af8536f86d6ef2697fe6d300b7ed6ca8ffb72bcd
---
modules/gui/qt4/components/controller.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/gui/qt4/components/controller.cpp b/modules/gui/qt4/components/controller.cpp
index 895dec6..599b543 100644
--- a/modules/gui/qt4/components/controller.cpp
+++ b/modules/gui/qt4/components/controller.cpp
@@ -255,7 +255,7 @@ QWidget *AbstractController::createWidget( buttonType_e button, int* i_size,
setupButton( frameButton );
CONNECT_MAP_SET( frameButton, FRAME_ACTION );
BUTTON_SET_BAR( frameButton, frame, qtr( "Frame by frame" ) );
- ENABLE_ON_INPUT( frameButton );
+ ENABLE_ON_VIDEO( frameButton );
widget = frameButton;
}
break;
More information about the vlc-devel
mailing list