From 9fb73a18e2565c5b7310260a697156293b6760a2 Mon Sep 17 00:00:00 2001 From: "Reynaldo H. Verdejo Pinochet" Date: Sat, 17 Oct 2015 01:51:24 -0700 Subject: 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 --- gst/pnm/gstpnmdec.h | 1 + 1 file changed, 1 insertion(+) (limited to 'gst/pnm/gstpnmdec.h') 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; }; -- cgit v1.2.1