If we get a sane container-fps value from mpv, we use it to set an
appropriate buffer size length.
Added some further comments.
Signed-off-by: Mahyar Koshkouei <[email protected]>
The libretro frontend now controls audio, and can now therefore pause
the video and audio.
This requires a modified version of libmpv which is not currently
upstream: https://github.com/deltabeard/mpv/commit/789aa4528e30003d0691c4d8697348d23b55bfa0
Not that all audio is currently converted to 48000Hz.
Squashed commit of the following:
commit ef16a4045e
Author: Mahyar Koshkouei <[email protected]>
Date: Mon Feb 12 22:29:52 2018 +0000
Working audio-cb
Audio currently resampled to 48kHz.
Signed-off-by: Mahyar Koshkouei <[email protected]>
commit 0b430219b8
Author: Mahyar Koshkouei <[email protected]>
Date: Mon Feb 12 19:23:38 2018 +0000
Minor audio-cb changes for testing
Signed-off-by: Mahyar Koshkouei <[email protected]>
commit 65a2ebe354
Author: Mahyar Koshkouei <[email protected]>
Date: Mon Feb 12 16:51:53 2018 +0000
WIP: use mpv audio-cb output
Audio quality and timing is poor.
Signed-off-by: Mahyar Koshkouei <[email protected]>
commit ce22b38546
Author: Mahyar Koshkouei <[email protected]>
Date: Mon Feb 12 10:22:53 2018 +0000
Remove spaces
Signed-off-by: Mahyar Koshkouei <[email protected]>
Signed-off-by: Mahyar Koshkouei <[email protected]>
Retroarch currently has an issue where get_proc_address call fails on
the Raspberry Pi (https://github.com/libretro/RetroArch/issues/6137). If
the call fails, we fall back to loading symbols from libGLESv2.so, if
available.
Tested working on the Pi 3 with buildroot.
Signed-off-by: Mahyar Koshkouei <[email protected]>
When an error occurs during context initialisation, libmpv is now
allowed to print logs to better debug issue.
Signed-off-by: Mahyar Koshkouei <[email protected]>
Fixed an issue whereby the video size reported by the container was used
instead of the size after filters and the such were applied. Closes#10.
Tested working with 16:9 and 5:4 videos.
Signed-off-by: Mahyar Koshkouei <[email protected]>
Some platforms may not support harware decoding, unsure if this would
mean that the hwdec option string would no longer work but falling back
to software decode shouldn't be an issue.
Signed-off-by: Mahyar Koshkouei <[email protected]>
Pausing, changing audio and changing subtitles are only performed on the
rising edge of a button press only. They no longer change whilst the
button is pressed.
Signed-off-by: Mahyar Koshkouei <[email protected]>
This allows releases to include the libretro.h header file required for
compiling. We also don't require any of the other header files the
submodule provided.
Signed-off-by: Mahyar Koshkouei <[email protected]>