gst/dvdlpcmdec/gstdvdlpcmdec.c: Add other allowed rates to the pad templates.

Original commit message from CVS:
* gst/dvdlpcmdec/gstdvdlpcmdec.c:
Add other allowed rates to the pad templates.
* gst/mpegaudioparse/gstmpegaudioparse.c: (gst_mp3parse_dispose):
Reset the parser to release memory in dispose.
This commit is contained in:
Jan Schmidt 2007-08-24 15:55:03 +00:00
parent 867ce5c3a6
commit cf06fbf1b7
4 changed files with 13 additions and 3 deletions

View file

@ -1,3 +1,11 @@
2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
* gst/dvdlpcmdec/gstdvdlpcmdec.c:
Add other allowed rates to the pad templates.
* gst/mpegaudioparse/gstmpegaudioparse.c: (gst_mp3parse_dispose):
Reset the parser to release memory in dispose.
2007-08-17 Stefan Kost <ensonic@users.sf.net> 2007-08-17 Stefan Kost <ensonic@users.sf.net>
* ext/amrnb/amrnbdec.c: * ext/amrnb/amrnbdec.c:

2
common

@ -1 +1 @@
Subproject commit b3fe2a25c1cd0f4b021795d0db7330aeb338da7c Subproject commit cd25ca736bc2446800de2180ad71fc1da858d324

View file

@ -44,7 +44,7 @@ static GstStaticPadTemplate gst_dvdlpcmdec_sink_template =
GST_STATIC_CAPS ("audio/x-private1-lpcm; " GST_STATIC_CAPS ("audio/x-private1-lpcm; "
"audio/x-lpcm, " "audio/x-lpcm, "
"width = (int) { 16, 20, 24 }, " "width = (int) { 16, 20, 24 }, "
"rate = (int) { 48000, 96000 }, " "rate = (int) { 32000, 44100, 48000, 96000 }, "
"channels = (int) [ 1, 8 ], " "channels = (int) [ 1, 8 ], "
"dynamic_range = (int) [ 0, 255 ], " "dynamic_range = (int) [ 0, 255 ], "
"emphasis = (boolean) { TRUE, FALSE }, " "emphasis = (boolean) { TRUE, FALSE }, "
@ -57,7 +57,7 @@ GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_ALWAYS, GST_PAD_ALWAYS,
GST_STATIC_CAPS ("audio/x-raw-int, " GST_STATIC_CAPS ("audio/x-raw-int, "
"width = (int) { 16, 24 }, " "width = (int) { 16, 24 }, "
"rate = (int) { 48000, 96000 }, " "rate = (int) { 32000, 44100, 48000, 96000 }, "
"channels = (int) [ 1, 8 ], " "channels = (int) [ 1, 8 ], "
"endianness = (int) { BIG_ENDIAN }, " "endianness = (int) { BIG_ENDIAN }, "
"depth = (int) { 16, 24 }, " "signed = (boolean) { true }") "depth = (int) { 16, 24 }, " "signed = (boolean) { true }")

View file

@ -309,6 +309,8 @@ gst_mp3parse_dispose (GObject * object)
{ {
GstMPEGAudioParse *mp3parse = GST_MP3PARSE (object); GstMPEGAudioParse *mp3parse = GST_MP3PARSE (object);
gst_mp3parse_reset (mp3parse);
if (mp3parse->adapter) { if (mp3parse->adapter) {
g_object_unref (mp3parse->adapter); g_object_unref (mp3parse->adapter);
mp3parse->adapter = NULL; mp3parse->adapter = NULL;