Commit 0fa3912f authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Find correctly the Vout.

My error of using FIND_CHILD. Close #1771
parent d6abf7aa
...@@ -222,7 +222,7 @@ ExtVideo::~ExtVideo() ...@@ -222,7 +222,7 @@ ExtVideo::~ExtVideo()
void ExtVideo::cropChange() void ExtVideo::cropChange()
{ {
p_vout = ( vout_thread_t * )vlc_object_find( p_intf, p_vout = ( vout_thread_t * )vlc_object_find( p_intf,
VLC_OBJECT_VOUT, FIND_CHILD ); VLC_OBJECT_VOUT, FIND_ANYWHERE );
if( p_vout ) if( p_vout )
{ {
var_SetInteger( p_vout, "crop-top", ui.cropTopPx->value() ); var_SetInteger( p_vout, "crop-top", ui.cropTopPx->value() );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment