mirror of
https://projects.vdr-developer.org/git/vdr-plugin-softhddevice.git
synced 2023-10-10 19:16:51 +02:00
Fix the fix, when sillpicture is called in suspend.
This commit is contained in:
parent
a1b77b1502
commit
857546a3a5
@ -1,6 +1,7 @@
|
|||||||
User johns
|
User johns
|
||||||
Date:
|
Date:
|
||||||
|
|
||||||
|
Fix the fix, when sillpicture is called in suspend mode.
|
||||||
Fix crash, when sillpicture is called in suspend mode.
|
Fix crash, when sillpicture is called in suspend mode.
|
||||||
Add workaround for zero width+height and ffmpeg >= 1.2.
|
Add workaround for zero width+height and ffmpeg >= 1.2.
|
||||||
|
|
||||||
|
@ -2580,7 +2580,7 @@ void StillPicture(const uint8_t * data, int size)
|
|||||||
int old_video_hardware_decoder;
|
int old_video_hardware_decoder;
|
||||||
|
|
||||||
// might be called in Suspended Mode
|
// might be called in Suspended Mode
|
||||||
if (MyVideoStream->Decoder && MyVideoStream->SkipStream) {
|
if (!MyVideoStream->Decoder || MyVideoStream->SkipStream) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// must be a PES start code
|
// must be a PES start code
|
||||||
|
Loading…
Reference in New Issue
Block a user