summaryrefslogtreecommitdiffstats
path: root/ext/jp2k/gstjasperdec.h
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim.muller@collabora.co.uk>2009-03-27 19:37:47 +0000
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2009-03-27 19:55:19 +0000
commita81d8ca77759e1c087fda1b919c20d343c5c6764 (patch)
tree5723acb546aee91f8ad465dfe161b1b8a3236b07 /ext/jp2k/gstjasperdec.h
parentd6550696d45170fe6a712b03b82c21881ef40bb7 (diff)
downloadgst-plugins-bad-a81d8ca77759e1c087fda1b919c20d343c5c6764.tar.gz
gst-plugins-bad-a81d8ca77759e1c087fda1b919c20d343c5c6764.tar.bz2
gst-plugins-bad-a81d8ca77759e1c087fda1b919c20d343c5c6764.zip
jp2kdec: implement basic QoS
Don't try to decode frames that are going to be late anyway.
Diffstat (limited to 'ext/jp2k/gstjasperdec.h')
-rw-r--r--ext/jp2k/gstjasperdec.h7
1 files changed, 7 insertions, 0 deletions
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