From 55aed72d3cdd61e82bb2838f7462c4a2bd75d4f6 Mon Sep 17 00:00:00 2001 From: Tim-Philipp Müller Date: Tue, 25 Apr 2006 17:57:23 +0000 Subject: 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. --- ChangeLog | 6 ++++++ ext/jpeg/gstjpegdec.c | 1 + 2 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index 85aa9fcc..ca5cb8f5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2006-04-25 Tim-Philipp Müller + + * 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 * gst/matroska/Makefile.am: diff --git a/ext/jpeg/gstjpegdec.c b/ext/jpeg/gstjpegdec.c index d1795fcb..aa57291b 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); -- cgit