aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/mpegts.c
diff options
context:
space:
mode:
authorKieran Kunhya <kieran@kunhya.com>2011-03-04 15:09:32 +0000
committerMichael Niedermayer <michaelni@gmx.at>2011-05-28 04:11:26 +0200
commitfa12fb3b00cb4e08a38a4fb192293347c218b3d3 (patch)
tree05fee9039acddf8fdeb92d7142c55128751f2175 /libavformat/mpegts.c
parent8381ab143779d25611a1bb05d674bc39fe940f77 (diff)
downloadffmpeg-fa12fb3b00cb4e08a38a4fb192293347c218b3d3.tar.gz
Output MPEG-TS stream identifiers.
with changes by michael to simplify API
Diffstat (limited to 'libavformat/mpegts.c')
-rw-r--r--libavformat/mpegts.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c
index ea11a3eaf8..9511ede08d 100644
--- a/libavformat/mpegts.c
+++ b/libavformat/mpegts.c
@@ -994,6 +994,9 @@ int ff_parse_mpeg2_descriptor(AVFormatContext *fc, AVStream *st, int stream_type
stream_type == STREAM_TYPE_PRIVATE_DATA)
mpegts_find_stream_type(st, st->codec->codec_tag, REGD_types);
break;
+ case 0x52: /* stream identifier descriptor */
+ st->stream_identifier = 1 + get8(pp, desc_end);
+ break;
default:
break;
}