[gstreamer-bugs] [Bug 517203] [dshowvideosrc] creates wrong caps on the source pad (width and height range)

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Mon Feb 25 15:52:38 PST 2008


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=517203

  GStreamer | gst-plugins-bad | Ver: HEAD CVS




------- Comment #12 from Julien Isorce  2008-02-25 23:52 UTC -------
ok, I have done more stuff about default video size negociation using :
"gstbasesrc_class->fixate = GST_DEBUG_FUNCPTR (gst_dshowvideosrc_src_fixate);"
when no video size is asked:

example : gst-launch-0.10 dshowvideosrc ! ffmpegcolorspace ! directdrawsink
or
gst-launch-0.10 dshowvideosrc ! video/x-raw-yuv, format=(fourcc)UYVY !
ffmpegcolorspace ! directdrawsink

I am waitting answers from my email to gst devel mailing list to post the new
files gstdshowvideosrc.c and .h :

"
Hi,

I would like to know if an existing GST_TYPE_... can do the following thing :

[start, end, step]

I mean, for example with GST_TYPE_INT_RANGE, [10, 100] all value bettween
10 and 100 are accepted.
But I need something like GST_TYPE_INT_RANGE_STEP, [10, 100, 5], and only
value 10, 15, 20, 25, 30, ....., 90, 95, 100 are accepted.

I need it in dshowvideosrc, because video size have a step. For EXAMPLE,
accepted video width are bettween 80 and 768 with a step of 4, and
accepted video height are bettween 60 and 576 with a step of 2.

I am sure it is the same thing for v4l2src.
"


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=517203.




More information about the Gstreamer-bugs mailing list