diff options
author | Stefano Sabatini <stefasab@gmail.com> | 2015-11-18 19:23:03 +0100 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2016-02-23 18:44:12 +0100 |
commit | 14f7a3d55a43c1082ee1186a1990a431c641052d (patch) | |
tree | 8413603eb9ebbdfb8f6e84b8356a314d9101e19f /libavcodec/avpacket.c | |
parent | 3ba57bfe8ddcf151d0dcfc6bdfe76b2bb57ba018 (diff) | |
download | ffmpeg-14f7a3d55a43c1082ee1186a1990a431c641052d.tar.gz |
lavc/lavf: transmit stream_id information for mpegts KLV data packets
This allows to copy information related to the stream ID from the demuxer
to the muxer, thus allowing for example to retain information related to
synchronous and asynchronous KLV data packets. This information is used
in the muxer when remuxing to distinguish the two kind of packets (if the
information is lacking, data packets are considered synchronous).
The fate reference changes are due to the use of
av_packet_merge_side_data(), which increases the size of the output
packet size, since side data is merged into the packet data.
Diffstat (limited to 'libavcodec/avpacket.c')
-rw-r--r-- | libavcodec/avpacket.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/avpacket.c b/libavcodec/avpacket.c index 4901d361b1..9538bf39f3 100644 --- a/libavcodec/avpacket.c +++ b/libavcodec/avpacket.c @@ -351,6 +351,7 @@ const char *av_packet_side_data_name(enum AVPacketSideDataType type) case AV_PKT_DATA_WEBVTT_IDENTIFIER: return "WebVTT ID"; case AV_PKT_DATA_WEBVTT_SETTINGS: return "WebVTT Settings"; case AV_PKT_DATA_METADATA_UPDATE: return "Metadata Update"; + case AV_PKT_DATA_MPEGTS_STREAM_ID: return "MPEGTS Stream ID"; } return NULL; } |