From: Ronald S. Bultje Date: Wed, 10 Aug 2005 09:33:58 +0000 (+0000) Subject: ext/faad/gstfaad.c: Add debug category, remove Close() call that made it crash whenev... X-Git-Tag: 1.19.3~509^2~13549 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1d185d4127c0b46c05ed8707413215569e60a602;p=platform%2Fupstream%2Fgstreamer.git 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. --- diff --git a/ChangeLog b/ChangeLog index 73765bf..e16ac96 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2005-08-10 Ronald S. Bultje + + * 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. + 2005-08-10 Owen Fraser-Green * gst/realmedia/rmdemux.c (gst_rmdemux_sink_activate) diff --git a/gst/qtdemux/qtdemux.c b/gst/qtdemux/qtdemux.c index 32d31dd..7a31f89 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);