Commit 101c52fa authored by Ilkka Ollakka's avatar Ilkka Ollakka

small adjustment on decoder/encoder fmt_in/out for new_video_filter

parent e2fbc684
......@@ -2250,7 +2250,7 @@ static int transcode_video_process( sout_stream_t *p_stream,
{
id->pp_filter[id->i_filter] =
transcode_video_filter_new( p_stream,
&id->p_decoder->fmt_out, &id->p_encoder->fmt_in,
&id->p_decoder->fmt_out, &id->p_decoder->fmt_out,
p_sys->p_deinterlace_cfg,
p_sys->psz_deinterlace );
......@@ -2336,7 +2336,7 @@ static int transcode_video_process( sout_stream_t *p_stream,
{
id->pp_filter[id->i_filter] =
transcode_video_filter_new( p_stream,
&id->p_decoder->fmt_in, &id->p_encoder->fmt_in,
&id->p_decoder->fmt_out, &id->p_encoder->fmt_in,
NULL, "crop padd" );
if( !id->pp_filter[id->i_filter] )
{
......
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