[mythtv-commits] Ticket #12179: MythTV doesn't play file
MythTV
noreply at mythtv.org
Thu Jun 19 06:06:42 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
-------------------------------------+-----------------------------
Comment (by Jean-Yves Avenard <jyavenard@…>):
In [changeset:"5aa484744061688ac850a70d16980834e736f44c/mythtv"]:
{{{
#!CommitTicketReference repository="mythtv"
revision="5aa484744061688ac850a70d16980834e736f44c"
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
(cherry picked from commit 5433b7647f6ce97b606c36829340ae311ef7da4c)
Conflicts:
mythtv/libs/libmythtv/ringbuffer.cpp
}}}
--
Ticket URL: <https://code.mythtv.org/trac/ticket/12179#comment:5>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list