summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVíctor Manuel Jáquez Leal <victorx.jaquez@intel.com>2015-05-19 11:24:10 +0200
committerVíctor Manuel Jáquez Leal <victorx.jaquez@intel.com>2015-06-22 17:15:50 +0200
commiteb510e23cecd02ffc9c3906807487fa1d156e627 (patch)
treefd9532247c637ce447e3a1418f7a71326a00e148
parent700f01076654c526a0b8e835ab10aba82c55f7ba (diff)
downloadgst-vaapi-eb510e23cecd02ffc9c3906807487fa1d156e627.tar.gz
vaapipostproc: log negotiated caps
-rw-r--r--gst/vaapi/gstvaapipostproc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gst/vaapi/gstvaapipostproc.c b/gst/vaapi/gstvaapipostproc.c
index 16e0a260..40d9466d 100644
--- a/gst/vaapi/gstvaapipostproc.c
+++ b/gst/vaapi/gstvaapipostproc.c
@@ -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;