Commit 3f4eb3aa authored by Rafaël Carré's avatar Rafaël Carré

transcode: copy video orientation to encoder

parent 95d5c47c
...@@ -528,6 +528,10 @@ static void transcode_video_encoder_init( sout_stream_t *p_stream, ...@@ -528,6 +528,10 @@ static void transcode_video_encoder_init( sout_stream_t *p_stream,
} }
} }
id->p_encoder->fmt_in.video.orientation =
id->p_encoder->fmt_out.video.orientation =
id->p_decoder->fmt_in.video.orientation;
id->p_encoder->fmt_in.video.i_frame_rate = id->p_encoder->fmt_in.video.i_frame_rate =
id->p_encoder->fmt_out.video.i_frame_rate; id->p_encoder->fmt_out.video.i_frame_rate;
id->p_encoder->fmt_in.video.i_frame_rate_base = id->p_encoder->fmt_in.video.i_frame_rate_base =
......
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