Commit c068425b authored by Wim Taymans's avatar Wim Taymans
Browse files

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.
parent 9a72430e
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),
......
...@@ -465,7 +465,6 @@ gst_audio_src_class_init (GstAudioSrcClass * klass) ...@@ -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 *
......
...@@ -139,6 +139,7 @@ gst_base_audio_src_init (GstBaseAudioSrc * baseaudiosrc, ...@@ -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);
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment