summaryrefslogtreecommitdiff
path: root/gst/ivfparse/gstivfparse.h
diff options
context:
space:
mode:
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>2014-04-18 18:12:36 +0200
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>2014-04-18 18:31:15 +0200
commitabadffd4d848860ff19d4545502fc85f473a5a46 (patch)
treefefa43549212ee212e44a32fef3124320a7ca028 /gst/ivfparse/gstivfparse.h
parent3b308cba3c6e5bfe2dbfc1a1f83640b44a27e5f9 (diff)
downloadgstreamer-plugins-bad-abadffd4d848860ff19d4545502fc85f473a5a46.tar.gz
ivfparse: detect and propagate resolution changes.
Detect resolution changes on key frames, and propagate the resulting caps to the src pad. Only the uncompressed data chunk is decoded, so avoid using the new VP8 bitstream parsing library for now. Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Diffstat (limited to 'gst/ivfparse/gstivfparse.h')
-rw-r--r--gst/ivfparse/gstivfparse.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gst/ivfparse/gstivfparse.h b/gst/ivfparse/gstivfparse.h
index c3c43f3b9..ee0c50d97 100644
--- a/gst/ivfparse/gstivfparse.h
+++ b/gst/ivfparse/gstivfparse.h
@@ -52,8 +52,11 @@ struct _GstIvfParse
GstIvfParseState state;
+ guint width;
+ guint height;
guint fps_n;
guint fps_d;
+ gboolean update_caps;
};
struct _GstIvfParseClass