summaryrefslogtreecommitdiffstats
path: root/ext/dv/gstdvdec.c
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2005-11-30 19:02:35 +0000
committerWim Taymans <wim.taymans@gmail.com>2005-11-30 19:02:35 +0000
commit0b3776c0b80196d747c351ebf3e165434a38a22b (patch)
treedfe1c797f0b80eea288ee9b1024bc3d3b6a84401 /ext/dv/gstdvdec.c
parentabe61f0d33796594721b58c9e6eb6f333a958b12 (diff)
ext/dv/: Fix seeking in dvdemux again, add some more debug info.
Original commit message from CVS: * ext/dv/gstdvdec.c: (gst_dvdec_chain): * ext/dv/gstdvdemux.c: (gst_dvdemux_demux_frame): * ext/dv/gstdvdemux.h: Fix seeking in dvdemux again, add some more debug info.
Diffstat (limited to 'ext/dv/gstdvdec.c')
-rw-r--r--ext/dv/gstdvdec.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/dv/gstdvdec.c b/ext/dv/gstdvdec.c
index 917fa716..32b75aff 100644
--- a/ext/dv/gstdvdec.c
+++ b/ext/dv/gstdvdec.c
@@ -293,6 +293,7 @@ gst_dvdec_chain (GstPad * pad, GstBuffer * buf)
outframe_pitches[2] = outframe_pitches[1];
}
+ GST_DEBUG_OBJECT (dvdec, "decoding and pushing buffer");
dv_decode_full_frame (dvdec->decoder, inframe,
e_dv_color_yuv, outframe_ptrs, outframe_pitches);
@@ -310,6 +311,7 @@ skip:
/* ERRORS */
no_buffer:
{
+ GST_DEBUG_OBJECT (dvdec, "could not allocate buffer");
gst_buffer_unref (buf);
gst_object_unref (dvdec);
return ret;