mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-29 18:48:44 +00:00
debug changes
Original commit message from CVS: debug changes
This commit is contained in:
parent
17c1c603f9
commit
9f47e5b258
2 changed files with 7 additions and 5 deletions
|
@ -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 *
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue