mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-18 05:16:05 +00:00
jpegdec: Relax sink caps
Since jpegdec already parse the jpeg stream, the sink caps could be relaxed. This will allow jpegdec to be selected in more case and in particular when the jpeg typefinder does not find the width and height. https://bugzilla.gnome.org/show_bug.cgi?id=709352
This commit is contained in:
parent
ceb7926fd9
commit
7bcd53f1be
1 changed files with 1 additions and 4 deletions
|
@ -81,10 +81,7 @@ static GstStaticPadTemplate gst_jpeg_dec_sink_pad_template =
|
|||
GST_STATIC_PAD_TEMPLATE ("sink",
|
||||
GST_PAD_SINK,
|
||||
GST_PAD_ALWAYS,
|
||||
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) " ] ")
|
||||
GST_STATIC_CAPS ("image/jpeg")
|
||||
);
|
||||
|
||||
GST_DEBUG_CATEGORY_STATIC (jpeg_dec_debug);
|
||||
|
|
Loading…
Reference in a new issue