From a81d8ca77759e1c087fda1b919c20d343c5c6764 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Fri, 27 Mar 2009 19:37:47 +0000 Subject: jp2kdec: implement basic QoS Don't try to decode frames that are going to be late anyway. --- ext/jp2k/gstjasperdec.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'ext/jp2k/gstjasperdec.h') diff --git a/ext/jp2k/gstjasperdec.h b/ext/jp2k/gstjasperdec.h index 84a82929..cc0f3394 100644 --- a/ext/jp2k/gstjasperdec.h +++ b/ext/jp2k/gstjasperdec.h @@ -77,6 +77,13 @@ struct _GstJasperDec gint framerate_numerator; gint framerate_denominator; + + GstSegment segment; + gboolean discont; + + /* QoS stuff *//* with LOCK */ + gdouble proportion; + GstClockTime earliest_time; }; struct _GstJasperDecClass -- cgit v1.2.1