aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2008-09-04 21:48:46 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2008-09-04 21:48:46 +0000
commit6b682df2337eeec0fceafc1a54b8c7d1804d03cf (patch)
tree03eb83db7b39fa0fdfafb6c0f3a537af70cbc03f
parent14623020276eb536e66a29fbda2e36f405d4122b (diff)
downloadffmpeg-6b682df2337eeec0fceafc1a54b8c7d1804d03cf.tar.gz
print error when deinterlacing fails
Originally committed as revision 15201 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--ffmpeg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 76d157f1a3..d14ba46987 100644
--- 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;