[mythtv-commits] mythtv branch fixes/0.26 updated by jyavenard. v0.26.0-163-g27fa52d

Git Repo Owner noreply at mythtv.org
Wed May 15 01:54:10 UTC 2013


The branch, fixes/0.26 has been updated on the
mythtv repository by gitolite user jyavenard.
       via  27fa52d288ec01f017b43c1f1ec09382c4baaa2f (commit)
       via  cada8b8323f392c511b20474f558a5281494ceab (commit)
       via  1a9aadf0389750bd0827d0e2bb906f54b073ad9b (commit)
       via  6d1ee08f14b70be52104dce8609f5953426e0527 (commit)
       via  f0d923433099c40e67d7dbf2ec8eaf0c560dbd40 (commit)
       via  fbcf22f9b859fddc739727178da06779878b9bfc (commit)
       via  d942db69fc0d7ce49a6fdd3b30308a455c13e702 (commit)
       via  22428f160f5260ff66a90bd168183af805a05dae (commit)
      from  ac5525d7c274d0c2bc4e9cb3f0c267d0fedf0302 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 27fa52d288ec01f017b43c1f1ec09382c4baaa2f
Author:    Jean-Yves Avenard <jyavenard at mythtv.org> at Tue, 14 May 2013 10:58:46 +1000
Committer: Jean-Yves Avenard <jyavenard at mythtv.org> at Wed, 15 May 2013 10:57:11 +1000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=27fa52d288ec01f017b43c1f1ec09382c4baaa2f

Rework RAOP audio sync
commit 9ec7421138adef73ef9cb83b74e046092fecdd6a that fixed audio timestamp calculations revealed an issue in the way RAOP was calculating and setting time syncing.
Rework how things are done: We now calculate the audio card latency and simply drop the initial audio frames amounting for such length of time. From that point on, when we get too far behind we drop all queued audio and restart.

Rather than dropping a whole audio packet at a time (352 frames) we now drop frame by frame, so re-syncs are much smoother.

Surprisingly, this simpler method gives much better results. Synchronisation across multiple airplay device is almost perfect (tested across 2 macs and one linux). Remote audio and video sync are spot on.

Fixes #11530
(cherry picked from commit 96f58cbf4baa16b2008888f92d4ce2fb7e615aec)



commit cada8b8323f392c511b20474f558a5281494ceab
Author:    Jean-Yves Avenard <jyavenard at mythtv.org> at Sun, 12 May 2013 18:08:50 +1000
Committer: Jean-Yves Avenard <jyavenard at mythtv.org> at Wed, 15 May 2013 10:56:56 +1000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=cada8b8323f392c511b20474f558a5281494ceab

If AV codec context doesn't match the context for which it was first opened, close/re-open it.
There's something suspiciously wrong about the way we handle change of streams. This is at best a work-around.

Fixes #11519
(cherry picked from commit 40db16fc3b486042469df8e84290e5d42fc6036f)



commit 1a9aadf0389750bd0827d0e2bb906f54b073ad9b
Author:    Jean-Yves Avenard <jyavenard at mythtv.org> at Fri, 10 May 2013 13:04:52 +1000
Committer: Jean-Yves Avenard <jyavenard at mythtv.org> at Wed, 15 May 2013 10:56:30 +1000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=1a9aadf0389750bd0827d0e2bb906f54b073ad9b

Ignore network error on an interface that no longer exists.
Under some circumstances, a network interface can disappear during the lifetime of the process. Simply ignore those rather than failing the whole process (by default, networking operations must work on all interfaces found)
(cherry picked from commit fd44e2fcbbc4c3dc6fe835c1d62686fafe3b2833)



commit 6d1ee08f14b70be52104dce8609f5953426e0527
Author:    Jean-Yves Avenard <jyavenard at mythtv.org> at Mon, 6 May 2013 13:14:47 +1000
Committer: Jean-Yves Avenard <jyavenard at mythtv.org> at Wed, 15 May 2013 10:56:04 +1000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=6d1ee08f14b70be52104dce8609f5953426e0527

Rewrite of StreamingRingBuffer::safe_read
safe_read was based on FFmpeg's ffurl_read_complete, however when an EOF or an error is encountered, ffurl_read_complete returns the error code rather than the number of bytes read so far.
Rather than wait for FFmpeg to fix it (ref: https://ffmpeg.org/trac/ffmpeg/ticket/2537) ; work around it.
safe_read now will set errno as expected and always return a value >= 0 representing the number of bytes actually read.

Fixes #11263
(cherry picked from commit 8b8ec72b005ecf1cb9d36bb4f82469b3718fefb4)



commit f0d923433099c40e67d7dbf2ec8eaf0c560dbd40
Author:    Jean-Yves Avenard <jyavenard at mythtv.org> at Sun, 5 May 2013 22:41:23 +1000
Committer: Jean-Yves Avenard <jyavenard at mythtv.org> at Wed, 15 May 2013 10:55:20 +1000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=f0d923433099c40e67d7dbf2ec8eaf0c560dbd40

Apply patch from XBMC by Joakim Plate: "changed: allow 4 second skew between streams in mov before attempting to seek" (cherry picked from commit d0ea1417db42debc12e56030581e573151960538)
Conflicts:
	mythtv/external/FFmpeg/README.sync



commit fbcf22f9b859fddc739727178da06779878b9bfc
Author:    Joakim Plate <elupus at ecce.se> at Wed, 8 Dec 2010 14:03:43 +0000
Committer: Jean-Yves Avenard <jyavenard at mythtv.org> at Wed, 15 May 2013 10:53:43 +1000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=fbcf22f9b859fddc739727178da06779878b9bfc

changed: allow 4 second skew between streams in mov before attempting to seek
Signed-off-by: Jean-Yves Avenard <jyavenard at mythtv.org>
(cherry picked from commit e4170c604e6a6af969e5de74ac740ac596686da8)



commit d942db69fc0d7ce49a6fdd3b30308a455c13e702
Author:    Jean-Yves Avenard <jyavenard at mythtv.org> at Wed, 24 Apr 2013 23:26:35 +1000
Committer: Jean-Yves Avenard <jyavenard at mythtv.org> at Wed, 15 May 2013 10:52:00 +1000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=d942db69fc0d7ce49a6fdd3b30308a455c13e702

Properly handle multi-part http request in AirPlay video
This commit also adds the basics required to support AirPlay photo. Incidentally, properly handling multi-part data now allows to play videos from the iPhone "Photos" app.
(cherry picked from commit 75541357af4a527057301f8f1b4b2ae0368f47b1)



commit 22428f160f5260ff66a90bd168183af805a05dae
Author:    Jean-Yves Avenard <jyavenard at mythtv.org> at Wed, 24 Apr 2013 23:22:53 +1000
Committer: Jean-Yves Avenard <jyavenard at mythtv.org> at Wed, 15 May 2013 10:51:27 +1000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=22428f160f5260ff66a90bd168183af805a05dae

Fix crash.
When playback request failed for whatever reason, if we were to check for the playback status it would crash due to ic being NULL.
(cherry picked from commit cc1ca2ef2c12cd25cbced5b57b527382d2d70926)



-----------------------------------------------------------------------

Summary of changes:
 mythtv/external/FFmpeg/README.sync                 |    2 +
 mythtv/external/FFmpeg/libavformat/mov.c           |    4 +-
 mythtv/libs/libmythbase/serverpool.cpp             |   16 ++
 .../libs/libmythtv/AirPlay/mythairplayserver.cpp   |  108 ++++++++++++---
 mythtv/libs/libmythtv/AirPlay/mythairplayserver.h  |    3 +
 .../libs/libmythtv/AirPlay/mythraopconnection.cpp  |  149 +++++++++++++-------
 mythtv/libs/libmythtv/AirPlay/mythraopconnection.h |    2 +-
 mythtv/libs/libmythtv/avformatdecoder.cpp          |   13 ++-
 mythtv/libs/libmythtv/streamingringbuffer.cpp      |   21 +++-
 9 files changed, 242 insertions(+), 76 deletions(-)

-- 



More information about the mythtv-commits mailing list