summaryrefslogtreecommitdiff
path: root/gst/pnm/gstpnmdec.h
diff options
context:
space:
mode:
authorReynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>2015-10-17 01:51:24 -0700
committerReynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>2015-10-18 14:53:01 -0700
commitec5648763dd00b09ae2522372d453417ae8403f0 (patch)
tree600166f142f4bfc5f313eda3a2bb1859579f4b41 /gst/pnm/gstpnmdec.h
parent4b5e2f68a3767ddd66681c7a20c05bb2829c3234 (diff)
downloadgstreamer-plugins-bad-ec5648763dd00b09ae2522372d453417ae8403f0.tar.gz
pnmdec: propagate input state after parsing
Store and copy input state fields when setting the output state of the decoder. Avoids problems like the framerate set by an upstream element being ignored Related to: https://bugzilla.gnome.org/show_bug.cgi?id=756563
Diffstat (limited to 'gst/pnm/gstpnmdec.h')
-rw-r--r--gst/pnm/gstpnmdec.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/pnm/gstpnmdec.h b/gst/pnm/gstpnmdec.h
index a148f72c9..28a3c5053 100644
--- a/gst/pnm/gstpnmdec.h
+++ b/gst/pnm/gstpnmdec.h
@@ -41,6 +41,7 @@ struct _GstPnmdec
GstElement element;
GstVideoDecoder decoder;
GstPnmInfoMngr mngr;
+ GstVideoCodecState *input_state;
guint size, last_byte, current_size ;
GstBuffer *buf;
};