[mythtv-commits] [MythTV/mythtv] 244062: Audio playbacK: Don't waste memory on video frames...

Mark Kendall noreply at github.com
Thu Dec 19 08:17:25 UTC 2019


  Branch: refs/heads/master
  Home:   https://github.com/MythTV/mythtv
  Commit: 244062c6c579d2937b234660225b38ba2daf047d
      https://github.com/MythTV/mythtv/commit/244062c6c579d2937b234660225b38ba2daf047d
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2019-12-19 (Thu, 19 Dec 2019)

  Changed paths:
    M mythtv/libs/libmythtv/decoders/avformatdecoder.cpp
    M mythtv/libs/libmythtv/mythplayer.cpp
    M mythtv/libs/libmythtv/videooutwindow.cpp

  Log Message:
  -----------
  Audio playbacK: Don't waste memory on video frames for audio

- we no longer need video buffers to assist with rendering overlays as
they are all handled by OPenGL
- use zero sized buffers
- always set the frame rate to 23.97 as this should be lower than any
actual display refresh - ensuring we don't wait for video buffers we
don't need
- set reference frames to zero.


  Commit: 40ca43cbc23abc895f97c11e50161d595b337388
      https://github.com/MythTV/mythtv/commit/40ca43cbc23abc895f97c11e50161d595b337388
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2019-12-19 (Thu, 19 Dec 2019)

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

  Log Message:
  -----------
  MythPlayer: Proper fix for MHEG/data only streams

- now that we use zero sized video for audio only streams, use this to
check for data only streams in conjunction with the audio player.


  Commit: deb64300d0d0ad040c9678f1561ef1f4c05540f9
      https://github.com/MythTV/mythtv/commit/deb64300d0d0ad040c9678f1561ef1f4c05540f9
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2019-12-19 (Thu, 19 Dec 2019)

  Changed paths:
    M mythtv/libs/libmythtv/libmythtv.pro
    A mythtv/libs/libmythtv/visualisations/videovisualmonoscope.cpp
    A mythtv/libs/libmythtv/visualisations/videovisualmonoscope.h

  Log Message:
  -----------
  Visualisations: Add FadeScope and SimpleScope visualisers

- the first proper OpenGL visualisers
- both are very low CPU usage and relatively low GPU as well
- FadeScope uses framebuffer ping/ponging to fade and zoom the old data -
which looks good but messes with the alpha channel and hence not the
best for rendering over video.


  Commit: 3d0d2f953fc6dfd4ad1b20ffd3193158e37c6473
      https://github.com/MythTV/mythtv/commit/3d0d2f953fc6dfd4ad1b20ffd3193158e37c6473
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2019-12-19 (Thu, 19 Dec 2019)

  Changed paths:
    M mythtv/libs/libmythtv/mythplayer.cpp
    M mythtv/libs/libmythtv/mythplayer.h
    M mythtv/libs/libmythtv/tv_play.cpp
    M mythtv/libs/libmythtv/visualisations/videovisual.h
    M mythtv/programs/mythfrontend/globalsettings.cpp

  Log Message:
  -----------
  Playback: Add setting for visualiser to enable for audio playback

- will only be automatically enabled for audio only playback
- a little extra work is needed to try and disable when MHEG is also
active - as this will more often than not just obscure the
visualisation.


Compare: https://github.com/MythTV/mythtv/compare/410b405d6e36...3d0d2f953fc6


More information about the mythtv-commits mailing list