print error when deinterlacing fails
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>
Thu, 4 Sep 2008 21:48:46 +0000 (21:48 +0000)
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>
Thu, 4 Sep 2008 21:48:46 +0000 (21:48 +0000)
Originally committed as revision 15201 to svn://svn.ffmpeg.org/ffmpeg/trunk

ffmpeg.c

index 76d157f1a38de8fbd0fc996529084eb8093d3847..d14ba469879e5b188cc0cc4eab0a54bf83928c3e 100644 (file)
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -730,6 +730,7 @@ static void pre_process_video_frame(AVInputStream *ist, AVPicture *picture, void
             if(avpicture_deinterlace(picture2, picture,
                                      dec->pix_fmt, dec->width, dec->height) < 0) {
                 /* if error, do not deinterlace */
+                fprintf(stderr, "Deinterlacing failed\n");
                 av_free(buf);
                 buf = NULL;
                 picture2 = picture;