diff libmpcodecs/vd_ffmpeg.c @ 36140:6a13cab4e830

Add more information to error message.
author reimar
date Sun, 05 May 2013 07:27:29 +0000
parents b14ea6320969
children e9f52175df86
line wrap: on
line diff
--- a/libmpcodecs/vd_ffmpeg.c	Sat May 04 21:55:52 2013 +0000
+++ b/libmpcodecs/vd_ffmpeg.c	Sun May 05 07:27:29 2013 +0000
@@ -942,7 +942,8 @@
 
     if (mpi->w != pic->width || mpi->h != pic->height ||
         pic->width != avctx->width || pic->height != avctx->height) {
-        mp_msg(MSGT_DECVIDEO, MSGL_ERR, "Dropping frame with size not matching configured size\n");
+        mp_msg(MSGT_DECVIDEO, MSGL_ERR, "Dropping frame with size not matching configured size (%ix%i vs %ix%i vs %ix%i)\n",
+               mpi->w, mpi->h, pic->width, pic->height, avctx->width, avctx->height);
         return NULL;
     }