Commit 3a2cdc25 authored by Zaheer Abbas Merali's avatar Zaheer Abbas Merali

gst/mpegdemux/mpegtspacketizer.c: Guard interval is 4 if descriptor part shows binary 11 (3 not 4).

Original commit message from CVS:
* gst/mpegdemux/mpegtspacketizer.c:
Guard interval is 4 if descriptor part shows binary 11 (3 not 4).
parent f0ed18f2
2009-01-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
* gst/mpegdemux/mpegtspacketizer.c:
Guard interval is 4 if descriptor part shows binary 11 (3 not 4).
2009-01-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
* gst/mpegdemux/gstmpegdesc.h:
......
......@@ -888,7 +888,7 @@ mpegts_packetizer_parse_nit (MpegTSPacketizer * packetizer,
default:
code_rate_lp_str = "reserved";
}
/* guard is 32 if 0, 16 if 1, 8 if 2, 4 if 4 */
/* guard is 32 if 0, 16 if 1, 8 if 2, 4 if 3 */
switch (guard_interval) {
case 0:
guard_interval = 32;
......@@ -899,7 +899,7 @@ mpegts_packetizer_parse_nit (MpegTSPacketizer * packetizer,
case 2:
guard_interval = 8;
break;
case 4:
case 3:
guard_interval = 4;
break;
default: /* make it default to 32 */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment