ext/jpeg/gstjpegenc.c: fix DURATION on outgoing buffers

Original commit message from CVS:
* ext/jpeg/gstjpegenc.c: (gst_jpegenc_get_type),
(gst_jpegenc_chain):
fix DURATION on outgoing buffers
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_handle_sink_event):
debug using time formats
* sys/ximage/ximagesink.c: (gst_ximagesink_xcontext_get):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_get_xv_support),
(gst_xvimagesink_sink_link):
windows with width/height 0 generate X errors, so don't allow them
This commit is contained in:
Thomas Vander Stichele 2004-05-05 11:29:48 +00:00
parent 9a04866a8f
commit 02c4deec12
2 changed files with 13 additions and 0 deletions

View file

@ -1,3 +1,15 @@
2004-05-05 Thomas Vander Stichele <thomas at apestaart dot org>
* ext/jpeg/gstjpegenc.c: (gst_jpegenc_get_type),
(gst_jpegenc_chain):
fix DURATION on outgoing buffers
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_handle_sink_event):
debug using time formats
* sys/ximage/ximagesink.c: (gst_ximagesink_xcontext_get):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_get_xv_support),
(gst_xvimagesink_sink_link):
windows with width/height 0 generate X errors, so don't allow them
2004-05-05 Wim Taymans <wim@fluendo.com>
* ext/mpeg2dec/gstmpeg2dec.c: (src_templ),

View file

@ -389,6 +389,7 @@ gst_jpegenc_chain (GstPad * pad, GstData * _data)
outsize = GST_BUFFER_SIZE (outbuf) = jpegenc->bufsize;
outdata = GST_BUFFER_DATA (outbuf) = g_malloc (outsize);
GST_BUFFER_TIMESTAMP (outbuf) = GST_BUFFER_TIMESTAMP (buf);
GST_BUFFER_DURATION (outbuf) = GST_BUFFER_DURATION (buf);
width = jpegenc->width;
height = jpegenc->height;