is GstPlayFlags defined somewhere ?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

is GstPlayFlags defined somewhere ?

Vincent Torri

Hey,

looking at the documentation of playbin2, I see an enumeration used for
setting its flags. After having done a grep in all the header files of
gst, i didn't find any header where GstPlayFlags is defined. Is it normal
? If yes, why adding in a doc such enum ?

Vincent Torri

------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: is GstPlayFlags defined somewhere ?

Tim-Philipp Müller-2
On Wed, 2010-10-20 at 09:19 +0200, Vincent Torri wrote:

> looking at the documentation of playbin2, I see an enumeration used for
> setting its flags. After having done a grep in all the header files of
> gst, i didn't find any header where GstPlayFlags is defined. Is it normal
> ? If yes, why adding in a doc such enum ?

Yes, that's normal. There are no header files for elements. You can use
the flag values from gst-inspect, or the values from the docs (or just
copy'n'paste the typedef into your code).

It's in the docs so the values are in the docs. Seems more helpful to me
than not having the values in the docs.

Cheers
 -Tim


------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: is GstPlayFlags defined somewhere ?

Vincent Torri


On Wed, 20 Oct 2010, Tim-Philipp Müller wrote:

> On Wed, 2010-10-20 at 09:19 +0200, Vincent Torri wrote:
>
>> looking at the documentation of playbin2, I see an enumeration used for
>> setting its flags. After having done a grep in all the header files of
>> gst, i didn't find any header where GstPlayFlags is defined. Is it normal
>> ? If yes, why adding in a doc such enum ?
>
> Yes, that's normal. There are no header files for elements. You can use
> the flag values from gst-inspect, or the values from the docs (or just
> copy'n'paste the typedef into your code).
>
> It's in the docs so the values are in the docs. Seems more helpful to me
> than not having the values in the docs.
they are available with gst-inspect. The first thing i tried after having
read the doc is using that enum. It's quite disturbing. Something should
be added in the doc to say that this enum is not in the headers

Vincent Torri
------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel