summaryrefslogtreecommitdiff
path: root/gst
diff options
context:
space:
mode:
authorThiago Santos <ts.santos@sisa.samsung.com>2014-06-16 19:30:06 -0300
committerThiago Santos <ts.santos@sisa.samsung.com>2014-06-25 12:13:07 -0300
commitb7516dbf7cfc0321f7ec918bfaf27dcbd49fd130 (patch)
treeff88ecf6e6029a68e46b4e9b81776725acf68691 /gst
parent8f7e5811064fc5a1bd90879276698722c758bd68 (diff)
downloadgstreamer-b7516dbf7cfc0321f7ec918bfaf27dcbd49fd130.tar.gz
baseparse: avoid returning _OK for _NOT_LINKED
When the parser receives non-aligned packets it can push a buffer and get a not-linked return while still leaving some data still to be parsed. This remaining data will not form a complete frame and the subclass likely returns _OK and baseparse would take that as the return, while it the element is actually not-linked. This patch fixes this by storing the last flow-return from a push and using that if a parsing operation doesn't result in data being flushed or skipped. https://bugzilla.gnome.org/show_bug.cgi?id=731474
Diffstat (limited to 'gst')
0 files changed, 0 insertions, 0 deletions