diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2005-08-28 21:20:58 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2005-08-28 21:20:58 +0200 |
commit | 1f4f85a82e4e94680c17db1aa993f82ffed11973 (patch) | |
tree | f7e89ca1415418d28eecc1454869526b0f0e38c0 /dvbplayer.c | |
parent | 332dc1120baaf4949600f34f50ae9140c2a970ec (diff) | |
download | vdr-1f4f85a82e4e94680c17db1aa993f82ffed11973.tar.gz vdr-1f4f85a82e4e94680c17db1aa993f82ffed11973.tar.bz2 |
Fixed appending sequence end code cDvbPlayer::Goto()
Diffstat (limited to 'dvbplayer.c')
-rw-r--r-- | dvbplayer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dvbplayer.c b/dvbplayer.c index feb82d8e..e160697a 100644 --- a/dvbplayer.c +++ b/dvbplayer.c @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: dvbplayer.c 1.38 2005/08/14 10:52:45 kls Exp $ + * $Id: dvbplayer.c 1.39 2005/08/28 21:14:04 kls Exp $ */ #include "dvbplayer.h" @@ -661,7 +661,7 @@ void cDvbPlayer::Goto(int Index, bool Still) if (playMode == pmPause) DevicePlay(); // append sequence end code to get the image shown immediately with softdevices - if (r > 6) { // should be always true + if (r > 6 && (b[3] & 0xF0) == 0xE0) { // make sure to append it only to a video packet b[r++] = 0x00; b[r++] = 0x00; b[r++] = 0x01; |