1
0
mirror of https://github.com/jojo61/vdr-plugin-softhdcuvid.git synced 2023-10-10 13:37:41 +02:00

Fix Radio Plugin Stillpicture

This commit is contained in:
jojo61 2021-12-16 11:37:23 +01:00
parent 1878eaec88
commit 987ff6ba12

View File

@ -2720,7 +2720,7 @@ void StillPicture(const uint8_t * data, int size)
VideoNextPacket(MyVideoStream, MyVideoStream->CodecID); // terminate last packet
} else { // ES packet
if (0 && MyVideoStream->CodecID != AV_CODEC_ID_MPEG2VIDEO) {
if (MyVideoStream->CodecID != AV_CODEC_ID_MPEG2VIDEO) {
VideoNextPacket(MyVideoStream, AV_CODEC_ID_NONE); // close last stream
MyVideoStream->CodecID = AV_CODEC_ID_MPEG2VIDEO;
}