[vlc-commits] transcode: fix video filters
Rafaël Carré
git at videolan.org
Thu Jul 31 12:25:13 CEST 2014
vlc | branch: master | Rafaël Carré <funman at videolan.org> | Thu Jul 31 12:25:03 2014 +0200| [ae192018e27bb10ebfb569d57f11caac5ecaf63e] | committer: Rafaël Carré
transcode: fix video filters
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ae192018e27bb10ebfb569d57f11caac5ecaf63e
---
modules/stream_out/transcode/video.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/stream_out/transcode/video.c b/modules/stream_out/transcode/video.c
index 084d36c..97a568f 100644
--- a/modules/stream_out/transcode/video.c
+++ b/modules/stream_out/transcode/video.c
@@ -295,7 +295,7 @@ static void transcode_video_filter_init( sout_stream_t *p_stream,
es_format_t *p_fmt_out = &id->p_decoder->fmt_out;
id->p_encoder->fmt_in.video.i_chroma = id->p_encoder->fmt_in.i_codec;
- id->p_f_chain = filter_chain_New( p_stream, false, &owner );
+ id->p_f_chain = filter_chain_NewVideo( p_stream, false, &owner );
filter_chain_Reset( id->p_f_chain, p_fmt_out, p_fmt_out );
/* Deinterlace */
@@ -318,7 +318,7 @@ static void transcode_video_filter_init( sout_stream_t *p_stream,
if( p_stream->p_sys->psz_vf2 )
{
- id->p_uf_chain = filter_chain_New( p_stream, true, &owner );
+ id->p_uf_chain = filter_chain_NewVideo( p_stream, true, &owner );
filter_chain_Reset( id->p_uf_chain, p_fmt_out,
&id->p_encoder->fmt_in );
if( p_fmt_out->video.i_chroma != id->p_encoder->fmt_in.video.i_chroma )
More information about the vlc-commits
mailing list