diff options
author | Mike Scheutzow <mjs973@optonline.net> | 2011-01-15 16:11:55 +0000 |
---|---|---|
committer | Janne Grunau <janne-ffmpeg@jannau.net> | 2011-01-22 04:10:22 +0100 |
commit | 20ac9de3df9b129a4a312d626fed0e2bbb760200 (patch) | |
tree | 6fa27f0e66010f086ab938036ddce71e79329a18 /ffmpeg.c | |
parent | 76edf2c1377fdb35609f79a6702081de4d93e331 (diff) | |
download | ffmpeg-streaming-20ac9de3df9b129a4a312d626fed0e2bbb760200.zip ffmpeg-streaming-20ac9de3df9b129a4a312d626fed0e2bbb760200.tar.gz |
streamid does not work with newaudio, newvideo, newsubtitle
fixes issue2465.
The problem is that the ffmpeg (the app) -streamid option did not work
with -newaudio/-newvideo/-newsubtitle.
The cause was a conflict between the feature where streamid values were
reset to default for each output filename, and the implementation of
-new*, which requires that the -new* option be specified after the
target filename.
My patch changes the ffmpeg behavior so that user-specified streamid
values apply to all the following output files on the command line
(rather than just the next output filename.)
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
Diffstat (limited to 'ffmpeg.c')
-rw-r--r-- | ffmpeg.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -3816,7 +3816,6 @@ static void opt_output_file(const char *filename) set_context_opts(oc, avformat_opts, AV_OPT_FLAG_ENCODING_PARAM, NULL); - nb_streamid_map = 0; av_freep(&forced_key_frames); } |