Message ID | CA+F=gyO3VJoRRBF2Z=PrSY7aXOMm+LMCWEf44cysuCxDTWcD9A@mail.gmail.com |
---|---|
State | New |
Headers | show |
On Wed, Aug 02, 2017 at 10:40:48 +0200, Mark Timmerman wrote: > + } else if (st->codecpar->codec_id == > AV_CODEC_ID_SYNCHRONOUS_METADATA) { Again, your patch is corrupted by newlines. Please use git send-email (preferred), or use git format-patch to create a patch to attach. Otherwise, chances for a review are low. Moritz
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index c594993..fe4e538 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -682,6 +682,7 @@ enum AVCodecID { AV_CODEC_ID_DVD_NAV, AV_CODEC_ID_TIMED_ID3, AV_CODEC_ID_BIN_DATA, + AV_CODEC_ID_SYNCHRONOUS_METADATA, AV_CODEC_ID_PROBE = 0x19000, ///< codec_id is not known (like AV_CODEC_ID_NONE) but lavf should attempt to identify it diff --git a/libavformat/mpegtsenc.c b/libavformat/mpegtsenc.c index fdfa544..35907da 100644 --- a/libavformat/mpegtsenc.c +++ b/libavformat/mpegtsenc.c @@ -387,6 +387,7 @@ static int mpegts_write_pmt(AVFormatContext *s, MpegTSService *service) stream_type = STREAM_TYPE_PRIVATE_DATA; break; case AV_CODEC_ID_TIMED_ID3: + case AV_CODEC_ID_SYNCHRONOUS_METADATA: stream_type = STREAM_TYPE_METADATA; break;