mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 07:47:17 +00:00
ext/jpeg/gstjpegdec.c: Source pad has fixed caps. If we don't set this, bad things happen when the window is resized.
Original commit message from CVS: * ext/jpeg/gstjpegdec.c: (gst_jpeg_dec_chain): Source pad has fixed caps. If we don't set this, bad things happen when the window is resized.
This commit is contained in:
parent
da34723a6b
commit
55aed72d3c
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
2006-04-25 Tim-Philipp Müller <tim at centricular dot net>
|
||||
|
||||
* ext/jpeg/gstjpegdec.c: (gst_jpeg_dec_chain):
|
||||
Source pad has fixed caps. If we don't set this, bad
|
||||
things happen when the window is resized.
|
||||
|
||||
2006-04-25 Tim-Philipp Müller <tim at centricular dot net>
|
||||
|
||||
* gst/matroska/Makefile.am:
|
||||
|
|
|
@ -817,6 +817,7 @@ gst_jpeg_dec_chain (GstPad * pad, GstBuffer * buf)
|
|||
GST_DEBUG_OBJECT (dec, "max_v_samp_factor=%d",
|
||||
dec->cinfo.max_v_samp_factor);
|
||||
|
||||
gst_pad_use_fixed_caps (dec->srcpad);
|
||||
gst_pad_set_caps (dec->srcpad, caps);
|
||||
gst_caps_unref (caps);
|
||||
|
||||
|
|
Loading…
Reference in a new issue