audiodecoder: Where possible, skip decode for GST_SEGMENT_FLAG_TRICKMODE_NO_AUDIO
authorJan Schmidt <jan@centricular.com>
Tue, 27 Jan 2015 18:20:19 +0000 (05:20 +1100)
committerJan Schmidt <jan@centricular.com>
Thu, 5 Feb 2015 17:09:37 +0000 (04:09 +1100)
commit4f961e6d95f85120d6e30d06515bfd4c76321cb3
treea3c0949878fc2f94b5372fb7a78cd85fe3f1559b
parentca231ce321cf0c13ed7b5d6c1ef814b28aa6c921
audiodecoder: Where possible, skip decode for GST_SEGMENT_FLAG_TRICKMODE_NO_AUDIO

If we have timestamps on input buffers and are in trickmode no-audio
mode, then don't pass anything to the subclass for decode and simply
send gap events downstream

Only for forward playback for now - reverse requires accumulating
GAP events and pushing out in reverse order.

https://bugzilla.gnome.org/show_bug.cgi?id=735666
gst-libs/gst/audio/gstaudiodecoder.c