opusdec: add 'stats' property
All threads resolved!
All threads resolved!
Compare changes
Files
2- Guillaume Desmottes authored
Allow users to retrieve the number of samples, and their duration, generated using PLC.
+ 167
− 1
@@ -90,7 +90,8 @@ enum
@@ -156,6 +157,28 @@ gst_opus_dec_class_init (GstOpusDecClass * klass)
@@ -215,6 +238,13 @@ gst_opus_dec_start (GstAudioDecoder * dec)
@@ -586,6 +616,10 @@ opus_dec_chain_parse_data (GstOpusDec * dec, GstBuffer * buffer)
@@ -618,6 +652,11 @@ opus_dec_chain_parse_data (GstOpusDec * dec, GstBuffer * buffer)
@@ -766,6 +805,10 @@ opus_dec_chain_parse_data (GstOpusDec * dec, GstBuffer * buffer)
@@ -943,6 +986,126 @@ gst_opus_dec_handle_frame (GstAudioDecoder * adec, GstBuffer * buf)
@@ -959,6 +1122,9 @@ gst_opus_dec_get_property (GObject * object, guint prop_id, GValue * value,