From 34c72d08b3304236d16b554fc1f3180267df42a6 Mon Sep 17 00:00:00 2001 From: Johns Date: Fri, 23 Dec 2011 20:20:55 +0100 Subject: [PATCH] New video stream never reset, if buffer full. --- softhddev.c | 1 + 1 file changed, 1 insertion(+) 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);