lavf: Remove codec_tag from dashenc and smoothstreamingenc
authorMartin Storsjö <martin@martin.st>
Fri, 30 Jun 2017 09:49:49 +0000 (12:49 +0300)
committerMartin Storsjö <martin@martin.st>
Sun, 2 Jul 2017 19:42:26 +0000 (22:42 +0300)
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>
libavformat/dashenc.c
libavformat/smoothstreamingenc.c

index 7134af4..336cea2 100644 (file)
@@ -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,
 };
index 997b9e6..9a66824 100644 (file)
@@ -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,
 };