[mythtv-commits] Ticket #10658: Rework AVFRingBuffer to return -EAGAIN when there is no data
MythTV
noreply at mythtv.org
Mon Jul 23 18:20:38 UTC 2012
#10658: Rework AVFRingBuffer to return -EAGAIN when there is no data
------------------------------+-----------------------------
Reporter: danielk | Owner: danielk
Type: Developer Task | Status: accepted
Priority: minor | Milestone: 0.27
Component: MythTV - General | Version: Master Head
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
------------------------------+-----------------------------
Comment (by danielk):
With some debugging I've discovered that if you return -EAGAIN a number of
times to libav it will mark the stream as having hit EOF. Even if you
later reset the EOF flag any partially decoded data will be chucked by
libav.
This means this solution is unworkable as is. However, we can still return
partial reads as long as we avoid returning zero byte reads or -EAGAIN
reads.
--
Ticket URL: <http://code.mythtv.org/trac/ticket/10658#comment:3>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
More information about the mythtv-commits
mailing list