mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
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).
This commit is contained in:
parent
f0ed18f2ed
commit
3a2cdc25e1
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
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 */
|
||||
|
|
Loading…
Reference in a new issue