summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.net>2006-04-25 17:57:23 +0000
committerTim-Philipp Müller <tim@centricular.net>2006-04-25 17:57:23 +0000
commit55aed72d3cdd61e82bb2838f7462c4a2bd75d4f6 (patch)
tree7e9f2ad4a97a3e5500713858e366ca4ae466f7d1 /ext
parentda34723a6bf9b305d69cf23215ad20d7747cbdb9 (diff)
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.
Diffstat (limited to 'ext')
-rw-r--r--ext/jpeg/gstjpegdec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/jpeg/gstjpegdec.c b/ext/jpeg/gstjpegdec.c
index d1795fcba..aa57291bb 100644
--- a/ext/jpeg/gstjpegdec.c
+++ b/ext/jpeg/gstjpegdec.c
@@ -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);