mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Fixed checking for VIDEO_STREAM_S in cRemux::SetBrokenLink()
This commit is contained in:
parent
e7ee82ad16
commit
c89a686254
@ -493,6 +493,7 @@ Oliver Endriss <o.endriss@gmx.de>
|
|||||||
directly
|
directly
|
||||||
for reporting and helping to debug dropping out of replay mode while viewing a
|
for reporting and helping to debug dropping out of replay mode while viewing a
|
||||||
recording that is still going on
|
recording that is still going on
|
||||||
|
for fixing checking for VIDEO_STREAM_S in cRemux::SetBrokenLink()
|
||||||
|
|
||||||
Reinhard Walter Buchner <rw.buchner@freenet.de>
|
Reinhard Walter Buchner <rw.buchner@freenet.de>
|
||||||
for adding some satellites to 'sources.conf'
|
for adding some satellites to 'sources.conf'
|
||||||
|
4
HISTORY
4
HISTORY
@ -2376,7 +2376,7 @@ Video Disk Recorder Revision History
|
|||||||
is active (sometimes the CAMs got irritated when the device tuned to channels
|
is active (sometimes the CAMs got irritated when the device tuned to channels
|
||||||
they couldn't handle).
|
they couldn't handle).
|
||||||
|
|
||||||
2003-09-14: Version 1.2.5
|
2003-09-14: Version 1.2.5pre3
|
||||||
|
|
||||||
- Fixed dropping out of replay mode while viewing a recording that is still
|
- Fixed dropping out of replay mode while viewing a recording that is still
|
||||||
going on (thanks to Oliver Endriss for reporting and helping to debug this
|
going on (thanks to Oliver Endriss for reporting and helping to debug this
|
||||||
@ -2391,3 +2391,5 @@ Video Disk Recorder Revision History
|
|||||||
Thomas Schmidt).
|
Thomas Schmidt).
|
||||||
- VDR now starts up even if 'keymacros.conf' references a plugin that is currently
|
- VDR now starts up even if 'keymacros.conf' references a plugin that is currently
|
||||||
not loaded (suggested by Alexander Wetzel).
|
not loaded (suggested by Alexander Wetzel).
|
||||||
|
- Fixed checking for VIDEO_STREAM_S in cRemux::SetBrokenLink() (thanks to Oliver
|
||||||
|
Endriss).
|
||||||
|
4
remux.c
4
remux.c
@ -8,7 +8,7 @@
|
|||||||
* the Linux DVB driver's 'tuxplayer' example and were rewritten to suit
|
* the Linux DVB driver's 'tuxplayer' example and were rewritten to suit
|
||||||
* VDR's needs.
|
* VDR's needs.
|
||||||
*
|
*
|
||||||
* $Id: remux.c 1.16 2003/08/06 14:44:03 kls Exp $
|
* $Id: remux.c 1.17 2003/09/14 10:34:39 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* The calling interface of the 'cRemux::Process()' function is defined
|
/* The calling interface of the 'cRemux::Process()' function is defined
|
||||||
@ -672,7 +672,7 @@ XXX*/
|
|||||||
|
|
||||||
void cRemux::SetBrokenLink(uchar *Data, int Length)
|
void cRemux::SetBrokenLink(uchar *Data, int Length)
|
||||||
{
|
{
|
||||||
if (Length > 9 && Data[0] == 0 && Data[1] == 0 && Data[2] == 1 && (Data[3] & VIDEO_STREAM_S) == VIDEO_STREAM_S) {
|
if (Length > 9 && Data[0] == 0 && Data[1] == 0 && Data[2] == 1 && (Data[3] & 0xF0) == VIDEO_STREAM_S) {
|
||||||
for (int i = Data[8] + 9; i < Length - 7; i++) { // +9 to skip video packet header
|
for (int i = Data[8] + 9; i < Length - 7; i++) { // +9 to skip video packet header
|
||||||
if (Data[i] == 0 && Data[i + 1] == 0 && Data[i + 2] == 1 && Data[i + 3] == 0xB8) {
|
if (Data[i] == 0 && Data[i + 1] == 0 && Data[i + 2] == 1 && Data[i + 3] == 0xB8) {
|
||||||
if (!(Data[i + 7] & 0x40)) // set flag only if GOP is not closed
|
if (!(Data[i + 7] & 0x40)) // set flag only if GOP is not closed
|
||||||
|
Loading…
Reference in New Issue
Block a user