summaryrefslogtreecommitdiffstats
path: root/gst/qtdemux/qtdemux.c
diff options
context:
space:
mode:
authorRonald S. Bultje <rbultje@ronald.bitfreak.net>2005-08-10 09:33:58 +0000
committerRonald S. Bultje <rbultje@ronald.bitfreak.net>2005-08-10 09:33:58 +0000
commit0ea3b5b95381e91375202fc90834c3e3709b2970 (patch)
treebcc2e8c37573ae5e7d272ceb2919c3fef186b22e /gst/qtdemux/qtdemux.c
parenta48b14eb37502478be18ff722a7faa74b075b962 (diff)
downloadgst-plugins-bad-0ea3b5b95381e91375202fc90834c3e3709b2970.tar.gz
gst-plugins-bad-0ea3b5b95381e91375202fc90834c3e3709b2970.tar.bz2
gst-plugins-bad-0ea3b5b95381e91375202fc90834c3e3709b2970.zip
ext/faad/gstfaad.c: Add debug category, remove Close() call that made it crash whenever reusing, renegotiating or any...
Original commit message from CVS: * ext/faad/gstfaad.c: (gst_faad_class_init), (gst_faad_setcaps): Add debug category, remove Close() call that made it crash whenever reusing, renegotiating or anything; Close() actually free()s the handle and should only be called on READY->NULL. * gst/qtdemux/qtdemux.c: (gst_qtdemux_loop_header): Actually set caps on buffer (in addition to pad), also.
Diffstat (limited to 'gst/qtdemux/qtdemux.c')
-rw-r--r--gst/qtdemux/qtdemux.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gst/qtdemux/qtdemux.c b/gst/qtdemux/qtdemux.c
index 32d31ddc..7a31f89e 100644
--- a/gst/qtdemux/qtdemux.c
+++ b/gst/qtdemux/qtdemux.c
@@ -678,8 +678,9 @@ gst_qtdemux_loop_header (GstPad * pad)
/* ? */
qtdemux->need_flush = FALSE;
}
- GST_DEBUG ("Pushing buf with time=%" GST_TIME_FORMAT "\n",
+ GST_DEBUG ("Pushing buf with time=%" GST_TIME_FORMAT,
GST_TIME_ARGS (GST_BUFFER_TIMESTAMP (buf)));
+ gst_buffer_set_caps (buf, stream->caps);
gst_pad_push (stream->pad, buf);
GST_INFO ("pushing buffer on %" GST_PTR_FORMAT, stream->pad);