vaapipostproc: log negotiated caps
authorVíctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
Tue, 19 May 2015 09:24:10 +0000 (11:24 +0200)
committerVíctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
Mon, 22 Jun 2015 15:15:50 +0000 (17:15 +0200)
gst/vaapi/gstvaapipostproc.c

index 16e0a26..40d9466 100644 (file)
@@ -876,6 +876,8 @@ gst_vaapipostproc_update_sink_caps (GstVaapiPostproc * postproc, GstCaps * caps,
   GstVideoInfo vi;
   gboolean deinterlace;
 
+  GST_INFO_OBJECT (postproc, "new sink caps = %" GST_PTR_FORMAT, caps);
+
   if (!gst_video_info_from_caps (&vi, caps))
     return FALSE;
 
@@ -899,6 +901,8 @@ gst_vaapipostproc_update_src_caps (GstVaapiPostproc * postproc, GstCaps * caps,
 {
   GstVideoInfo vi;
 
+  GST_INFO_OBJECT (postproc, "new src caps = %" GST_PTR_FORMAT, caps);
+
   if (!gst_video_info_from_caps (&vi, caps))
     return FALSE;