summaryrefslogtreecommitdiffstats
path: root/ext/gdk_pixbuf/pixbufscale.h
diff options
context:
space:
mode:
authorJan Schmidt <thaytan@mad.scientist.com>2005-01-12 05:53:46 +0000
committerJan Schmidt <thaytan@mad.scientist.com>2005-01-12 05:53:46 +0000
commitb1ca5dd2e2389ee0e8358a34565a805daea6b0ca (patch)
treec4108e4a7334eeced1d4824ae34a94aebc9cfd62 /ext/gdk_pixbuf/pixbufscale.h
parent3b12894436aaeaafd061caba3e1f222355107b1b (diff)
ext/gdk_pixbuf/pixbufscale.*: to ensure rowstrides are calculated the same way as ffmpegcolorspace.
Original commit message from CVS: * ext/gdk_pixbuf/pixbufscale.c: (gst_pixbufscale_link), (pixbufscale_scale), (gst_pixbufscale_chain): * ext/gdk_pixbuf/pixbufscale.h: Incorporate changes from Tim-Philipp Mueller <t.i.m@orange.net> to ensure rowstrides are calculated the same way as ffmpegcolorspace. Use gst_buffer_stamp instead of copying timestamps manually, so that we pick up duration and offset also.
Diffstat (limited to 'ext/gdk_pixbuf/pixbufscale.h')
-rw-r--r--ext/gdk_pixbuf/pixbufscale.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/gdk_pixbuf/pixbufscale.h b/ext/gdk_pixbuf/pixbufscale.h
index 4e154044..0d9b10fe 100644
--- a/ext/gdk_pixbuf/pixbufscale.h
+++ b/ext/gdk_pixbuf/pixbufscale.h
@@ -1,6 +1,7 @@
/* GStreamer
* Copyright (C) <1999> Erik Walthinsen <omega@cse.ogi.edu>
* Copyright (C) <2004> Jan Schmidt <thaytan@mad.scientist.com>
+ * Copyright (C) <2004> Tim-Philipp Mueller <t.i.m@orange.net>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
@@ -66,7 +67,9 @@ struct _GstPixbufScale {
/* private */
gint from_buf_size;
+ gint from_stride;
gint to_buf_size;
+ gint to_stride;
};
struct _GstPixbufScaleClass {