[mythtv-commits] [MythTV/mythtv] a0b1c8: MythPlayer: Don't use AVSync for Picture in Picture

Mark Kendall noreply at github.com
Wed Mar 11 12:10:45 UTC 2020


  Branch: refs/heads/fixes/31
  Home:   https://github.com/MythTV/mythtv
  Commit: a0b1c8b147063ac6053c985604338a02517a258f
      https://github.com/MythTV/mythtv/commit/a0b1c8b147063ac6053c985604338a02517a258f
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2020-03-11 (Wed, 11 Mar 2020)

  Changed paths:
    M mythtv/libs/libmythtv/mythplayer.cpp

  Log Message:
  -----------
  MythPlayer: Don't use AVSync for Picture in Picture

- the old AVSync code was effectively a no-op for PiPs (and non-primary
PBPs) - the new code is not, so don't call it.

(cherry picked from commit 09ff6e7a80a5b61a24e3e0995521206bedb72e95)


  Commit: 061a833015be04925f4cab26995d05c6c6898ec1
      https://github.com/MythTV/mythtv/commit/061a833015be04925f4cab26995d05c6c6898ec1
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2020-03-11 (Wed, 11 Mar 2020)

  Changed paths:
    M mythtv/libs/libmythtv/videodisplayprofile.cpp

  Log Message:
  -----------
  VideoDisplayProfile: Fix some log output

(cherry picked from commit 1a136d4ee1737e8a5d982abf582fc4e7684c7347)


  Commit: 6c03848b6f23be261eeb22baa1db88f14adec0b9
      https://github.com/MythTV/mythtv/commit/6c03848b6f23be261eeb22baa1db88f14adec0b9
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2020-03-11 (Wed, 11 Mar 2020)

  Changed paths:
    M mythtv/libs/libmythtv/mythdeinterlacer.cpp
    M mythtv/libs/libmythtv/mythplayer.cpp
    M mythtv/libs/libmythtv/playercontext.h

  Log Message:
  -----------
  MythPlayer: Fix deinterlacing of PiPs

- deinterlacing is 'forced' to medium CPU deinterlacing

(cherry picked from commit d37db8e3ae564effde7bb1efd40ac47c76ed8815)


  Commit: eddb5076a4568835d6d8b70bb336373fd9e51ea7
      https://github.com/MythTV/mythtv/commit/eddb5076a4568835d6d8b70bb336373fd9e51ea7
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2020-03-11 (Wed, 11 Mar 2020)

  Changed paths:
    M mythtv/libs/libmythtv/mythplayer.cpp

  Log Message:
  -----------
  MythPlayer: Proper handling of PxP AVSync

(cherry picked from commit 734715e4959bfbd72e42e12221d5049fb79a9b99)


  Commit: ee408917203c9f5d46852dece085cb6c65a873aa
      https://github.com/MythTV/mythtv/commit/ee408917203c9f5d46852dece085cb6c65a873aa
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2020-03-11 (Wed, 11 Mar 2020)

  Changed paths:
    M mythtv/libs/libmythtv/videooutwindow.cpp

  Log Message:
  -----------
  VideoOutWindow: Fix deadlock when swapping PxP windows

(cherry picked from commit 8bb58dd5fca73723d959540e70d8083f1503a60d)


  Commit: 45b71d86411ae38f5890d7bd947d5fba592b58ff
      https://github.com/MythTV/mythtv/commit/45b71d86411ae38f5890d7bd947d5fba592b58ff
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2020-03-11 (Wed, 11 Mar 2020)

  Changed paths:
    M mythtv/libs/libmythtv/playercontext.h
    M mythtv/libs/libmythtv/tv_play.cpp

  Log Message:
  -----------
  TV: Fix PiP swap

- ensure the main context and other contexts are reset for using null
video and dis/allowing hardware decoders
- ensure there is no deadlock when the decoder for the main context
attempts to call back into the UI thread while holding the global
avlock.

(cherry picked from commit b1509250aee440dc82676fd2087628a9040053a8)


  Commit: 31c68a14e816df1ff256280821aeaf8e5f14610d
      https://github.com/MythTV/mythtv/commit/31c68a14e816df1ff256280821aeaf8e5f14610d
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2020-03-11 (Wed, 11 Mar 2020)

  Changed paths:
    M mythtv/libs/libmythtv/mythdeinterlacer.cpp

  Log Message:
  -----------
  MythDeinterlacer: Don't cleanup deinterlacer if already deinterlaced

(cherry picked from commit 62a8f70bcb6aa1015f545808e3b9007666b6dbb8)


  Commit: 33de8086348b7cba57ef8bfd860e8f3edc1cee22
      https://github.com/MythTV/mythtv/commit/33de8086348b7cba57ef8bfd860e8f3edc1cee22
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2020-03-11 (Wed, 11 Mar 2020)

  Changed paths:
    M mythtv/libs/libmythtv/mythplayer.cpp
    M mythtv/libs/libmythtv/mythplayer.h

  Log Message:
  -----------
  MythPlayer: add PiPSync method to keep PiP player is sync with master

- this just uses the video timecode to dump frames that are too old and
retains frames for more than one 'cycle' if the master player is running
at a faster rate.

(cherry picked from commit ab1e8a14592e6bbb63a63055ae0fee7e4de8c82b)


  Commit: 8891558a00b12e04dc23a5e367f25707ccbb938b
      https://github.com/MythTV/mythtv/commit/8891558a00b12e04dc23a5e367f25707ccbb938b
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2020-03-11 (Wed, 11 Mar 2020)

  Changed paths:
    M mythtv/libs/libmythtv/tv_play.cpp

  Log Message:
  -----------
  TV: Workaround PiP deadlock when master uses hardware decoding

- see comments in code but note that this is NOT PERFECT and there is
still the opportunity for the frontend to deadlock

(cherry picked from commit b3027420798b9128929bcea484c1be8821fd9a85)


  Commit: e88a6fa09ebf8653b138bde238b81b04bb6097fa
      https://github.com/MythTV/mythtv/commit/e88a6fa09ebf8653b138bde238b81b04bb6097fa
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2020-03-11 (Wed, 11 Mar 2020)

  Changed paths:
    M mythtv/libs/libmythtv/opengl/mythvideooutopengl.cpp

  Log Message:
  -----------
  MythVideoOutputOpenGL: Don't display PiPs when embedded

- i.e. if the guide is displayed

(cherry picked from commit 1b0b61b6d2c43fe735f1ee18b87d6d8707947b8c)


  Commit: e541b3d936b54b9d73eb23a1c579fca29befd40b
      https://github.com/MythTV/mythtv/commit/e541b3d936b54b9d73eb23a1c579fca29befd40b
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2020-03-11 (Wed, 11 Mar 2020)

  Changed paths:
    M mythtv/libs/libmythtv/tv_play.cpp

  Log Message:
  -----------
  TV: Fix embedding when using PiP

(cherry picked from commit d73496229dce88e0b87cea4b6c86a21595071bfe)


  Commit: 8308147c5313e8ca079e57bafa59d31ebb899668
      https://github.com/MythTV/mythtv/commit/8308147c5313e8ca079e57bafa59d31ebb899668
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2020-03-11 (Wed, 11 Mar 2020)

  Changed paths:
    M mythtv/libs/libmythtv/mythplayer.cpp

  Log Message:
  -----------
  MythDisplay: Fix crash on exit when using PiP

- MythPlayer wasn't checking whether it actually had a MythDisplay
object

(cherry picked from commit 01880737011a297e631602670bb830af6f7c0e14)


  Commit: d1a3b179c1cd14f670864add5925defc76389bc2
      https://github.com/MythTV/mythtv/commit/d1a3b179c1cd14f670864add5925defc76389bc2
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2020-03-11 (Wed, 11 Mar 2020)

  Changed paths:
    M mythtv/libs/libmythtv/opengl/mythopenglvideo.cpp

  Log Message:
  -----------
  MythOpenGLVideo: Reduce some logging verbosity

(cherry picked from commit 34429684cda8995f3f63f3bad2dd8fe1d865283c)


  Commit: 7d2c4f397243e76a0a0d44ad699ff6491660de42
      https://github.com/MythTV/mythtv/commit/7d2c4f397243e76a0a0d44ad699ff6491660de42
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2020-03-11 (Wed, 11 Mar 2020)

  Changed paths:
    M mythtv/libs/libmyth/mythcontext.cpp
    M mythtv/libs/libmythupnp/ssdp.cpp

  Log Message:
  -----------
  SSDP: Ensure SSDP thread exits in a timely manner

- if there were a queue of unprocessed requests, the SSDP class would
process each before exiting and if PortChecker was used, each request
could wait up to 5 seconds before timing out - meaning exiting the app
could take anywhere up to 2-3 minutes.

(cherry picked from commit 625fc7140fec2c7ccdf62d62dac463a874346244)


Compare: https://github.com/MythTV/mythtv/compare/9934710cfa90...7d2c4f397243


More information about the mythtv-commits mailing list