Commit 4e1fb26a authored by Ilkka Ollakka's avatar Ilkka Ollakka

transcode: handle fps conversion in one point

We might not have proper framerate info yet at this point
parent ae9ae8a1
......@@ -232,8 +232,6 @@ int transcode_video_new( sout_stream_t *p_stream, sout_stream_id_sys_t *id )
? id->p_encoder->fmt_out.video.i_visible_height
: id->p_decoder->fmt_in.video.i_visible_height
? id->p_decoder->fmt_in.video.i_visible_height : id->p_encoder->fmt_in.video.i_height;
id->p_encoder->fmt_in.video.i_frame_rate = id->p_decoder->fmt_out.video.i_frame_rate;
id->p_encoder->fmt_in.video.i_frame_rate_base = id->p_decoder->fmt_out.video.i_frame_rate_base;
id->p_encoder->i_threads = p_sys->i_threads;
id->p_encoder->p_cfg = p_sys->p_video_cfg;
......
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