Commit 82e22a44 authored by Ilkka Ollakka's avatar Ilkka Ollakka

transcode: run user speficied videofilters before overlays

For example crop/pad can change p_enc.in values, so run soverlay
in part that they are actually correct in p_pict.
parent bf8c4379
......@@ -673,6 +673,10 @@ int transcode_video_process( sout_stream_t *p_stream, sout_stream_id_t *id,
if( id->p_f_chain )
p_pic = filter_chain_VideoFilter( id->p_f_chain, p_pic );
/* Run user specified filter chain */
if( id->p_uf_chain )
p_pic = filter_chain_VideoFilter( id->p_uf_chain, p_pic );
/*
* Encoding
*/
......@@ -714,10 +718,6 @@ int transcode_video_process( sout_stream_t *p_stream, sout_stream_id_t *id,
}
}
/* Run user specified filter chain */
if( id->p_uf_chain )
p_pic = filter_chain_VideoFilter( id->p_uf_chain, p_pic );
if( p_sys->i_threads == 0 )
{
block_t *p_block;
......
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