[Bug 727560] mpegts: add frequency list, scrambling and dvb ca indentifier descriptor

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Apr 4 02:28:30 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=727560
  GStreamer | gst-plugins-bad | git

--- Comment #6 from Stefan Ringel <mail at stefanringel.de> 2014-04-04 09:28:24 UTC ---
(In reply to comment #4)
> Review of attachment 273545 [details]:
> 
> ::: gst-libs/gst/mpegts/gst-dvb-descriptor.c
> @@ +915,3 @@
> +  __common_desc_checks (descriptor, GST_MTS_DESC_DVB_CA_IDENTIFIER, 2, FALSE);
> +
> +  data = (guint8 *) descriptor->data + 2;
> 
> What's in the first two bytes?
The first bytes are always the tag and the length (be parsed in descriptor
class).
> 
> @@ +919,3 @@
> +  *list = g_array_new (FALSE, FALSE, sizeof (guint16));
> +
> +  for (guint i = 0; i < descriptor->length; i += 2) {
> 
> Same as in the other one, i < descriptor->length - 1. Probably more of these
> things in the already existing code.

o.k. If you those say that it also in existing code then thanks. But not all
have constant length of bytes. Is while {} do in this case better?

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list