summaryrefslogtreecommitdiffstats
path: root/sys/acmenc/acmenc.c
diff options
context:
space:
mode:
authorRené Stadler <mail@renestadler.de>2009-04-05 03:50:19 +0300
committerDave Robillard <dave@drobilla.net>2009-05-03 12:03:14 -0400
commit3118956cdf6ca4e8237fada976c67a64c1581545 (patch)
tree88fedb109b568216b62e67cfe1483e6c7e33b828 /sys/acmenc/acmenc.c
parentfe434c8ac51b8a72cb94f9e7109824feb0ca0b4a (diff)
downloadgst-plugins-bad-3118956cdf6ca4e8237fada976c67a64c1581545.tar.gz
gst-plugins-bad-3118956cdf6ca4e8237fada976c67a64c1581545.tar.bz2
gst-plugins-bad-3118956cdf6ca4e8237fada976c67a64c1581545.zip
baseparse: Fix push mode seeking (aacparse, amrparse)
Sending the flush-start event forward before taking the stream lock actually works, in contrast to deadlocking in downstream preroll_wait (hunk 1). After that we get the chain function being stuck in a busy loop. This is fixed by updating the minimum frame size inside the synchronization loop because the subclass asks for more data in this way (hunk 2). Finally, this leads to a very probable crash because the subclass can find a valid frame with a size greater than the currently available data in the adapter. This makes the subsequent gst_adapter_take_buffer call return NULL, which is not expected (hunk 3).
Diffstat (limited to 'sys/acmenc/acmenc.c')
0 files changed, 0 insertions, 0 deletions