mirror of
https://projects.vdr-developer.org/git/vdr-plugin-softhddevice.git
synced 2023-10-10 19:16:51 +02:00
New video stream never reset, if buffer full.
This commit is contained in:
parent
06fddc206e
commit
34c72d08b3
@ -519,6 +519,7 @@ int PlayVideo(const uint8_t * data, int size)
|
|||||||
Debug(3, "video: new stream %d\n", GetMsTicks() - VideoSwitch);
|
Debug(3, "video: new stream %d\n", GetMsTicks() - VideoSwitch);
|
||||||
// FIXME: hack to test results
|
// FIXME: hack to test results
|
||||||
if (atomic_read(&VideoPacketsFilled) >= VIDEO_PACKET_MAX - 1) {
|
if (atomic_read(&VideoPacketsFilled) >= VIDEO_PACKET_MAX - 1) {
|
||||||
|
NewVideoStream = 0;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
VideoNextPacket(CODEC_ID_NONE);
|
VideoNextPacket(CODEC_ID_NONE);
|
||||||
|
Loading…
Reference in New Issue
Block a user