gstreamer/gst
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
..
alpha Remove plugin specific static build option 2017-05-16 14:41:19 -04:00
apetag Remove plugin specific static build option 2017-05-16 14:41:19 -04:00
audiofx Update ORC files 2018-02-09 09:00:46 +01:00
audioparsers flacparse: Drain the parser when a CAPS event is received 2018-04-16 21:29:57 +03:00
auparse Remove plugin specific static build option 2017-05-16 14:41:19 -04:00
autodetect Remove plugin specific static build option 2017-05-16 14:41:19 -04:00
avi avidemux: provide average bitrate tag 2017-07-09 10:55:00 +02:00
cutter Remove plugin specific static build option 2017-05-16 14:41:19 -04:00
debugutils Remove plugin specific static build option 2017-05-16 14:41:19 -04:00
deinterlace Update ORC files 2018-02-09 09:00:46 +01:00
dtmf Remove plugin specific static build option 2017-05-16 14:41:19 -04:00
effectv Remove plugin specific static build option 2017-05-16 14:41:19 -04:00
equalizer equalizer: Fix -Wincompatible-pointer-types warning 2017-12-11 21:57:25 +00:00
flv flvmux: unref return of aggregator_pad_peek_buffer 2018-04-13 23:01:20 +02:00
flx Remove plugin specific static build option 2017-05-16 14:41:19 -04:00
goom Remove plugin specific static build option 2017-05-16 14:41:19 -04:00
goom2k1 goom2k1: Convert source files to UTF-8 2017-08-16 13:07:45 +01:00
icydemux Remove plugin specific static build option 2017-05-16 14:41:19 -04:00
id3demux Remove plugin specific static build option 2017-05-16 14:41:19 -04:00
imagefreeze imagefreeze: fix use-after-free on seek event 2017-07-03 20:43:12 +01:00
interleave interleave: fix memory leak of GAP buffers 2018-01-31 15:16:46 +00:00
isomp4 qtmux: Fix leak 2018-04-13 22:49:43 +02:00
law mulawdec: Unmap input buffer if failing to map the output buffer 2017-07-27 14:23:14 +03:00
level Use proper GtkDoc notation for NULL/FALSE/TRUE 2017-10-03 16:30:10 -07:00
matroska matroskademux: Add comment about Opus clipping 2018-04-13 09:50:35 +01:00
monoscope monoscope: Only fixate pixel-aspect-ratio if the field exists 2018-04-11 21:42:16 +02:00
multifile splitmuxsink: Don't send fragment-opened-closed message if the reference ctx is NULL 2018-04-11 17:59:21 +03:00
multipart Remove plugin specific static build option 2017-05-16 14:41:19 -04:00
replaygain rganalysis: Fix left shift of signed values 2017-11-23 07:59:07 +01:00
rtp rtp: Fix compilation with non-C99 compilers 2018-03-20 12:08:28 +02:00
rtpmanager rtxsend: fix wrong memory layout assumption 2018-04-06 20:25:04 +02:00
rtsp rtspsrc: reject segment seeks 2018-03-26 21:13:12 +02:00
shapewipe Remove plugin specific static build option 2017-05-16 14:41:19 -04:00
smpte Remove plugin specific static build option 2017-05-16 14:41:19 -04:00
spectrum Use proper GtkDoc notation for NULL/FALSE/TRUE 2017-10-03 16:30:10 -07:00
udp udpsrc: switch to using a buffer pool 2018-03-21 17:47:27 -04:00
videobox Update ORC files 2018-02-09 09:00:46 +01:00
videocrop videocrop: Add GstVideoCropMeta support 2017-12-17 15:39:53 -05:00
videofilter Remove plugin specific static build option 2017-05-16 14:41:19 -04:00
videomixer Update ORC files 2018-02-09 09:00:46 +01:00
wavenc Remove plugin specific static build option 2017-05-16 14:41:19 -04:00
wavparse wavparse: Add support for growing WAV files 2017-08-14 16:02:35 +03:00
y4m Remove plugin specific static build option 2017-05-16 14:41:19 -04:00
Makefile.am build: build plugins and examples in parallel where possible 2010-03-29 11:00:57 +01:00
meson.build Add support for Meson as alternative/parallel build system 2016-08-20 11:21:12 +01:00