mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 15:51:11 +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
51ff79842d
commit
e5c443594f
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