Commit graph

13 commits

Author SHA1 Message Date
Sebastian Dröge cb262e2465 Correctly convert timestamps between us and ns 2012-10-15 16:28:39 +02:00
Sebastian Dröge 2fe74efc04 Set SYNC_FRAME flag on buffers if required 2012-10-15 16:28:39 +02:00
Sebastian Dröge ed98e8cf60 Improve flushing 2012-10-15 16:28:38 +02:00
Sebastian Dröge d2aff4ecd3 Wait at most 0.5 seconds for getting an input buffer for EOS 2012-10-15 16:28:38 +02:00
Sebastian Dröge 3be4965d00 Correctly check for flushing 2012-10-15 16:28:38 +02:00
Sebastian Dröge 6a48db3d0f Retry for negative return values when dequeueing buffers 2012-10-15 16:28:38 +02:00
Sebastian Dröge 911ca50971 Fix refcount bug 2012-10-15 16:28:38 +02:00
Sebastian Dröge b63c58e850 The MediaCodec API is apparently not threadsafe between stop() and release()
So we don't call release() and just hope for the GC to release the
codec in time.
2012-10-15 16:28:38 +02:00
Sebastian Dröge bafd4a0b19 Don't get the output format from the codec before it is ready
Apparently things are crashing otherwise.
2012-10-15 16:28:38 +02:00
Sebastian Dröge c4258069bb Get the input buffers from the codec 2012-10-15 16:28:38 +02:00
Sebastian Dröge 4966f68512 Fixes to element/elementfactory creation 2012-10-15 16:28:37 +02:00
Sebastian Dröge e9dcb1b329 Add important FIXME 2012-10-15 16:28:37 +02:00
Sebastian Dröge 1e73da2941 Add video decoder element 2012-10-15 16:28:37 +02:00