diff options
author | Jan Schmidt <thaytan@noraisin.net> | 2009-06-19 21:20:26 +0100 |
---|---|---|
committer | Jan Schmidt <thaytan@noraisin.net> | 2009-06-20 15:21:47 +0100 |
commit | deb03ee2ca1b50cc7d5010625def11b057d693cf (patch) | |
tree | 5125b66ea6c90c1fa1cf2c5230404669a42697a4 /sys/vdpau/gstvdpmpegdec.c | |
parent | 8c89eb9a5be9307867c836f9072ecaf0cdee2e42 (diff) | |
download | gst-plugins-bad-deb03ee2ca1b50cc7d5010625def11b057d693cf.tar.gz gst-plugins-bad-deb03ee2ca1b50cc7d5010625def11b057d693cf.tar.bz2 gst-plugins-bad-deb03ee2ca1b50cc7d5010625def11b057d693cf.zip |
VDPAU: Add some debug statements
Diffstat (limited to 'sys/vdpau/gstvdpmpegdec.c')
-rw-r--r-- | sys/vdpau/gstvdpmpegdec.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/vdpau/gstvdpmpegdec.c b/sys/vdpau/gstvdpmpegdec.c index 872348c6..674146c4 100644 --- a/sys/vdpau/gstvdpmpegdec.c +++ b/sys/vdpau/gstvdpmpegdec.c @@ -194,6 +194,9 @@ gst_vdp_mpeg_dec_set_caps (GstPad * pad, GstCaps * caps) "pixel-aspect-ratio", GST_TYPE_FRACTION, par_n, par_d, "interlaced", G_TYPE_BOOLEAN, interlaced, NULL); + GST_DEBUG_OBJECT (mpeg_dec, "Setting source caps to %" GST_PTR_FORMAT, + src_caps); + res = gst_pad_set_caps (mpeg_dec->src, src_caps); gst_caps_unref (src_caps); if (!res) @@ -968,6 +971,11 @@ gst_vdp_mpeg_dec_sink_event (GstPad * pad, GstEvent * event) } g_mutex_unlock (mpeg_dec->mutex); + GST_DEBUG_OBJECT (mpeg_dec, + "Pushing new segment update %d format %d start %" + GST_TIME_FORMAT " stop %" GST_TIME_FORMAT " position %" + GST_TIME_FORMAT, update, format, GST_TIME_ARGS (start), + GST_TIME_ARGS (stop), GST_TIME_ARGS (position)); convert_error: res = gst_pad_push_event (mpeg_dec->src, event); |