diff options
author | Thomas Vander Stichele <thomas@apestaart.org> | 2004-06-16 09:54:18 +0000 |
---|---|---|
committer | Thomas Vander Stichele <thomas@apestaart.org> | 2004-06-16 09:54:18 +0000 |
commit | 9f47e5b258f5af9e0c4da145bf764ec64c273f10 (patch) | |
tree | dedc97a01dbed3159d68cf6892baf5c712c22a75 | |
parent | 17c1c603f9606e981b0e7913506d9ce253efcf80 (diff) |
debug changes
Original commit message from CVS:
debug changes
-rw-r--r-- | ext/ogg/gstoggmux.c | 11 | ||||
-rw-r--r-- | ext/vorbis/vorbisenc.c | 1 |
2 files changed, 7 insertions, 5 deletions
diff --git a/ext/ogg/gstoggmux.c b/ext/ogg/gstoggmux.c index c3e2ab018..a147160a2 100644 --- a/ext/ogg/gstoggmux.c +++ b/ext/ogg/gstoggmux.c @@ -271,7 +271,8 @@ gst_ogg_mux_sinkconnect (GstPad * pad, const GstCaps * vscaps) ogg_mux = GST_OGG_MUX (gst_pad_get_parent (pad)); - GST_DEBUG ("ogg_mux: sinkconnect triggered on %s", gst_pad_get_name (pad)); + GST_DEBUG_OBJECT (ogg_mux, "sinkconnect triggered on %s", + gst_pad_get_name (pad)); structure = gst_caps_get_structure (vscaps, 0); mimetype = gst_structure_get_name (structure); @@ -282,19 +283,19 @@ gst_ogg_mux_sinkconnect (GstPad * pad, const GstCaps * vscaps) static void gst_ogg_mux_pad_link (GstPad * pad, GstPad * peer, gpointer data) { - //GstOggMux *ogg_mux = GST_OGG_MUX (data); + GstOggMux *ogg_mux = ogg_mux = GST_OGG_MUX (gst_pad_get_parent (pad)); const gchar *padname = gst_pad_get_name (pad); - GST_DEBUG ("pad '%s' connected", padname); + GST_DEBUG_OBJECT (ogg_mux, "pad '%s' connected", padname); } static void gst_ogg_mux_pad_unlink (GstPad * pad, GstPad * peer, gpointer data) { - //GstOggMux *ogg_mux = GST_OGG_MUX (data); + GstOggMux *ogg_mux = ogg_mux = GST_OGG_MUX (gst_pad_get_parent (pad)); const gchar *padname = gst_pad_get_name (pad); - GST_DEBUG ("pad '%s' unlinked", padname); + GST_DEBUG_OBJECT (ogg_mux, "pad '%s' unlinked", padname); } static GstPad * diff --git a/ext/vorbis/vorbisenc.c b/ext/vorbis/vorbisenc.c index b660e1e6d..3a2539f7c 100644 --- a/ext/vorbis/vorbisenc.c +++ b/ext/vorbis/vorbisenc.c @@ -729,6 +729,7 @@ gst_vorbisenc_push_packet (VorbisEnc * vorbisenc, ogg_packet * packet) outbuf = gst_vorbisenc_buffer_from_packet (vorbisenc, packet); gst_vorbisenc_push_buffer (vorbisenc, outbuf); } + static void gst_vorbisenc_set_header_on_caps (GstCaps * caps, GstBuffer * buf1, GstBuffer * buf2, GstBuffer * buf3) |