vaapipostproc: log negotiated caps

This commit is contained in:
Víctor Manuel Jáquez Leal 2015-05-19 11:24:10 +02:00
parent 700f010766
commit eb510e23ce

View 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;