gst/mpegdemux/mpegtspacketizer.c: Add a scrambled field to the service structures retrieved from SDT to determine if ...

Original commit message from CVS:
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.
This commit is contained in:
Sebastian Pölsterl 2008-12-29 16:18:47 +00:00 committed by Wim Taymans
parent 52b0e40115
commit b4152f7308
2 changed files with 13 additions and 4 deletions

View file

@ -1,3 +1,11 @@
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>

View file

@ -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);
}