Commit 20967dfe authored by Derk-Jan Hartman's avatar Derk-Jan Hartman

macosx: Fix postprocessing menu item

This closes #2814
parent 48e6695b
...@@ -1895,20 +1895,11 @@ end: ...@@ -1895,20 +1895,11 @@ end:
[o_controls setupVarMenuItem: o_mi_deinterlace target: (vlc_object_t *)p_vout [o_controls setupVarMenuItem: o_mi_deinterlace target: (vlc_object_t *)p_vout
var: "deinterlace" selector: @selector(toggleVar:)]; var: "deinterlace" selector: @selector(toggleVar:)];
#if 0 #if 1
/* FIXME Post processing. */
p_dec_obj = (vlc_object_t *)vlc_object_find(
(vlc_object_t *)p_vout,
VLC_OBJECT_DECODER,
FIND_PARENT );
if( p_dec_obj != NULL )
{
[o_controls setupVarMenuItem: o_mi_ffmpeg_pp target: [o_controls setupVarMenuItem: o_mi_ffmpeg_pp target:
(vlc_object_t *)p_dec_obj var:"ffmpeg-pp-q" selector: (vlc_object_t *)p_vout var:"postprocess" selector:
@selector(toggleVar:)]; @selector(toggleVar:)];
vlc_object_release(p_dec_obj);
}
#endif #endif
vlc_object_release( (vlc_object_t *)p_vout ); vlc_object_release( (vlc_object_t *)p_vout );
} }
......
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