Ticket #294: deinterlace.patch

File deinterlace.patch, 380 bytes (added by Fritz, 5 years ago)

patch to clear interlaced_frame flag when using -deinterlace

  • ffmpeg.c

    diff --git a/ffmpeg.c b/ffmpeg.c
    index 0b1b1be..b3977ab 100644
    a b static void pre_process_video_frame(AVInputStream *ist, AVPicture *picture, void 
    10721072            buf = NULL; 
    10731073            picture2 = picture; 
    10741074        } 
     1075        else 
     1076          dec->coded_frame->interlaced_frame = 0; 
    10751077    } else { 
    10761078        picture2 = picture; 
    10771079    }