Skip to content
Snippets Groups Projects
Commit 0e559023 authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

ffmpeg: preserve avg_frame_rate on stream copy.

parent 439e1d19
No related branches found
No related tags found
No related merge requests found
...@@ -2162,6 +2162,7 @@ static int transcode_init(OutputFile *output_files, int nb_output_files, ...@@ -2162,6 +2162,7 @@ static int transcode_init(OutputFile *output_files, int nb_output_files,
ist->st->codec->sample_aspect_ratio.num ? ist->st->codec->sample_aspect_ratio.num ?
ist->st->codec->sample_aspect_ratio : (AVRational){0, 1}; ist->st->codec->sample_aspect_ratio : (AVRational){0, 1};
} }
ost->st->avg_frame_rate = ist->st->avg_frame_rate;
break; break;
case AVMEDIA_TYPE_SUBTITLE: case AVMEDIA_TYPE_SUBTITLE:
codec->width = icodec->width; codec->width = icodec->width;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment