diff options
author | Tim-Philipp Müller <tim@centricular.net> | 2006-04-25 17:57:23 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.net> | 2006-04-25 17:57:23 +0000 |
commit | 55aed72d3cdd61e82bb2838f7462c4a2bd75d4f6 (patch) | |
tree | 7e9f2ad4a97a3e5500713858e366ca4ae466f7d1 | |
parent | da34723a6bf9b305d69cf23215ad20d7747cbdb9 (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.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | ext/jpeg/gstjpegdec.c | 1 |
2 files changed, 7 insertions, 0 deletions
@@ -1,5 +1,11 @@ 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: * gst/matroska/matroska-demux.c: (gst_matroska_demux_add_stream), (gst_matroska_demux_handle_src_event): 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); |