diff options
author | Martin Storsjö <martin@martin.st> | 2017-06-30 12:49:49 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2017-07-02 22:42:26 +0300 |
commit | 61f589e31e84ae02d7ac6837f30f19c437b1fc2e (patch) | |
tree | 57d8e7f644ac902da3ceb289832c5232115a1fc4 | |
parent | 969f215957b25ec014aeed6e440ecb450e6927c1 (diff) |
lavf: Remove codec_tag from dashenc and smoothstreamingenc
Currently, the tags enforced and set on the segmenter muxer level
mismatch what the mp4/ismv muxer uses (since 713efb2c0d013).
Skip the codec_tag altogether here, to let the user (try to) set
whichever codec/tag is preferred; the individual chained muxer will
reject invalid codecs anyway.
Signed-off-by: Martin Storsjö <martin@martin.st>
-rw-r--r-- | libavformat/dashenc.c | 1 | ||||
-rw-r--r-- | libavformat/smoothstreamingenc.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c index 7134af4978..336cea24ec 100644 --- a/libavformat/dashenc.c +++ b/libavformat/dashenc.c @@ -1272,6 +1272,5 @@ AVOutputFormat ff_dash_muxer = { .write_header = dash_write_header, .write_packet = dash_write_packet, .write_trailer = dash_write_trailer, - .codec_tag = (const AVCodecTag* const []){ ff_mp4_obj_type, 0 }, .priv_class = &dash_class, }; diff --git a/libavformat/smoothstreamingenc.c b/libavformat/smoothstreamingenc.c index 997b9e636c..9a6682465b 100644 --- a/libavformat/smoothstreamingenc.c +++ b/libavformat/smoothstreamingenc.c @@ -662,6 +662,5 @@ AVOutputFormat ff_smoothstreaming_muxer = { .write_header = ism_write_header, .write_packet = ism_write_packet, .write_trailer = ism_write_trailer, - .codec_tag = (const AVCodecTag* const []){ ff_mp4_obj_type, 0 }, .priv_class = &ism_class, }; |