mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
vdpau: fixup some debug prints
This commit is contained in:
parent
ecaf3b85f1
commit
f3ce431efc
1 changed files with 2 additions and 3 deletions
|
@ -175,6 +175,7 @@ gst_vdp_video_yuv_transform (GstBaseTransform * trans, GstBuffer * inbuf,
|
|||
stride[2] = gst_video_format_get_row_stride (GST_VIDEO_FORMAT_YV12,
|
||||
1, video_yuv->width);
|
||||
|
||||
GST_LOG_OBJECT (video_yuv, "Entering vdp_video_surface_get_bits_ycbcr");
|
||||
status =
|
||||
device->vdp_video_surface_get_bits_ycbcr (surface,
|
||||
VDP_YCBCR_FORMAT_YV12, (void *) data, stride);
|
||||
|
@ -212,6 +213,7 @@ gst_vdp_video_yuv_transform (GstBaseTransform * trans, GstBuffer * inbuf,
|
|||
stride[2] = gst_video_format_get_row_stride (GST_VIDEO_FORMAT_I420,
|
||||
1, video_yuv->width);
|
||||
|
||||
GST_LOG_OBJECT (video_yuv, "Entering vdp_video_surface_get_bits_ycbcr");
|
||||
status =
|
||||
device->vdp_video_surface_get_bits_ycbcr (surface,
|
||||
VDP_YCBCR_FORMAT_YV12, (void *) data, stride);
|
||||
|
@ -232,8 +234,6 @@ gst_vdp_video_yuv_transform (GstBaseTransform * trans, GstBuffer * inbuf,
|
|||
guint8 *data[2];
|
||||
guint32 stride[2];
|
||||
|
||||
GST_LOG_OBJECT (video_yuv, "Entering buffer_alloc");
|
||||
|
||||
data[0] = GST_BUFFER_DATA (outbuf);
|
||||
data[1] = GST_BUFFER_DATA (outbuf) + video_yuv->width * video_yuv->height;
|
||||
|
||||
|
@ -256,7 +256,6 @@ gst_vdp_video_yuv_transform (GstBaseTransform * trans, GstBuffer * inbuf,
|
|||
break;
|
||||
}
|
||||
default:
|
||||
GST_WARNING ("WTF!!!");
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue