summaryrefslogtreecommitdiffstats
path: root/gst/videomixer/videomixer.h
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2009-07-10 17:23:03 +0200
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2009-07-10 17:23:03 +0200
commit4ccd9c92ae107f58e5c1e36cf4d6f24d6afef7d0 (patch)
treef0622898b9defa378e0447cde0b0a08e41b2090a /gst/videomixer/videomixer.h
parent34c97c0c6f64052953ead4ae734746597f1a97c2 (diff)
videomixer: Remove the calculate_frame_size() function and use libgstvideo instead
Diffstat (limited to 'gst/videomixer/videomixer.h')
-rw-r--r--gst/videomixer/videomixer.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gst/videomixer/videomixer.h b/gst/videomixer/videomixer.h
index 7266a9af..7985a1a0 100644
--- a/gst/videomixer/videomixer.h
+++ b/gst/videomixer/videomixer.h
@@ -21,6 +21,7 @@
#define __GST_VIDEO_MIXER_H__
#include <gst/gst.h>
+#include <gst/video/video.h>
#include "videomixerpad.h"
GST_DEBUG_CATEGORY_EXTERN (gst_videomixer_debug);
@@ -84,6 +85,8 @@ struct _GstVideoMixer
/* the master pad */
GstVideoMixerPad *master;
+ GstVideoFormat fmt;
+
gint in_width, in_height;
gint out_width, out_height;
gboolean setcaps;
@@ -107,7 +110,6 @@ struct _GstVideoMixer
void (*fill_checker) (guint8 * dest, gint width, gint height);
void (*fill_color) (guint8 * dest, gint width, gint height, gint colY, gint colU, gint colV);
- size_t (*calculate_frame_size) (gint width, gint height);
};
struct _GstVideoMixerClass