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 |
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 |
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. 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 |
Free forum by Nabble | Edit this page |