[Bug 676302] [jpegdec] Sinkpad template caps too strict

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed May 23 10:56:38 PDT 2012


https://bugzilla.gnome.org/show_bug.cgi?id=676302
  GStreamer | gst-plugins-good | git

--- Comment #9 from Mathias Hasselmann (IRC: tbf) <mathias.hasselmann at gmx.de> 2012-05-23 17:56:35 UTC ---
Seems it is sufficient to only drop the framerate capability. Is there any
reason for having this one in jpegdec?

diff --git ext/jpeg/gstjpegdec.c ext/jpeg/gstjpegdec.c
index 45d05b7..95715d3 100644
--- ext/jpeg/gstjpegdec.c
+++ ext/jpeg/gstjpegdec.c
@@ -83,7 +83,7 @@ GST_STATIC_PAD_TEMPLATE ("sink",
     GST_STATIC_CAPS ("image/jpeg, "
         "width = (int) [ " G_STRINGIFY (MIN_WIDTH) ", " G_STRINGIFY
(MAX_WIDTH)
         " ], " "height = (int) [ " G_STRINGIFY (MIN_HEIGHT) ", "
-        G_STRINGIFY (MAX_HEIGHT) " ], framerate = (fraction) [ 0/1, MAX ], "
+        G_STRINGIFY (MAX_HEIGHT) " ], "
         "sof-marker = (int) { 0, 1, 2, 5, 6, 7, 9, 10, 13, 14 }")
     );

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list