[gst-devel] mpeg2dec caps

Andy Wingo apwingo at eos.ncsu.edu
Fri Oct 26 12:07:19 CEST 2001


On Fri, 26 Oct 2001, vishnu at pobox.com wrote:

> Is this right?
> 

> Index: gstmpeg2dec.c
> ===================================================================
> RCS file: /cvsroot/gstreamer/gstreamer/plugins/mpeg2/mpeg2dec/gstmpeg2dec.c,v
> retrieving revision 1.25
> diff -u -p -r1.25 gstmpeg2dec.c
> +++ gstmpeg2dec.c	2001/10/26 18:55:37
> @@ -86,7 +86,7 @@ GST_PADTEMPLATE_FACTORY (sink_template_f
>    GST_CAPS_NEW (
>      "mpeg2dec_sink",
>      "video/mpeg",
> -      "mpegversion",  GST_PROPS_INT (2),
> +      "mpegversion",  GST_PROPS_INT_RANGE (1,2),

perhaps this can just be "version", as you're already in a video/mpeg caps
structure. it's probably too entrenched in other plugins, but hey...

>        "systemstream", GST_PROPS_BOOLEAN (FALSE)
>    )
>  );





More information about the gstreamer-devel mailing list