diff options
author | Gwenole Beauchesne <gwenole.beauchesne@intel.com> | 2014-04-18 18:12:36 +0200 |
---|---|---|
committer | Gwenole Beauchesne <gwenole.beauchesne@intel.com> | 2014-04-18 18:31:15 +0200 |
commit | abadffd4d848860ff19d4545502fc85f473a5a46 (patch) | |
tree | fefa43549212ee212e44a32fef3124320a7ca028 /gst/ivfparse/gstivfparse.h | |
parent | 3b308cba3c6e5bfe2dbfc1a1f83640b44a27e5f9 (diff) | |
download | gstreamer-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.h | 3 |
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 |