From: David S. <dsc...@us...> - 2003-07-14 08:29:38
|
CVS Root: /cvsroot/gstreamer Module: gst-plugins Changes by: dschleef Date: Mon Jul 14 2003 01:29:37 PDT Log message: Fixes for new caps system Modified files: ext/pango : gsttimeoverlay.c Links: http://cvs.sf.net/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins/ext/pango/gsttimeoverlay.c.diff?r1=1.1&r2=1.2 ====Begin Diffs==== Index: gsttimeoverlay.c =================================================================== RCS file: /cvsroot/gstreamer/gst-plugins/ext/pango/gsttimeoverlay.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- gsttimeoverlay.c 2 Jul 2003 08:07:24 -0000 1.1 +++ gsttimeoverlay.c 14 Jul 2003 08:29:25 -0000 1.2 @@ -146,9 +146,10 @@ static GstPadTemplate *templ = NULL; if(!templ){ - GstCaps *caps = GST_CAPS_NEW("src","video/raw", - "width", GST_PROPS_INT_RANGE (0, G_MAXINT), - "height", GST_PROPS_INT_RANGE (0, G_MAXINT)); + GstCaps *caps = GST_CAPS_NEW("src","video/x-raw-yuv", + "width", GST_PROPS_INT_RANGE (1, G_MAXINT), + "height", GST_PROPS_INT_RANGE (1, G_MAXINT), + "framerate", GST_PROPS_FLOAT_RANGE (0, G_MAXFLOAT)); caps = gst_caps_intersect(caps, gst_timeoverlay_get_capslist ()); @@ -163,9 +164,10 @@ static GstPadTemplate *templ = NULL; if(!templ){ - GstCaps *caps = GST_CAPS_NEW("sink","video/raw", - "width", GST_PROPS_INT_RANGE (0, G_MAXINT), - "height", GST_PROPS_INT_RANGE (0, G_MAXINT)); + GstCaps *caps = GST_CAPS_NEW("sink","video/x-raw-yuv", + "width", GST_PROPS_INT_RANGE (1, G_MAXINT), + "height", GST_PROPS_INT_RANGE (1, G_MAXINT), + "framerate", GST_PROPS_FLOAT_RANGE (0, G_MAXFLOAT)); caps = gst_caps_intersect(caps, gst_timeoverlay_get_capslist ()); |