omx: Minor changes on debuging info
authorJosep Torra <n770galaxy@gmail.com>
Sat, 9 Mar 2013 12:07:59 +0000 (13:07 +0100)
committerJosep Torra <n770galaxy@gmail.com>
Sat, 9 Mar 2013 12:24:30 +0000 (13:24 +0100)
omx/gstomxvideodec.c

index a2f9143..1279ba1 100644 (file)
@@ -1021,7 +1021,9 @@ gst_omx_video_dec_fill_buffer (GstOMXVideoDec * self,
 
   if (vinfo->width != port_def->format.video.nFrameWidth ||
       vinfo->height != port_def->format.video.nFrameHeight) {
-    GST_ERROR_OBJECT (self, "Width or height do not match");
+    GST_ERROR_OBJECT (self, "Resolution do not match. port: %dx%d vinfo: %dx%d",
+        port_def->format.video.nFrameWidth, port_def->format.video.nFrameHeight,
+        vinfo->width, vinfo->height);
     goto done;
   }