)]}' { "commit": "c3373976c4e0463cc8430506e66ea32e8dda484f", "tree": "9118b57554d0a1938057ed840f321dbcb99a3b6d", "parents": [ "4ad37153248b2c14b6d50a2210503040959a88a2" ], "author": { "name": "Sebastian Dröge", "email": "sebastian@centricular.com", "time": "Mon Apr 16 21:27:47 2018 +0300" }, "committer": { "name": "Sebastian Dröge", "email": "sebastian@centricular.com", "time": "Tue May 01 11:29:36 2018 +0300" }, "message": "flacparse: Drain the parser when a CAPS event is received\n\nAfter a CAPS event, in theory a new stream can start and it might start\nwith the FLAC headers again. We can\u0027t detect FLAC headers in the middle\nof the stream, so we drain the parser to be able to detect either FLAC\nheaders after the CAPS event or the continuation of the previous stream.\n\nThis fixes for example\n\ngst-launch-1.0 audiotestsrc num-buffers\u003d200 ! flacenc ! c. \\\n audiotestsrc num-buffers\u003d200 freq\u003d880 ! flacenc ! c. \\\n concat name\u003dc ! rtpgstpay ! udpsink host\u003d127.0.0.1 port\u003d5000\n\ngst-launch-1.0 udpsrc multicast-group\u003d127.0.0.1 port\u003d5000 \\\n caps\u003dapplication/x-rtp,media\u003dapplication,clock-rate\u003d90000,encoding-name\u003dX-GST ! \\\n rtpgstdepay ! flacparse ! flacdec ! audioconvert ! pulsesin\n", "tree_diff": [ { "type": "modify", "old_id": "69a69280ae4714d5f37df92f5e15ec359b81c8c6", "old_mode": 33188, "old_path": "gst/audioparsers/gstflacparse.c", "new_id": "90176af9ad17b5e8c6b8529bde8a6bb8668214c1", "new_mode": 33188, "new_path": "gst/audioparsers/gstflacparse.c" } ] }