Commit 4137a1d0 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Use var_TriggerCallback

parent c9367612
...@@ -174,7 +174,6 @@ int Activate ( vlc_object_t *p_this ) ...@@ -174,7 +174,6 @@ int Activate ( vlc_object_t *p_this )
{ {
vout_thread_t *p_vout = (vout_thread_t *)p_this; vout_thread_t *p_vout = (vout_thread_t *)p_this;
char * psz_display; char * psz_display;
vlc_value_t val;
#if defined(MODULE_NAME_IS_xvmc) #if defined(MODULE_NAME_IS_xvmc)
char *psz_value; char *psz_value;
#endif #endif
...@@ -443,8 +442,7 @@ int Activate ( vlc_object_t *p_this ) ...@@ -443,8 +442,7 @@ int Activate ( vlc_object_t *p_this )
/* Variable to indicate if the window should be on top of others */ /* Variable to indicate if the window should be on top of others */
/* Trigger a callback right now */ /* Trigger a callback right now */
var_Get( p_vout, "video-on-top", &val ); var_TriggerCallback( p_vout, "video-on-top" );
var_Set( p_vout, "video-on-top", val );
return VLC_SUCCESS; return VLC_SUCCESS;
} }
......
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