gstreamer/gst/audioparsers
Sebastian Dröge 336a97157c flacparse: Drain the parser when a CAPS event is received
After a CAPS event, in theory a new stream can start and it might start
with the FLAC headers again. We can't detect FLAC headers in the middle
of the stream, so we drain the parser to be able to detect either FLAC
headers after the CAPS event or the continuation of the previous stream.

This fixes for example

gst-launch-1.0 audiotestsrc num-buffers=200 ! flacenc ! c. \
    audiotestsrc num-buffers=200 freq=880 ! flacenc ! c. \
    concat name=c ! rtpgstpay ! udpsink host=127.0.0.1 port=5000

gst-launch-1.0 udpsrc multicast-group=127.0.0.1 port=5000 \
    caps=application/x-rtp,media=application,clock-rate=90000,encoding-name=X-GST ! \
    rtpgstdepay ! flacparse ! flacdec ! audioconvert ! pulsesin
2018-04-16 21:29:57 +03:00
..
gstaacparse.c aacparse: When parsing raw input, accept frames of any size 2018-01-18 19:09:19 +00:00
gstaacparse.h aacparse: improve channel/rate handling 2016-09-06 15:09:21 +01:00
gstac3parse.c ac3parse: fix not-linked handling causing glitches when selecting stream 2017-08-16 14:09:31 +01:00
gstac3parse.h ac3parse: Post AUDIO_CODEC tag 2013-12-16 10:03:05 +01:00
gstamrparse.c Update Edgard Lima's email 2017-02-27 00:34:19 +00:00
gstamrparse.h docs: remove outdated doc strings 2015-07-07 17:12:02 +02:00
gstdcaparse.c dcaparse: Really fix "usage before unmap" 2017-09-04 17:06:39 +02:00
gstdcaparse.h dcaparse: Post AUDIO_CODEC tag 2013-12-16 10:03:05 +01:00
gstflacparse.c flacparse: Drain the parser when a CAPS event is received 2018-04-16 21:29:57 +03:00
gstflacparse.h Revert "flacparse: fix header rewriting being ignored" 2017-12-07 11:17:32 +00:00
gstmpegaudioparse.c docs: update two references to the removed 'mad' plugin 2017-03-20 17:03:54 +00:00
gstmpegaudioparse.h Fix FSF address 2012-11-04 00:07:18 +00:00
gstsbcparse.c good: use new gst_element_class_add_static_pad_template() 2016-03-24 14:32:20 +02:00
gstsbcparse.h sbcparse: Fix up values for allocation enumeration. 2017-03-02 11:29:25 -05:00
gstwavpackparse.c good: use new gst_element_class_add_static_pad_template() 2016-03-24 14:32:20 +02:00
gstwavpackparse.h wavpackparse: Post AUDIO_CODEC tag 2013-12-16 10:03:06 +01:00
Makefile.am Remove plugin specific static build option 2017-05-16 14:41:19 -04:00
meson.build Add support for Meson as alternative/parallel build system 2016-08-20 11:21:12 +01:00
plugin.c audioparsers: add SBC audio parser 2013-01-15 17:45:30 +00:00