You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-06-14 22:15:12 +02:00
30_clean_up_global_header_flag.patch by (Calcium | calcium nurs or jp)
Originally committed as revision 4072 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
committed by
Michael Niedermayer
parent
649b918c9f
commit
c64d476ccd
4
ffmpeg.c
4
ffmpeg.c
@ -3096,7 +3096,7 @@ static void opt_output_file(const char *filename)
|
||||
if(video_codec_tag)
|
||||
video_enc->codec_tag= video_codec_tag;
|
||||
|
||||
if(!strcmp(file_oformat->name, "mp4") || !strcmp(file_oformat->name, "mov") || !strcmp(file_oformat->name, "3gp"))
|
||||
if (file_oformat->flags & AVFMT_GLOBALHEADER)
|
||||
video_enc->flags |= CODEC_FLAG_GLOBAL_HEADER;
|
||||
if (video_stream_copy) {
|
||||
st->stream_copy = 1;
|
||||
@ -3367,7 +3367,7 @@ static void opt_output_file(const char *filename)
|
||||
if(audio_codec_tag)
|
||||
audio_enc->codec_tag= audio_codec_tag;
|
||||
|
||||
if(!strcmp(file_oformat->name, "mp4") || !strcmp(file_oformat->name, "mov") || !strcmp(file_oformat->name, "3gp"))
|
||||
if (file_oformat->flags & AVFMT_GLOBALHEADER)
|
||||
audio_enc->flags |= CODEC_FLAG_GLOBAL_HEADER;
|
||||
if (audio_stream_copy) {
|
||||
st->stream_copy = 1;
|
||||
|
Reference in New Issue
Block a user