[mythtv-commits] Ticket #12179: MythTV doesn't play file
MythTV
noreply at mythtv.org
Wed Jun 18 04:59:22 UTC 2014
#12179: MythTV doesn't play file
-------------------------------------+-----------------------------
Reporter: jyavenard | Owner: jyavenard
Type: Bug Report - General | Status: closed
Priority: minor | Milestone: 0.27.2
Component: MythTV - Video Playback | Version: Master Head
Severity: medium | Resolution: fixed
Keywords: | Ticket locked: 0
-------------------------------------+-----------------------------
Changes (by Jean-Yves Avenard <jyavenard@…>):
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"13845afd923f2706134424b2e458d02c89ab5d83/mythtv"]:
{{{
#!CommitTicketReference repository="mythtv"
revision="13845afd923f2706134424b2e458d02c89ab5d83"
Allow partial reads
Traditionally we've always had RingBuffer::Read() return the number of
bytes requested unless we are at the end of the file. But this blocks
libav which expects the read to complete fairly quickly even if it is a
blocking read. Instead we should block for only a short time waiting for
more data and then return what data we do have as long as we have at least
1 byte of data.
Based on a patch by DanielK
Fixes #12179
Ref #10658
}}}
--
Ticket URL: <https://code.mythtv.org/trac/ticket/12179#comment:3>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list