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:
Tim-Philipp Müller 2006-04-25 17:57:23 +00:00
parent da34723a6b
commit 55aed72d3c
2 changed files with 7 additions and 0 deletions

View file

@ -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:

View file

@ -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);