diff options
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | gst/mpegdemux/mpegtspacketizer.c | 9 |
2 files changed, 13 insertions, 4 deletions
@@ -1,5 +1,13 @@ 2008-12-29 Wim Taymans <wim.taymans@collabora.co.uk> + Patch by: Sebastian Pölsterl <sebp at k-d-w dot org> + + * gst/mpegdemux/mpegtspacketizer.c: (mpegts_packetizer_parse_sdt): + Add a scrambled field to the service structures retrieved from SDT to + determine if a channel is scrambled. Fixes #565613. + +2008-12-29 Wim Taymans <wim.taymans@collabora.co.uk> + Patch by: Damien Lespiau <damien dot lespiau at gmail dot com> * gst/pcapparse/Makefile.am: diff --git a/gst/mpegdemux/mpegtspacketizer.c b/gst/mpegdemux/mpegtspacketizer.c index 8c5fcc9c..2c0b946d 100644 --- a/gst/mpegdemux/mpegtspacketizer.c +++ b/gst/mpegdemux/mpegtspacketizer.c @@ -1303,10 +1303,11 @@ mpegts_packetizer_parse_sdt (MpegTSPacketizer * packetizer, get_encoding_and_convert (serviceprovider_name, serviceprovider_name_length); - gst_structure_set (service, "name", G_TYPE_STRING, servicename_tmp, - NULL); - gst_structure_set (service, "provider-name", G_TYPE_STRING, - serviceprovider_name_tmp, NULL); + gst_structure_set (service, + "name", G_TYPE_STRING, servicename_tmp, + "provider-name", G_TYPE_STRING, serviceprovider_name_tmp, + "scrambled", G_TYPE_BOOLEAN, scrambled, NULL); + g_free (servicename_tmp); g_free (serviceprovider_name_tmp); } |