intervideosink: Add some debug output in the render function

This commit is contained in:
Sebastian Dröge 2014-11-06 17:21:39 +01:00
parent df64862ebe
commit e6b5a271a1

View file

@ -246,6 +246,9 @@ gst_inter_video_sink_render (GstBaseSink * sink, GstBuffer * buffer)
{
GstInterVideoSink *intervideosink = GST_INTER_VIDEO_SINK (sink);
GST_DEBUG_OBJECT (intervideosink, "render ts %" GST_TIME_FORMAT,
GST_TIME_ARGS (GST_BUFFER_PTS (buffer)));
g_mutex_lock (&intervideosink->surface->mutex);
if (intervideosink->surface->video_buffer) {
gst_buffer_unref (intervideosink->surface->video_buffer);