A patch to enable the use of 'name' in Enum parameters.

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

A patch to enable the use of 'name' in Enum parameters.

Charles Wang
Hi~

Only decimal number can be used to set enum parameters, my patch let
gst can accept enum value_name.
 It will be more friendly for users.

Please check it.

Any comment is welcome.

Charles Wang <[hidden email]>

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel

gstreamer-0.10.21-enum.patch (1K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: A patch to enable the use of 'name' in Enum parameters.

Tim-Philipp Müller-2
On Tue, 2009-03-24 at 11:15 +0800, li wang wrote:

> Only decimal number can be used to set enum parameters, my patch let
> gst can accept enum value_name.
>  It will be more friendly for users.
>
> Please check it.
>
> Any comment is welcome.

Looks like a good idea. Could you please put the patch into bugzilla so
it's not forgotten about? Thanks!
(http://gstreamer.freedesktop.org/bugs/)

Cheers
 -Tim



------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: A patch to enable the use of 'name' in Enum parameters.

Charles Wang
The bug has been commited, it is bug 576582.
http://bugzilla.gnome.org/show_bug.cgi?id=576582

2009/3/24 Tim-Philipp Müller <[hidden email]>:

> On Tue, 2009-03-24 at 11:15 +0800, li wang wrote:
>
>> Only decimal number can be used to set enum parameters, my patch let
>> gst can accept enum value_name.
>>  It will be more friendly for users.
>>
>> Please check it.
>>
>> Any comment is welcome.
>
> Looks like a good idea. Could you please put the patch into bugzilla so
> it's not forgotten about? Thanks!
> (http://gstreamer.freedesktop.org/bugs/)
>
> Cheers
>  -Tim
>
>
>
> ------------------------------------------------------------------------------
> Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
> powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
> easily build your RIAs with Flex Builder, the Eclipse(TM)based development
> software that enables intelligent coding and step-through debugging.
> Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel