gst/real/gstrealaudiodec.c: Don't call the RAFreeDecoder since it randomly causes segfaults.
Original commit message from CVS: * gst/real/gstrealaudiodec.c: (gst_real_audio_dec_finalize): Don't call the RAFreeDecoder since it randomly causes segfaults. * gst/real/gstrealaudiodec.h: indent properly.
This commit is contained in:
parent
30d26643a6
commit
e049792b5d
@ -1,3 +1,10 @@
|
|||||||
|
2007-01-06 Edward Hervey <edward@fluendo.com>
|
||||||
|
|
||||||
|
* gst/real/gstrealaudiodec.c: (gst_real_audio_dec_finalize):
|
||||||
|
Don't call the RAFreeDecoder since it randomly causes segfaults.
|
||||||
|
* gst/real/gstrealaudiodec.h:
|
||||||
|
indent properly.
|
||||||
|
|
||||||
2007-01-06 Edward Hervey <edward@fluendo.com>
|
2007-01-06 Edward Hervey <edward@fluendo.com>
|
||||||
|
|
||||||
Patch by: Lutz Mueller <lutz@topfrose.de>
|
Patch by: Lutz Mueller <lutz@topfrose.de>
|
||||||
|
@ -362,7 +362,11 @@ gst_real_audio_dec_finalize (GObject * object)
|
|||||||
|
|
||||||
if (dec->context) {
|
if (dec->context) {
|
||||||
dec->funcs.RACloseCodec (dec->context);
|
dec->funcs.RACloseCodec (dec->context);
|
||||||
dec->funcs.RAFreeDecoder (dec->context);
|
/* Calling RAFreeDecoder seems to randomly cause SEGFAULTs.
|
||||||
|
* All other implementation (xine, mplayer) have also got this function call
|
||||||
|
* commented. So until we know more, we comment it too. */
|
||||||
|
|
||||||
|
/* dec->funcs.RAFreeDecoder (dec->context); */
|
||||||
dec->context = NULL;
|
dec->context = NULL;
|
||||||
}
|
}
|
||||||
if (dec->handle) {
|
if (dec->handle) {
|
||||||
|
@ -25,7 +25,6 @@
|
|||||||
#include <gst/audio/audio.h>
|
#include <gst/audio/audio.h>
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
#define GST_TYPE_REAL_AUDIO_DEC (gst_real_audio_dec_get_type())
|
#define GST_TYPE_REAL_AUDIO_DEC (gst_real_audio_dec_get_type())
|
||||||
#define GST_REAL_AUDIO_DEC(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_REAL_AUDIO_DEC,GstRealAudioDec))
|
#define GST_REAL_AUDIO_DEC(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_REAL_AUDIO_DEC,GstRealAudioDec))
|
||||||
#define GST_REAL_AUDIO_DEC_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_REAL_AUDIO_DEC,GstRealAudioDecClass))
|
#define GST_REAL_AUDIO_DEC_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_REAL_AUDIO_DEC,GstRealAudioDecClass))
|
||||||
@ -33,8 +32,9 @@ G_BEGIN_DECLS
|
|||||||
typedef struct _GstRealAudioDec GstRealAudioDec;
|
typedef struct _GstRealAudioDec GstRealAudioDec;
|
||||||
typedef struct _GstRealAudioDecClass GstRealAudioDecClass;
|
typedef struct _GstRealAudioDecClass GstRealAudioDecClass;
|
||||||
|
|
||||||
GType gst_real_audio_dec_get_type (void) G_GNUC_CONST;
|
GType
|
||||||
|
gst_real_audio_dec_get_type (void)
|
||||||
|
G_GNUC_CONST;
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
#endif /* __GST_REAL_AUDIO_DEC_H__ */
|
#endif /* __GST_REAL_AUDIO_DEC_H__ */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user