[libbluray-devel] [Git][videolan/libbluray][master] 2 commits: Always inform application about current streams when playlist is started.

Petri Hintukainen gitlab at videolan.org
Sat Oct 24 12:35:40 CEST 2020



Petri Hintukainen pushed to branch master at VideoLAN / libbluray


Commits:
a284de9b by hpi1 at 2020-10-24T13:32:42+03:00
Always inform application about current streams when playlist is started.

This is redundant, but may make applications simpler.
Fixes VLC issues with root menu language selections.

- - - - -
4e67915e by hpi1 at 2020-10-24T13:34:57+03:00
Update ChangeLog

- - - - -


2 changed files:

- ChangeLog
- src/libbluray/bluray.c


Changes:

=====================================
ChangeLog
=====================================
@@ -1,3 +1,16 @@
+2020-10-25: Version 1.2.1
+- Add initial support for .fmts files.
+- Improve missing/broken playlist handling ("Star Trek Beyond 4K").
+- Improve UHD metadata support.
+- Improve BD-J compability.
+- Improve error resilience and stability.
+- Fix long delay in "Evangelion, You are (not) alone" menu.
+- Fix JVM bootstrap issues with some Java 9 versions.
+- Fix sign extended bytes when reading single bytes in BDJ.
+- Fix creating organization and disc specific BD-J BUDA directories.
+- Use external libudfread when available.
+- Rename list_titles to bd_list_titles and add it to installed programs.
+
 2020-03-22: Version 1.2.0
 - Add functions to list and read BD-ROM files.
 - Add support for separate key pressed / typed / released user input events.


=====================================
src/libbluray/bluray.c
=====================================
@@ -2407,6 +2407,16 @@ static int _open_playlist(BLURAY *bd, const char *f_name, unsigned angle)
             _add_known_playlist(bd->disc, bd->title->name);
         }
 
+        /* inform application about current streams (redundant) */
+        bd_psr_lock(bd->regs);
+        _queue_event(bd, BD_EVENT_AUDIO_STREAM, bd_psr_read(bd->regs, PSR_PRIMARY_AUDIO_ID));
+        {
+            uint32_t pgreg = bd_psr_read(bd->regs, PSR_PG_STREAM);
+            _queue_event(bd, BD_EVENT_PG_TEXTST,        !!(pgreg & 0x80000000));
+            _queue_event(bd, BD_EVENT_PG_TEXTST_STREAM,    pgreg & 0xfff);
+        }
+        bd_psr_unlock(bd->regs);
+
         return 1;
     }
     return 0;



View it on GitLab: https://code.videolan.org/videolan/libbluray/-/compare/1ce479c1cfa1dfdb33a2f150e91edaf28af364e4...4e67915edd185749546bbe2e8a3fe1ce41afabae

-- 
View it on GitLab: https://code.videolan.org/videolan/libbluray/-/compare/1ce479c1cfa1dfdb33a2f150e91edaf28af364e4...4e67915edd185749546bbe2e8a3fe1ce41afabae
You're receiving this email because of your account on code.videolan.org.




More information about the libbluray-devel mailing list