mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
ext/ogg/gstoggmux.c: Do not leak oggmux instance.
Original commit message from CVS: * ext/ogg/gstoggmux.c: Do not leak oggmux instance. * ext/vorbis/vorbisenc.c: Also log values.
This commit is contained in:
parent
f6be63b93b
commit
87d96c656a
3 changed files with 15 additions and 2 deletions
|
@ -1,3 +1,11 @@
|
|||
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:
|
||||
|
|
|
@ -466,6 +466,8 @@ gst_ogg_mux_release_pad (GstElement * element, GstPad * pad)
|
|||
|
||||
gst_collect_pads_remove_pad (ogg_mux->collect, pad);
|
||||
gst_element_remove_pad (element, pad);
|
||||
|
||||
gst_object_unref (ogg_mux);
|
||||
}
|
||||
|
||||
/* handle events */
|
||||
|
|
|
@ -1118,7 +1118,10 @@ gst_vorbis_enc_chain (GstPad * pad, GstBuffer * buffer)
|
|||
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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue