diff options
author | Zaheer Abbas Merali <zaheerabbas@merali.org> | 2008-02-05 11:40:43 +0000 |
---|---|---|
committer | Zaheer Abbas Merali <zaheerabbas@merali.org> | 2008-02-05 11:40:43 +0000 |
commit | ed4368e08f58c98864e28e31db1f2ce4cfa44923 (patch) | |
tree | 026e6e447219f78f9ca489bc015dd4385fd9e7e5 /gst/mpegtsparse | |
parent | 870ea2afe8e1a4232c4ecc7e7cadcfd26a6f0d74 (diff) | |
download | gst-plugins-bad-ed4368e08f58c98864e28e31db1f2ce4cfa44923.tar.gz gst-plugins-bad-ed4368e08f58c98864e28e31db1f2ce4cfa44923.tar.bz2 gst-plugins-bad-ed4368e08f58c98864e28e31db1f2ce4cfa44923.zip |
gst/mpegtsparse/mpegtspacketizer.c: Add flag to both sdt and nit structures to say whether the table is for the actua...
Original commit message from CVS:
* gst/mpegtsparse/mpegtspacketizer.c:
Add flag to both sdt and nit structures to say
whether the table is for the actual network/ts
or not.
Diffstat (limited to 'gst/mpegtsparse')
-rw-r--r-- | gst/mpegtsparse/mpegtspacketizer.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gst/mpegtsparse/mpegtspacketizer.c b/gst/mpegtsparse/mpegtspacketizer.c index 4be21dc1..78b7d487 100644 --- a/gst/mpegtsparse/mpegtspacketizer.c +++ b/gst/mpegtsparse/mpegtspacketizer.c @@ -596,7 +596,7 @@ mpegts_packetizer_parse_nit (MpegTSPacketizer * packetizer, "network-id", G_TYPE_UINT, network_id, "version-number", G_TYPE_UINT, section->version_number, "current-next-indicator", G_TYPE_UINT, section->current_next_indicator, - NULL); + "actual-network", G_TYPE_BOOLEAN, section->table_id == 0x40, NULL); /* see if the buffer is large enough */ if (descriptors_loop_length) { @@ -1069,7 +1069,9 @@ mpegts_packetizer_parse_sdt (MpegTSPacketizer * packetizer, "transport-stream-id", G_TYPE_UINT, transport_stream_id, "version-number", G_TYPE_UINT, section->version_number, "current-next-indicator", G_TYPE_UINT, section->current_next_indicator, - "original-network-id", G_TYPE_UINT, original_network_id, NULL); + "original-network-id", G_TYPE_UINT, original_network_id, + "actual-transport-stream", G_TYPE_BOOLEAN, section->table_id == 0x42, + NULL); sdt_info_length = section->section_length - 8; g_value_init (&services, GST_TYPE_LIST); |