gst/audioconvert/gstaudioconvert.c (gst_audio_convert_fixate): No refcount leakage.

Original commit message from CVS:
2005-07-04  Andy Wingo  <wingo@pobox.com>

* gst/audioconvert/gstaudioconvert.c (gst_audio_convert_fixate):
No refcount leakage.
This commit is contained in:
Andy Wingo 2005-07-04 10:40:17 +00:00
parent 1f40231de5
commit 3a7f5a2e06
2 changed files with 4 additions and 1 deletions

View file

@ -1,5 +1,8 @@
2005-07-04 Andy Wingo <wingo@pobox.com>
* gst/audioconvert/gstaudioconvert.c (gst_audio_convert_fixate):
No refcount leakage.
* configure.ac: Enable -Werror.
* ext/theora/theoradec.c (theora_dec_src_getcaps):

View file

@ -513,7 +513,7 @@ gst_audio_convert_fixate (GstPad * pad, GstCaps * caps)
GstAudioConvert *this;
GstAudioConvertCaps try, ac_caps;
this = GST_AUDIO_CONVERT (gst_pad_get_parent (pad));
this = GST_AUDIO_CONVERT (GST_PAD_PARENT (pad));
otherpad = (pad == this->sink ? this->src : this->sink);
ac_caps = (pad == this->sink ? this->srccaps : this->sinkcaps);