gst-libs/gst/audio/gstbaseaudiosrc.c: GstBaseAudioSrc must be live or it does not work.

Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosrc.c: (gst_base_audio_src_init),
(gst_base_audio_src_get_time), (gst_base_audio_src_create):
GstBaseAudioSrc must be live or it does not work.
* gst-libs/gst/audio/gstaudiosrc.c: (gst_audio_src_init):
Don't set live to TRUE as this is the default in the parentclass.
This commit is contained in:
Wim Taymans 2006-04-28 14:37:46 +00:00
parent 9a72430e3c
commit c068425b38
3 changed files with 10 additions and 1 deletions

View file

@ -1,3 +1,12 @@
2006-04-28 Wim Taymans <wim@fluendo.com>
* gst-libs/gst/audio/gstbaseaudiosrc.c: (gst_base_audio_src_init),
(gst_base_audio_src_get_time), (gst_base_audio_src_create):
GstBaseAudioSrc must be live or it does not work.
* gst-libs/gst/audio/gstaudiosrc.c: (gst_audio_src_init):
Don't set live to TRUE as this is the default in the parentclass.
2006-04-28 Wim Taymans <wim@fluendo.com> 2006-04-28 Wim Taymans <wim@fluendo.com>
* gst/videoscale/gstvideoscale.c: (gst_video_scale_transform_caps), * gst/videoscale/gstvideoscale.c: (gst_video_scale_transform_caps),

View file

@ -465,7 +465,6 @@ gst_audio_src_class_init (GstAudioSrcClass * klass)
static void static void
gst_audio_src_init (GstAudioSrc * audiosrc, GstAudioSrcClass * g_class) gst_audio_src_init (GstAudioSrc * audiosrc, GstAudioSrcClass * g_class)
{ {
gst_base_src_set_live (GST_BASE_SRC (audiosrc), TRUE);
} }
static GstRingBuffer * static GstRingBuffer *

View file

@ -139,6 +139,7 @@ gst_base_audio_src_init (GstBaseAudioSrc * baseaudiosrc,
gst_pad_set_fixatecaps_function (GST_BASE_SRC_PAD (baseaudiosrc), gst_pad_set_fixatecaps_function (GST_BASE_SRC_PAD (baseaudiosrc),
gst_base_audio_src_fixate); gst_base_audio_src_fixate);
gst_base_src_set_live (GST_BASE_SRC (baseaudiosrc), TRUE);
gst_base_src_set_format (GST_BASE_SRC (baseaudiosrc), GST_FORMAT_TIME); gst_base_src_set_format (GST_BASE_SRC (baseaudiosrc), GST_FORMAT_TIME);
} }