[FFmpeg-devel] [PATCH} to mpegtsenc.c to populate PMT descriptors with codec_tag for AVMEDIA_TYPE_DATA

Scott Leno ffmpeg at scottleno.net
Thu Sep 22 22:02:13 CEST 2011


Several months ago, it was suggested that the PMT descriptors be
populated with the codec_tag for AVMEDIA_TYPE_DATA

> [FFmpeg-devel] requested change for mpegts.enc
> Hill, Scott SHill at camber.com
> Fri Apr 1 21:06:04 CEST 2011

> I would like to request a change to the write_pmt function to output the
> codec_tag for data streams.  This is necessary for transport streams
> conforming to SMPTE RP 217

I have included my patch to do so.
I added tests that the codec_tag was populated and that the
stream_type == STREAM_TYPE_PRIVATE_DATA.
I can't say that allowing stream_type != STREAM_TYPE_PRIVATE_DATA is a
bad thing, but I was being careful.

   Scott
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mpegtsenc.patchfile
Type: application/octet-stream
Size: 825 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110922/dc01ae30/attachment.obj>


More information about the ffmpeg-devel mailing list