mirror of
https://github.com/jojo61/vdr-plugin-softhdcuvid.git
synced 2023-10-10 13:37:41 +02:00
make Fatal when YADIF fails
This commit is contained in:
parent
71fb080fe4
commit
de7311d233
5
codec.c
5
codec.c
@ -511,12 +511,13 @@ next_part:
|
||||
if (decoder->filter ) {
|
||||
if (decoder->filter == 1) {
|
||||
if (init_filters(video_ctx,decoder->HwDecoder,frame) < 0) {
|
||||
Error(_("video: Init of YADIF Filter failed\n"));
|
||||
Fatal(_("video: Init of YADIF Filter failed\n"));
|
||||
decoder->filter = 0;
|
||||
}
|
||||
else {
|
||||
Debug(3,"Init YADIF ok\n");
|
||||
decoder->filter = 2;
|
||||
}
|
||||
decoder->filter = 2;
|
||||
}
|
||||
if (frame->interlaced_frame && decoder->filter == 2 && (frame->height != 720)) { // broken ZDF sends Interlaced flag
|
||||
ret = push_filters(video_ctx,decoder->HwDecoder,frame);
|
||||
|
Loading…
Reference in New Issue
Block a user