diff options
author | Johns <johns98@gmx.net> | 2011-12-23 20:20:55 +0100 |
---|---|---|
committer | Johns <johns98@gmx.net> | 2011-12-23 20:20:55 +0100 |
commit | 34c72d08b3304236d16b554fc1f3180267df42a6 (patch) | |
tree | 4b17685bc5f461f9d2637ae368f6c8589b6c82aa /softhddev.c | |
parent | 06fddc206e5fec17bd59f4e8005e44bde957f8cc (diff) | |
download | vdr-plugin-softhddevice-34c72d08b3304236d16b554fc1f3180267df42a6.tar.gz vdr-plugin-softhddevice-34c72d08b3304236d16b554fc1f3180267df42a6.tar.bz2 |
New video stream never reset, if buffer full.
Diffstat (limited to 'softhddev.c')
-rw-r--r-- | softhddev.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/softhddev.c b/softhddev.c index b3e89ed..60e4853 100644 --- a/softhddev.c +++ b/softhddev.c @@ -519,6 +519,7 @@ int PlayVideo(const uint8_t * data, int size) Debug(3, "video: new stream %d\n", GetMsTicks() - VideoSwitch); // FIXME: hack to test results if (atomic_read(&VideoPacketsFilled) >= VIDEO_PACKET_MAX - 1) { + NewVideoStream = 0; return 0; } VideoNextPacket(CODEC_ID_NONE); |