• Martin Storsjö's avatar
    hdsenc: Clear the previous codec tag when setting up the chained muxer · 7fd10f66
    Martin Storsjö authored
    The chained flv muxer wants one set of tags - normally this set
    could be signaled via the AVOutputFormat codec_tag field (as
    smoothstreamingenc and dashenc do). hdsenc doesn't signal it, since
    the FLV codec tag arrays aren't exported from flvenc.c. This can
    lead to the caller keeping an original codec tag from the originating
    container here, which would then be a mismatch for the FLV muxer.
    Since we don't really care about what codec tag the caller might
    have set, just clear it and let the lavf muxer layer set the right
    one for the chained FLV muxer later instead.
    Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
    7fd10f66
hdsenc.c 19.3 KB