summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorCarl-Anton Ingmarsson <ca.ingmarsson@gmail.com>2009-06-05 19:08:24 +0200
committerJan Schmidt <thaytan@noraisin.net>2009-06-20 15:21:43 +0100
commitc9464b98604dd6023f5985f4d29e1bb4051d58ee (patch)
tree3c026d8bec6083cb703acaaf9848a787f1deb8c4 /sys
parentb2aa8ae9454cf0b57c98b11c3909759e1968490e (diff)
downloadgst-plugins-bad-c9464b98604dd6023f5985f4d29e1bb4051d58ee.tar.gz
gst-plugins-bad-c9464b98604dd6023f5985f4d29e1bb4051d58ee.tar.bz2
gst-plugins-bad-c9464b98604dd6023f5985f4d29e1bb4051d58ee.zip
vdpaumpegdec: print frame_nr in debug print
Diffstat (limited to 'sys')
-rw-r--r--sys/vdpau/gstvdpmpegdecoder.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/vdpau/gstvdpmpegdecoder.c b/sys/vdpau/gstvdpmpegdecoder.c
index fd06ea3b..04bebb8a 100644
--- a/sys/vdpau/gstvdpmpegdecoder.c
+++ b/sys/vdpau/gstvdpmpegdecoder.c
@@ -308,8 +308,10 @@ gst_vdp_mpeg_decoder_push_video_buffer (GstVdpMpegDecoder * mpeg_dec,
gst_buffer_set_caps (GST_BUFFER (buffer), GST_PAD_CAPS (mpeg_dec->src));
GST_DEBUG_OBJECT (mpeg_dec,
- "Pushing buffer with timestamp: %" GST_TIME_FORMAT,
- GST_TIME_ARGS (GST_BUFFER_TIMESTAMP (buffer)));
+ "Pushing buffer with timestamp: %" GST_TIME_FORMAT
+ " frame_nr: %" G_GINT64_FORMAT,
+ GST_TIME_ARGS (GST_BUFFER_TIMESTAMP (buffer)),
+ GST_BUFFER_OFFSET (buffer));
return gst_pad_push (mpeg_dec->src, GST_BUFFER (buffer));
}