gst/videoscale/gstvideoscale.c: Dunno how that one managed to stay there... Fixed.

Original commit message from CVS:
2004-01-26  Julien MOUTTE <julien@moutte.net>

* gst/videoscale/gstvideoscale.c: (gst_videoscale_chain): Dunno how
that one managed to stay there... Fixed.
This commit is contained in:
Julien Moutte 2004-01-26 20:12:31 +00:00
parent 0b7b575507
commit de63ba5097
2 changed files with 5 additions and 3 deletions

View file

@ -1,3 +1,8 @@
2004-01-26 Julien MOUTTE <julien@moutte.net>
* gst/videoscale/gstvideoscale.c: (gst_videoscale_chain): Dunno how
that one managed to stay there... Fixed.
2004-01-26 Jeremy Simon <jesimon@libertysurf.fr>
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),

View file

@ -369,12 +369,9 @@ gst_videoscale_chain (GstPad *pad, GstData *_data)
g_return_if_fail (size == videoscale->from_buf_size);
outbuf = gst_buffer_new();
outbuf = gst_pad_alloc_buffer (videoscale->srcpad,
GST_BUFFER_OFFSET_NONE, videoscale->to_buf_size);
/*GST_BUFFER_SIZE(outbuf) = videoscale->to_buf_size;*/
/*GST_BUFFER_DATA(outbuf) = g_malloc (videoscale->to_buf_size);*/
GST_BUFFER_TIMESTAMP(outbuf) = GST_BUFFER_TIMESTAMP(buf);
g_return_if_fail(videoscale->format);