Commit 33a042e0 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Object reference leak

parent 195355be
......@@ -153,7 +153,8 @@ libvlc_video_take_snapshot( libvlc_media_player_t *p_mi, unsigned num,
var_SetInteger( p_vout, "snapshot-height", i_height );
var_SetString( p_vout, "snapshot-path", psz_filepath );
var_SetString( p_vout, "snapshot-format", "png" );
var_TriggerCallback (p_vout, "video-snapshot" );
var_TriggerCallback( p_vout, "video-snapshot" );
vlc_object_release( p_vout );
return 0;
}
......
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