gst-plugins-ugly: Rename property enums from ARG_ to PROP_

Stefan Sauer ensonic at hora-obscura.de
Fri May 15 07:18:11 PDT 2015


On 04/27/2015 12:27 PM, Luis de Bethencourt wrote:
> Module: gst-plugins-ugly
> Branch: master
> Commit: 9a18b9e4ce6e38f40d743777f6095845f2fa6414
> URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-ugly/commit/?id=9a18b9e4ce6e38f40d743777f6095845f2fa6414
>
> Author: Luis de Bethencourt <luis.bg at samsung.com>
> Date:   Mon Apr 27 10:57:12 2015 +0100
>
> Rename property enums from ARG_ to PROP_
>
> Property enum items should be nameed PROP_ for consistency and readability.
>
> ---
>
>  gst/dvdlpcmdec/gstdvdlpcmdec.c |    2 +-
>  gst/realmedia/rdtdepay.c       |    2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/gst/dvdlpcmdec/gstdvdlpcmdec.c b/gst/dvdlpcmdec/gstdvdlpcmdec.c
> index b0fa850..f19c478 100644
> --- a/gst/dvdlpcmdec/gstdvdlpcmdec.c
> +++ b/gst/dvdlpcmdec/gstdvdlpcmdec.c
> @@ -65,7 +65,7 @@ enum
>  
>  enum
>  {
> -  ARG_0
> +  PROP_0
>        /* FILL ME */
>  };
>  
> diff --git a/gst/realmedia/rdtdepay.c b/gst/realmedia/rdtdepay.c
> index 308faec..ac79b74 100644
> --- a/gst/realmedia/rdtdepay.c
> +++ b/gst/realmedia/rdtdepay.c
> @@ -39,7 +39,7 @@ enum
>  
>  enum
>  {
> -  ARG_0,
> +  PROP_0,
>  };
>  
>  static GstStaticPadTemplate gst_rdt_depay_src_template =
>
> _______________________________________________
> gstreamer-commits mailing list
> gstreamer-commits at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-commits
Should we just remove the boilerplate, if the element has no properties?


More information about the gstreamer-devel mailing list