+2007-08-09 Stefan Kost <ensonic@users.sf.net>
+
+ * ext/ogg/gstoggmux.c:
+ Do not leak oggmux instance.
+
+ * ext/vorbis/vorbisenc.c:
+ Also log values.
+
2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
* po/hu.po:
gst_collect_pads_remove_pad (ogg_mux->collect, pad);
gst_element_remove_pad (element, pad);
+
+ gst_object_unref (ogg_mux);
}
/* handle events */
static GstCaps *
raw_caps_factory (void)
{
- /* lowest, highest sample rates come from vorbis/lib/modes/setup_X.h:
+ /* lowest, highest sample rates come from vorbis/lib/modes/setup_X.h:
* 1-200000 Hz */
return
gst_caps_new_simple ("audio/x-raw-float",
if (vorbisenc->expected_ts != GST_CLOCK_TIME_NONE &&
GST_BUFFER_TIMESTAMP (buffer) < vorbisenc->expected_ts) {
GST_WARNING_OBJECT (vorbisenc, "Buffer is older than previous "
- "timestamp + duration, cannot handle. Dropping buffer.");
+ "timestamp + duration (%" GST_TIME_FORMAT "< %" GST_TIME_FORMAT
+ "), cannot handle. Dropping buffer.",
+ GST_TIME_ARGS (GST_BUFFER_TIMESTAMP (buffer)),
+ GST_TIME_ARGS (vorbisenc->expected_ts));
gst_buffer_unref (buffer);
return GST_FLOW_OK;
}