vlc | branch: master | Mario Speiß <[email protected]> | Wed Jun 13 21:59:00 2012 +0200| [4d844df2e475cd0d8df9d21885f8280df818b86e] | committer: Jean-Baptiste Kempf
Qt: release vout in controller configuration widget Signed-off-by: Jean-Baptiste Kempf <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4d844df2e475cd0d8df9d21885f8280df818b86e --- modules/gui/qt4/components/controller_widget.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/gui/qt4/components/controller_widget.cpp b/modules/gui/qt4/components/controller_widget.cpp index b02ec41..7f973c0 100644 --- a/modules/gui/qt4/components/controller_widget.cpp +++ b/modules/gui/qt4/components/controller_widget.cpp @@ -298,7 +298,8 @@ void AspectRatioComboBox::updateAspectRatio( int x ) if( p_vout && x >= 0 ) { var_SetString( p_vout, "aspect-ratio", qtu( itemData(x).toString() ) ); - vlc_object_release( p_vout ); } + if( p_vout ) + vlc_object_release( p_vout ); } _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
