diff --git a/configure.in b/configure.in index d3ca37629e..a50d43fa7f 100644 --- a/configure.in +++ b/configure.in @@ -345,7 +345,7 @@ AC_CHECK_HEADER(cdda_paranoia.h, :, HAVE_CDPARANOIA=no) dnl Check for liblame AC_MSG_CHECKING(LAME library) AC_CHECK_LIB(mp3lame, lame_init, HAVE_LIBLAME=yes, HAVE_LIBLAME=no, ) -AC_CHECK_HEADER(lame.h, :, HAVE_LIBLAME=no) +AC_CHECK_HEADER(lame/lame.h, :, HAVE_LIBLAME=no) dnl Check for libshout AC_MSG_CHECKING(Shout library) diff --git a/docs/gst/tmpl/gstasyncdisksrc.sgml b/docs/gst/tmpl/gstasyncdisksrc.sgml new file mode 100644 index 0000000000..f31ccb9879 --- /dev/null +++ b/docs/gst/tmpl/gstasyncdisksrc.sgml @@ -0,0 +1,17 @@ + +GstAsyncDiskSrc + + +Asynchronous disk reader. (asyncdisksrc) + + + +Reads data from a file. You can seek to a specific location by setting +the offset. + + + + + + + diff --git a/docs/gst/tmpl/gstpad.sgml b/docs/gst/tmpl/gstpad.sgml index 06601cfd95..c4dd1f6c6b 100644 --- a/docs/gst/tmpl/gstpad.sgml +++ b/docs/gst/tmpl/gstpad.sgml @@ -127,9 +127,12 @@ The function that will be called when pulling a region buffer. @pad: the pad to get a buffer from +@type: @offset: the offset of the region to get -@size: the size of the region to get +@len: @Returns: a #GstBuffer + +@size: the size of the region to get @@ -175,9 +178,12 @@ The function that will be called when pulling a region buffer. @pad: the pad to pull +@type: @offset: the offset of the region to pull -@size: the size of the region to pull +@len: @Returns: a GstBuffer + +@size: the size of the region to pull @@ -446,24 +452,17 @@ Destroy the pad. @Returns: - + @pad: +@type: @offset: -@size: +@len: @Returns: - - - - - - - -@pad: -@offset: + @size: @@ -526,6 +525,9 @@ Call the EOS function of the pad @threadstate: @peer: @bufpen: +@regiontype: +@offset: +@len: @chainfunc: @getfunc: @getregionfunc: diff --git a/docs/gst/tmpl/gstreamer-unused.sgml b/docs/gst/tmpl/gstreamer-unused.sgml index a50a97934d..61b61d7e16 100644 --- a/docs/gst/tmpl/gstreamer-unused.sgml +++ b/docs/gst/tmpl/gstreamer-unused.sgml @@ -1,219 +1,14 @@ - + -@obj: +@pad: +@buf: - + - - - - - - - - - - - - - - - -@format: -@args...: - - - - - - -@id: -@sink: - - - - - - -@src: - - - - - - -@Returns: - - - - - - -@obj: - - - - - - -@obj: - - - -An eos signal is triggered whenever the GstSrc has reached the end of -the stream. - - - -@gstsrc: the object which received the signal. -@arg1: the object which received the signal - - - - - - -@name: -@Returns: - - - - - - - - - - - - -@obj: - - - - - - - - - - - - - - - - - - - - - - - - -@obj: - - - - - - -@obj: - - - - - - -@name: -@Returns: - - - - - - -@obj: - - - - - - - - - - - - -@format: -@args...: - - - - - - -@obj: - - - - - - -@obj: - - - - - - - - - - - - - - - - -@klass: - - - - - - -@klass: - - - - - - -@obj: - - - - - - - - - - - - -@Returns: - - - - +Query the element for the current mime type @@ -224,571 +19,48 @@ the stream. @Returns: - + + + + + + + + + + + + + + + + + +@Returns: + + @obj: - + +@meta: - - - - - -@klass: - - - - - - -@Returns: - - - -Use this macro to show debugging info. This is only usefull when developing new -plugin elements. -If you #define DEBUG_ENABLED before including gst/gst.h, this macro will produce -g_print messages. - - -@format: the format specification as in g_print -@args...: arguments - - - - - - - - - - - - - - + @obj: - + -The sink is the end of the filter graph. A typical sink would be an audio -or a video card. - - - - - - - - - -@name: -@Returns: - - - - - - -@Returns: - - - - - - - - - - - - - - - - - - -@name: -@Returns: - - - - - - - - - - - - -@obj: - - - - - - -@connection: - - - -This macro checks to see if the GST_SRC_ASYNC flag is set. - - -@obj: GstSrc to check for flag in. - - - - - - - - - - - - - - - - - - -@klass: - - - - - - -@arg: - - -GstEsdSink - - - - - - - - - - - - - -@obj: - - - - - - - - - - - - - - - - - - -@name: -@Returns: - - - -A connection is a bas class for a generic connection between -elements. A connection is typically a bas class for queues. - - - - - - - - - -@Returns: - - - - - - - - - - - - - - - - - - -@pad: -@buf: - - - - - - -@id: -@src: - - - - - - -@Returns: - - - - - - -@pad: -@buf: - - - - - - -@cat: -@format: -@args...: - - - - - - -@id: -@Returns: - - - - - - - - - - - - - - - - - - - - - - - - -@klass: - - - - - - -@klass: - - - - - - - - - - - - -@obj: - - - - - - -@obj: - - - - - - - - - - - - -@obj: - - -GstColorSpace - - - - - - - - - - - - - -@obj: - - - - - - - - - - - - -@obj: - - - - - - - - - - - - -@id: -@Returns: - - -Take data in and spit data out - - - - -Filters take data in and spit data out. They are the main Element in a filter graph. -Filters have zero or more inputs and zero or more outputs. Filters are connected -together to form filter graphs. A GstFilter is the base class and is not very usefull -on its own. - - - - - - - - -@name: -@Returns: - - - - - - -@name: -@Returns: - - - - - - - - - - - - -@name: -@Returns: - - - - - - -@format: -@args...: - - - - - - -@obj: - - - - - - -@obj: - - - - - - -@src: - - - - - - -@name: -@Returns: - - - - - - - - - - - - -@obj: - - - -Is trigered whenever the state of an element changes - - -@gstelement: the object which received the signal. -@arg1: the new state of the object - - -GstGetbits - - - - - - - -@klass: - - - - - - -@element: -@format: -@args...: - - - - - - -@obj: - - - - - - -@src: -@offset: -@size: - - - - - - -@src: - - - - - - -@klass: - - - - - - -@obj: - - - - - - -@name: -@Returns: - - - - - - -@name: -@Returns: - - - - - - - - - - - - -@klass: - - - -A GstSrc is the start of a filter graph. It typically is a file or an -audio source. It provides data for the next element in the graph. @@ -801,29 +73,7 @@ audio source. It provides data for the next element in the graph. @pad: @buf: - - - - - -@obj: - - - - - - -@esdsink: -@channels: - - - - - - -@klass: - - + @@ -831,142 +81,52 @@ audio source. It provides data for the next element in the graph. @pad: @parent: - + + +This macro usets the given flags. + + +@src: +@flag: Flag to set, must be a single bit in guint32. +@obj: GstSrc to unset flag in. + + + + + + +@pad: +@buf: + + + + + + +@pad: +@buf: + + + + + + +@Returns: + + @klass: - + - - -GstSrc - - - - - - - -@obj: - - - - - - -@obj: - - - - - - -@Returns: - - - - - - -@obj: - - - - - - -@Returns: - - - -The frequency. - - - - - - - - - - - - - - - - - - - - -@obj: - - - -This macro unsets the given state on the element. - - -@obj: Element to unset state of. -@flag: State to unset, can be any number of bits in guint32. - - - - - - - - - -This macro returns the entire set of flags for the object. - - -@obj: GstSrc to return flags for. - - - - - - -@Returns: - - - - - - -@tee: -@Returns: - - - - - - - - - - - - -@klass: - - -The start point of a filter graph - - - - - - - -@klass: +@elementfactory: +@id: @@ -981,201 +141,6 @@ The start point of a filter graph - - - - - -@obj: - - - - - - - - - - - - -@parent: -@Returns: - - - - - - - - - - - - - - - - -@format: -@args...: - - - - - - -@klass: - - - - - - -@klass: - - - - - - -@obj: - - - - - - -@Returns: - - - - - - - - - - - - -@obj: - - -GstConnection - - - - - - - - - - - - - - - - - - - - - - -This macro sets the given state on the element. - - -@obj: Element to set state of. -@flag: State to set, can be any number of bits in guint32. - - - - - - - - - - - - -@klass: - - - - - - -@GST_CAPS_ALWAYS: -@GST_CAPS_MAYBE: - - - - - - -@obj: - - -Generic connection between elements. - - - - - - - - - - - - - - - - - - - -@esdsink: - - - - - - -@obj: - - - - - - -@obj: - - - - - - -@obj: - - - - - - - - - - - - -@obj: - @@ -1183,244 +148,32 @@ Generic connection between elements. @obj: - -plugin - - - + - + + +Use this macro to show debugging info. This is only usefull when developing new +plugin elements. +If you #define DEBUG_ENABLED before including gst/gst.h, this macro will produce +g_print messages. + + +@format: the format specification as in g_print +@args...: arguments + + +GstEsdSink + + + -@pad: -@buf: - - - - - - - - - - - - -@name: -@Returns: - - - - - - -@obj: - - - - - - -@obj: - - - - - - - - - - - - - - - -This macro usets the given flags. - - -@src: -@flag: Flag to set, must be a single bit in guint32. -@obj: GstSrc to unset flag in. - - - - - - -@audiosink: - - - - - - -@name: -@Returns: - - - - - - -@obj: - - - - - - -@pad: -@Returns: - - - - - - -@obj: - - - - - - -@obj: - - - -A flag indicating that SSE instructions are supported. - - - - - - - - -@pad: -@id: - - - - - - - - - - - - -@obj: - - - - - - - - - - - - - - - - - - -The end point of a filter graph - - - - - - - -@Returns: - - - - - - -@klass: - - - - - - - - - - - - -@obj: - - - - - - -@Returns: - - - - - - -@obj: - - - - - - -@Returns: - - - - - - -@element: -@templ: -@Returns: -@temp: - - - - - - -@pad: -@caps: - - - - - - -@obj: - - - -This macro checks to see if the given state is set. - - -@obj: Element to check for state. -@flag: State to check for, must be a single bit in guint32. @@ -1431,365 +184,38 @@ This macro checks to see if the given state is set. @parent: @Returns: - - - - - -@obj: - - - - - - -@Returns: - - - - - - -@obj: - - - - - - - - - - - - -@obj: - - - - - - -@Returns: - - - -This macro sets the given flags. - - -@src: -@flag: Flag to set, can by any number of bits in guint32. -@obj: GstSrc to set flag in. - - - -Query a GstSrc for the ASYNC flag - - -@obj: The GstSrc to query - - - - - - - - - - - -@argc: -@argv: -@Returns: - - - - - - - - - - - - - - - - - - -@pad: -@Returns: - - -GstSink - - - - - - - -@sinkid: -@srcid: -@Returns: - - + - + +@src: - - - - - -@Returns: - - - - - - - - - - - - -@connection: - - - - - - - - - - - - - - + @obj: - - - - - -@buf: - - - - - - - - - -Query the element for the current mime type - - - - - - - - - - - - -@buffer: -@size: -@root: -@Returns: - - - - - - - - - - - - -@Returns: - - - - - - -@element: -@state: -@Returns: - - - - - - -@klass: - - - - - - - - - - - - - - - - - - -@klass: - - - - - - - - - - - - -@GST_PROPS_END_ID_NUM: -@GST_PROPS_LIST_ID_NUM: -@GST_PROPS_INT_ID_NUM: -@GST_PROPS_INT_RANGE_ID_NUM: -@GST_PROPS_FOURCC_ID_NUM: -@GST_PROPS_BOOL_ID_NUM: - - - - - - -@pad: -@Returns: - - - - - - - - - - - - -@esdsink: -@frequency: - - - -Get the size of the current file. - - - - - -subclass use this to start their flag enumeration - - - - - - - - -@element: -@object: -@format: -@args...: - - - -Flags for the GstSrc element - - -@GST_SRC_ASYNC: Indicates that this src is asynchronous -@GST_SRC_FLAG_LAST: subclasses can use this to number their flags - - - - - - - - - - - - - - - - - - -@name: -@Returns: - - - - - - -@audiosink: -@channels: - - - - - - - - - - - - -@thread: - @@ -1797,323 +223,7 @@ Flags for the GstSrc element @obj: - - - - - - - - - - - -@obj: - - - - - - - - - - - - -@obj: - - - - - - -@elementfactory: -@id: - - - - - - -@Returns: - - - - - - -@pad: -@buf: - - - - - - - - - - - - -@pad: -@Returns: - - - - - - - - - - - - -@pad: -@buf: - - - - - - - - - - - - -@pad: -@buf: - - - -Indicates this pad is active - - - - - - - - -@klass: - - - - - - -@obj: - - - - - - -@obj: - - - - - - -@klass: - - - - - - - - - - - - - - - - - - -@element: -@parent: -@Returns: - - - - - - -@src: - - - - - - -@audiosink: -@frequency: - - - - - - - - - - - - -@elementfactory: - - - - - - -@Returns: - - - - - - -@meta: - - - - - - -@Returns: - - - - - - -@Returns: - - - - - - -@obj: - - - - - - -@Returns: - - - - - - -@obj: - - - - - - -@pad: -@parent: -@Returns: - - - - - - - - - - - - - - - - - - -@obj: - - - - - - -@obj: - - - - - - -@obj: - - - - - - - - - - - - -@pad: -@parent: - - -GstElement - - - - - - - -@obj: - - - - - - - - - - - - - - - - - - - - - - - - -@pad: -@pull: - - + @@ -2127,6 +237,424 @@ GstElement @esdsink: @format: + + +An eos signal is triggered whenever the GstSrc has reached the end of +the stream. + + + +@gstsrc: the object which received the signal. +@arg1: the object which received the signal + + + + + + + + + + + + +@obj: + + + + + + + + + + + + +@Returns: + + + + + + +@obj: + + + + + + +@Returns: + + + + + + +@obj: + + + + + + +@obj: + + + + + + +@name: +@Returns: + + + + + + +@pad: +@buf: + + + + + + +@pad: +@Returns: + + +GstSrc + + + + + + + + + + + + + +@obj: + + + + + + + + + + + + +@obj: + + + + + + + + + + + + +@name: +@Returns: + + + + + + + + + + + + +@klass: + + + + + + + + + + + + +@klass: + + + + + + +@obj: + + + + + + +@arg: + + + + + + +@pad: +@parent: +@Returns: + + + + + + +@obj: + + + + + + + + +GstConnection + + + + + + + + + + + + + +@obj: + + + +The frequency. + + + + + +Specify how many bytes to read at a time. + + + + + + + + + + + + + + + + + + + + +@name: +@Returns: + + + + + + + + + + + + + + + + + + + + +@Returns: + + + + + + + + + + + + +@connection: + + + +subclass use this to start their flag enumeration + + + + +GstElement + + + + + + + +@obj: + + + + + + +@id: +@Returns: + + + + + + +@buf: + + + + + + +@audiosink: +@channels: + + +Generic connection between elements. + + + + + + + + + + + + + + + + + + + + + + + + + +@obj: + + + + + + +@element: +@format: +@args...: + + + + + + +@obj: + + + + + + +@obj: + + + +The sink is the end of the filter graph. A typical sink would be an audio +or a video card. + + + + + + + + + +@esdsink: +@channels: + + + + + + +@Returns: + + + + + + +@obj: + + + + + + + + + + + + +@obj: + + + + + + + Query whether this object has multiple input pads. @@ -2135,20 +663,996 @@ Query whether this object has multiple input pads. @obj: Element to query for multiple input pads. - + + + + + +@pad: +@offset: +@size: +@Returns: + + + + + + +@name: +@fd: +@Returns: + + + + + + +@format: +@args...: + + + + + + + + + + + + + + + + + + +@obj: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +@obj: + + + + + + +@pad: +@pull: + + + + + + + + + + + + +@Returns: + + + + + + +@obj: + + + + + + + + + + + + + + + + + + +@src: + + + + + + + + + + + + + + + + + + +@format: +@args...: + + + + + + + + + + + + +@obj: + + + + + + +@Returns: + + + +Specify the current offset in the file. + + + + + + + + +@name: +@Returns: + + @klass: + + + + + +@obj: + + + + + + + + + + + + + + + + + + +@klass: + + + + + + + + + + + + +@name: +@Returns: + + + + + + +@klass: + + + + + + +@Returns: + + + + + + +@obj: + - + + + + + +@klass: + + + + + + + + + + + + + + + + +@Returns: + + + + + + + + + + + + + + + + + + +@obj: + + + +Filters take data in and spit data out. They are the main Element in a filter graph. +Filters have zero or more inputs and zero or more outputs. Filters are connected +together to form filter graphs. A GstFilter is the base class and is not very usefull +on its own. + + + + + + + + +@tee: +@Returns: + + + + + + +@obj: + + + + + + +@obj: + + + + + + +@obj: + + + + + + +@klass: + + + + + + + + + + + + + + + + + + + + + + +@obj: + + + + + + +@pad: +@caps: + + + + + + +@klass: + + + + + + +@obj: + + + + + + + + + + + + + + + + + + +@name: +@Returns: + + + + + + +@obj: + + + + + + +@name: +@Returns: + + + + + + + + + + + + +@obj: + + + + + + + + + + + + + + + + + + + + + + + + +@klass: + + + + + + +@obj: + + + + + + +@src: + + + + + + +@id: +@sink: + + + + + + +@obj: + + + + + + + + + +This macro returns the entire set of flags for the object. + + +@obj: GstSrc to return flags for. + + +GstGetbits + + + + +Get the size of the current file. + + + + + + + + +@klass: + + + + + + +@name: +@Returns: + + +The start point of a filter graph + + + + + + + +@src: + + + + + + +@element: +@parent: +@Returns: + + + + + + +@obj: + + + + + + +@sinkid: +@srcid: +@Returns: + + + + + + +@obj: + + + + + + + + + + + + + + + + + + +@src: + + + + + + +@obj: + + + + + + +@id: +@Returns: + + + + + + +@esdsink: +@frequency: + + + + + + +@klass: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +@Returns: + + + + + + +@obj: + + + + + + +@Returns: + + + + + + +@obj: + + + + + + +@klass: + + + + + + +@obj: + + + + + + +@obj: + + + + + + +@klass: + + + + + + + + + + + + +@audiosink: + + + + + + +@elementfactory: +@id: + + + + + + +@obj: + + + +This macro unsets the given state on the element. + + +@obj: Element to unset state of. +@flag: State to unset, can be any number of bits in guint32. + + + + + + +@obj: + + + + + + +@klass: + + + + + + +@pad: +@id: + + + + + + + + + + + + +@Returns: + + + + + + +@pad: +@parent: + + + + + + +@name: +@Returns: + + + + + + +@audiosink: +@frequency: + + + + + + + + + + + + + + + + + + +@elementfactory: + + + + + + +@obj: + + + + + +@argc: +@argv: +@Returns: + + + + + + +@obj: + + + + + + +@obj: + + + + + + +@Returns: + + + + + + +@element: +@object: +@format: +@args...: + + + + + + +@obj: + + + + + + +@obj: + + + + + + + + + + + + +@obj: + + + + + + +@obj: + + + + + + +@pad: +@buf: + + + + + + +@pad: +@Returns: + + + + + + +@Returns: + + + + + + +@klass: + + + +A connection is a bas class for a generic connection between +elements. A connection is typically a bas class for queues. + + + + + + + + + +@buf: + + + +Query a GstSrc for the ASYNC flag + + +@obj: The GstSrc to query + + + + + + +@obj: + + + +This macro sets the given state on the element. + + +@obj: Element to set state of. +@flag: State to set, can be any number of bits in guint32. + + + + + + +@pad: +@buf: + + + + + + + + + + + + +@Returns: + + @@ -2161,124 +1665,64 @@ Query whether this object has multiple input pads. @obj: - + + + + + + - + + + + @src: +@offset: +@size: - + -@klass: - - - - - - -@obj: - - - - - - -@obj: - - - - - - -@obj: - - - - - - -@obj: - - - - - - - - - - - - -@name: -@fd: @Returns: - -GstFilter - - - + -@elementfactory: -@id: - + -@buf: +@obj: - + -@pad: -@Returns: - - - - - - -@audiosink: @format: +@args...: - + - +Is trigered whenever the state of an element changes -@klass: +@gstelement: the object which received the signal. +@arg1: the new state of the object - - - - - -@obj: - - - - - - -@Returns: - - + @@ -2295,20 +1739,138 @@ GstFilter @format: @args...: - + + + + + +@klass: + + + + + + +@name: +@Returns: + + + + + + +@klass: + + + + + + + + + + + + +@id: +@src: + + + + + + + + + + + + +@Returns: + + @obj: - + + + + + + + @obj: + +Take data in and spit data out + + + + +This macro checks to see if the GST_SRC_ASYNC flag is set. + + +@obj: GstSrc to check for flag in. + + + + + + + + + + + + +@klass: + + + + + + + + + +A flag indicating that SSE instructions are supported. + + + + + + + + +@esdsink: + + + + + + +@obj: + + + + + + +@connection: + + + + + + + @@ -2317,12 +1879,501 @@ GstFilter @name: @Returns: - + + + + + + +@Returns: + + + + + + +@obj: + + + + + + + + + + + + +@obj: + + + + + + + + +GstFilter + + + + + + + +@obj: + + + + + + +@obj: + + + + + + +@Returns: + + + + + + +@GST_PROPS_END_ID_NUM: +@GST_PROPS_LIST_ID_NUM: +@GST_PROPS_INT_ID_NUM: +@GST_PROPS_INT_RANGE_ID_NUM: +@GST_PROPS_FOURCC_ID_NUM: +@GST_PROPS_BOOL_ID_NUM: + + + + + + +@pad: +@Returns: + + + + + + +@pad: +@Returns: + + + + + + +@thread: + + + + + + +@GST_CAPS_ALWAYS: +@GST_CAPS_MAYBE: + + + + + + + + + +Flags for the GstSrc element + + +@GST_SRC_ASYNC: Indicates that this src is asynchronous +@GST_SRC_FLAG_LAST: subclasses can use this to number their flags + + + + + + +@obj: + + +GstColorSpace + + + + + + + + +GST_ASYNCDISKSRC_OPEN +the asyncdisksrc is open for reading + + + + + + +@GST_ASYNCDISKSRC_OPEN: +@GST_ASYNCDISKSRC_FLAG_LAST: + + + + + + + + + + + + +@element: +@state: +@Returns: + + + + + + + + + + + + +@pad: +@Returns: + + + + + + + + + + + + +@obj: + + + + + + + + + +Specify the location of the file to read. + + + + + + + + +@klass: + + + + + + +@Returns: + + + + + + +@Returns: + + + + + + +@klass: + + + + + + +@klass: + + + + + + + + + + + + +@parent: +@Returns: + + + + + + + + + + + + +@name: +@Returns: + + + + + + +@format: +@args...: + + + + + + +@element: +@templ: +@Returns: +@temp: + + + + + + +@audiosink: +@format: + + + + + + +@obj: + + +The end point of a filter graph + + + + + + + +@cat: +@format: +@args...: + + + + + + +@obj: + + + + + + +@name: +@Returns: + + + + + + + + + + + + + + +plugin + + + + +This macro checks to see if the given state is set. + + +@obj: Element to check for state. +@flag: State to check for, must be a single bit in guint32. + + + + + + +@buffer: +@size: +@root: +@Returns: + + + + + + +@obj: + + + + + + + + + + + + + + + + + + +@name: +@Returns: + + + + + + +@obj: + + + + + + + + + + + + + + + + + + +@obj: + + + +This macro sets the given flags. + + +@src: +@flag: Flag to set, can by any number of bits in guint32. +@obj: GstSrc to set flag in. + + + + + + +@klass: + + + + + + +@obj: + + + + + + +@klass: + + + + + + + + + +Indicates this pad is active + + + + + + + + +@Returns: + + + + + + +@name: +@Returns: + + + + + + + + + +A GstSrc is the start of a filter graph. It typically is a file or an +audio source. It provides data for the next element in the graph. + + + + + + + + + + + +GstSink + + A flag indicating that MMX instructions are supported.