diff options
author | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2009-03-27 19:37:47 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2009-03-27 19:55:19 +0000 |
commit | a81d8ca77759e1c087fda1b919c20d343c5c6764 (patch) | |
tree | 5723acb546aee91f8ad465dfe161b1b8a3236b07 /ext/jp2k/gstjasperdec.h | |
parent | d6550696d45170fe6a712b03b82c21881ef40bb7 (diff) | |
download | gst-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.h | 7 |
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 |