A commit of pending (small) changes...

Original commit message from CVS:
A commit of pending (small) changes...
This commit is contained in:
Wim Taymans 2001-04-27 19:35:54 +00:00
parent f7784bdb6f
commit f4e002ad63
13 changed files with 89 additions and 87 deletions

View file

@ -9,7 +9,6 @@ GtkObject
GstFakeSrc
GstFakeSink
GstDiskSrc
GstDiskSink
GstHttpSrc
GstFdSrc
GstSineSrc

View file

@ -61,9 +61,9 @@ The maximum number of cothreads we are going to support.
@argv:
@flags:
@sp:
@jmp:
@top_sp:
@pc:
@jmp:
<!-- ##### STRUCT cothread_context ##### -->
<para>

View file

@ -221,10 +221,10 @@ used when data in a stream has been skipped
@offset:
@timestamp:
@maxage:
@metas:
@parent:
@pool:
@pool_private:
@free:
<!-- ##### FUNCTION gst_buffer_new ##### -->
<para>
@ -306,39 +306,3 @@ used when data in a stream has been skipped
@buffer:
<!-- ##### FUNCTION gst_buffer_add_meta ##### -->
<para>
</para>
@buffer:
@meta:
<!-- ##### FUNCTION gst_buffer_get_first_meta ##### -->
<para>
</para>
@buffer:
@Returns:
<!-- ##### FUNCTION gst_buffer_get_metas ##### -->
<para>
</para>
@buffer:
@Returns:
<!-- ##### FUNCTION gst_buffer_remove_meta ##### -->
<para>
</para>
@buffer:
@meta:

View file

@ -22,15 +22,3 @@ The disksink write to a file. The filename can be given as an argument.
@GST_DISKSINK_OPEN:
@GST_DISKSINK_FLAG_LAST:
<!-- ##### SIGNAL GstDiskSink::handoff ##### -->
<para>
Is emited after the buffer has been written to the disk.
</para>
@gstdisksink: the object which received the signal.
<!-- ##### ARG GstDiskSink:location ##### -->
<para>
The filename to write to.
</para>

View file

@ -267,24 +267,6 @@ circumstances.
@Returns:
<!-- ##### FUNCTION gst_element_set_manager ##### -->
<para>
</para>
@element:
@manager:
<!-- ##### FUNCTION gst_element_get_manager ##### -->
<para>
</para>
@element:
@Returns:
<!-- ##### FUNCTION gst_element_set_parent ##### -->
<para>

View file

@ -46,3 +46,8 @@ The <classname>GstFakeSrc</classname> generates empty buffers. (fakesrc)
</para>
<!-- ##### ARG GstFakeSrc:eos ##### -->
<para>
</para>

View file

@ -726,6 +726,7 @@ Get the type of the region that is being pulled.
@regiontype:
@offset:
@len:
@sched:
@chainfunc:
@getfunc:
@getregionfunc:

View file

@ -313,6 +313,12 @@ the stream.
</para>
<!-- ##### ARG GstDiskSink:location ##### -->
<para>
The filename to write to.
</para>
<!-- ##### MACRO GST_IS_SRC_CLASS ##### -->
<para>
@ -645,6 +651,14 @@ Specify the current offset in the file.
</para>
<!-- ##### FUNCTION gst_element_get_manager ##### -->
<para>
</para>
@element:
@Returns:
<!-- ##### STRUCT MetaDGA ##### -->
<para>
@ -966,6 +980,14 @@ The buffer is sent to the sound card.
@pad:
@Returns:
<!-- ##### FUNCTION gst_buffer_add_meta ##### -->
<para>
</para>
@buffer:
@meta:
<!-- ##### FUNCTION gst_elementfactory_can_src_caps_list ##### -->
<para>
@ -989,6 +1011,14 @@ The buffer is sent to the sound card.
</para>
<!-- ##### FUNCTION gst_buffer_remove_meta ##### -->
<para>
</para>
@buffer:
@meta:
<!-- ##### FUNCTION gst_caps_register_count ##### -->
<para>
@ -1111,6 +1141,13 @@ The buffer is sent to the sound card.
@name:
@Returns:
<!-- ##### SIGNAL GstDiskSink::handoff ##### -->
<para>
Is emited after the buffer has been written to the disk.
</para>
@gstdisksink: the object which received the signal.
<!-- ##### MACRO GST_ESDSINK ##### -->
<para>
@ -1521,6 +1558,14 @@ Indicates a srcpad for the padfactory.
</para>
<!-- ##### FUNCTION gst_buffer_get_first_meta ##### -->
<para>
</para>
@buffer:
@Returns:
<!-- ##### MACRO GST_IS_SINK_CLASS ##### -->
<para>
@ -1667,6 +1712,14 @@ GstSrc
@props:
@Returns:
<!-- ##### FUNCTION gst_element_set_manager ##### -->
<para>
</para>
@element:
@manager:
<!-- ##### MACRO GST_TYPE_AUDIOSRC ##### -->
<para>
@ -1784,13 +1837,6 @@ or a video card.
</para>
<!-- ##### FUNCTION gst_esdsink_get_type ##### -->
<para>
</para>
@Returns:
<!-- ##### MACRO GST_IS_BIN_CLASS ##### -->
<para>
@ -1798,6 +1844,13 @@ or a video card.
@obj:
<!-- ##### FUNCTION gst_esdsink_get_type ##### -->
<para>
</para>
@Returns:
<!-- ##### SECTION ./tmpl/GstElement.sgml:See_Also ##### -->
<para>
@ -1818,6 +1871,12 @@ Query whether this object has multiple input pads.
@obj: Element to query for multiple input pads.
<!-- ##### SECTION ./tmpl/gstfilter.sgml:See_Also ##### -->
<para>
</para>
<!-- ##### MACRO DEBUG_NOPREFIX ##### -->
<para>
@ -1826,12 +1885,6 @@ Query whether this object has multiple input pads.
@format:
@args...:
<!-- ##### SECTION ./tmpl/gstfilter.sgml:See_Also ##### -->
<para>
</para>
<!-- ##### ARG GstAudioSink:frequency ##### -->
<para>
@ -2749,6 +2802,14 @@ the offset.
</para>
<!-- ##### FUNCTION gst_buffer_get_metas ##### -->
<para>
</para>
@buffer:
@Returns:
<!-- ##### MACRO GST_IS_ASYNCDISKSRC_CLASS ##### -->
<para>

View file

@ -24,8 +24,10 @@ Thread flags:
</para>
@GST_THREAD_CREATE: The thread is being created.
@GST_THREAD_STATE_STARTED:
@GST_THREAD_STATE_SPINNING: The thread is runnning
@GST_THREAD_STATE_REAPING: The thread is ending.
@GST_THREAD_STATE_ELEMENT_CHANGED:
@GST_THREAD_FLAG_LAST: subclass use this to start their enumeration
<!-- ##### STRUCT GstThread ##### -->

View file

@ -41,7 +41,7 @@ gst_play_typefind (GstBin *bin, GstElement *element)
// push a buffer... the have_type signal handler will set the found flag
gst_bin_iterate (bin);
gst_element_set_state (GST_ELEMENT (bin), GST_STATE_NULL);
gst_element_set_state (GST_ELEMENT (bin), GST_STATE_PAUSED);
caps = gst_pad_get_caps (gst_element_get_pad (element, "src"));

View file

@ -124,7 +124,7 @@ gst_play_init (GstPlay *play)
/* create a new bin to hold the elements */
priv->thread = gst_thread_new ("main_thread");
g_assert (priv->thread != NULL);
priv->bin = gst_bin_new ("main_bin");
priv->bin = gst_pipeline_new ("main_bin");
g_assert (priv->bin != NULL);
priv->audio_element = gst_elementfactory_make ("osssink", "play_audio");

View file

@ -25,7 +25,7 @@ void new_pad(GstElement *parse,GstPad *pad,GstElement *pipeline) {
gst_element_connect(audioqueue,"src",audiodecode,"sink");
fprintf(stderr,"creating esdsink\n");
audiosink = gst_elementfactory_make("esdsink","audiosink");
audiosink = gst_elementfactory_make("osssink","audiosink");
gst_bin_add(GST_BIN(audiothread),audiosink);
gst_element_connect(audiodecode,"src",audiosink,"sink");
@ -45,7 +45,7 @@ int main(int argc,char *argv[]) {
pipeline = gst_pipeline_new("pipeline");
sourcethread = gst_elementfactory_make("thread","sourcethread");
src = gst_elementfactory_make("disksrc","src");
gtk_object_set(GTK_OBJECT(src),"location","/home/omega/media/AlienSong.mpg",NULL);
gtk_object_set(GTK_OBJECT(src),"location","/opt/data/AlienSong.mpg",NULL);
parse = gst_elementfactory_make("mpeg1parse","parse");
gtk_signal_connect(GTK_OBJECT(parse),"new_pad",

View file

@ -41,7 +41,7 @@ gst_play_typefind (GstBin *bin, GstElement *element)
// push a buffer... the have_type signal handler will set the found flag
gst_bin_iterate (bin);
gst_element_set_state (GST_ELEMENT (bin), GST_STATE_NULL);
gst_element_set_state (GST_ELEMENT (bin), GST_STATE_PAUSED);
caps = gst_pad_get_caps (gst_element_get_pad (element, "src"));