GNOME Bugzilla – Bug 690994
videodecoder: Allow parse function to not use all data on the adapter
Last modified: 2013-02-12 09:18:46 UTC
When the decoder is accepting non-packetized data, it currently needs to consume all data in the parse function. This is not useful/optimal if the parse function is looking for packets over the border of different incoming buffers. I propose to also allow exiting the parse loop if the parse function did not consume any data from the adapter.
Created attachment 232509 [details] [review] 0001-videodecoder-allow-parse-function-to-not-use-all-dat.patch
commit d189beda4d130515d88920de4f1d240c3aca0435 Author: Thijs Vermeir <thijsvermeir@gmail.com> Date: Wed Jan 2 12:15:25 2013 +0100 videodecoder: allow parse function to not use all data on adapter