[mythtv-firehose] mythtv branch master updated by jyavenard. v0.28-pre-1375-gd3803e9

Git Repo Owner noreply at mythtv.org
Tue May 20 14:28:34 UTC 2014

The branch, master has been updated on the
mythtv repository by gitolite user jyavenard.
       via  d3803e9c7e042a723e3ad3fac0b1dba7c63defd0 (commit)
       via  dcb7fbbd151f0d6b215ffbd3525b522889023bbd (commit)
      from  100e830c06180ca114f820865575b1ea7b45db5b (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 d3803e9c7e042a723e3ad3fac0b1dba7c63defd0
Author:    Jean-Yves Avenard <jyavenard at mythtv.org> at Tue, 20 May 2014 23:17:44 +1000
Committer: Jean-Yves Avenard <jyavenard at mythtv.org> at Wed, 21 May 2014 00:26:42 +1000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=d3803e9c7e042a723e3ad3fac0b1dba7c63defd0

Don't attempt to test for GPU decoding methods once one has ben found
It is now possible with video cards such as AMD to have support for both VAAPI and VDPAU; which would cause myth to attempt to use both at once.
There's also no need to test for GPU methods if hardware decoding is disabled.

Simplify code while at it.

(cherry picked from commit 5002c1ca51ec8ed9367e54a517e1ad4f378fff78)

commit dcb7fbbd151f0d6b215ffbd3525b522889023bbd
Author:    Jean-Yves Avenard <jyavenard at mythtv.org> at Wed, 21 May 2014 00:24:04 +1000
Committer: Jean-Yves Avenard <jyavenard at mythtv.org> at Wed, 21 May 2014 00:24:04 +1000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=dcb7fbbd151f0d6b215ffbd3525b522889023bbd

Re-enable old FFmpeg's VDPAU API for non-nvidia drivers
This is a partial reverse of a5b996c06dd73b378b39bbc772183c4abf53e4d7.
The new FFmpeg hwaccel API causes issues with non-nvidia drivers, causing either crashes (nouveau drivers) or playback issues (AMD).
So only use hwaccel with NVIDIA native drivers.
As of today (2014-05-20) The Ondine_clip.mpg doesn't play with any non nvidia drivers anyway (ref #11377)

This is a very direty solution, I don't like it but I couldn't find a universal solution working on all platforms at once.
Hopefully, hwaccel in FFmpeg 2.x works better


Summary of changes:
 mythtv/libs/libmythtv/avformatdecoder.cpp    |  148 +++++++++++++++++++------
 mythtv/libs/libmythtv/mythcodecid.h          |   28 +++---
 mythtv/libs/libmythtv/videoout_nullvdpau.cpp |    7 +-
 mythtv/libs/libmythtv/videoout_vdpau.cpp     |   13 ++-
 mythtv/libs/libmythtv/videoout_vdpau.h       |    1 +
 mythtv/libs/libmythui/mythrender_vdpau.cpp   |   25 ++++-
 mythtv/libs/libmythui/mythrender_vdpau.h     |    1 +
 7 files changed, 165 insertions(+), 58 deletions(-)


More information about the mythtv-firehose mailing list