Repository navigation
Update libmythdvdnav - #1418
Merged
Merged
Update libmythdvdnav#1418
Conversation
ulmus-scott
commented
Jul 24, 2026
ulmus-scott
marked this pull request as ready for review
July 25, 2026 00:30
ulmus-scott
force-pushed
the
dvd
branch
3 times, most recently
from
July 30, 2026 15:49
34abbbc to
2796588
Compare
ulmus-scott
marked this pull request as draft
August 6, 2026 17:53
Contributor
Author
|
There is no rush to merge this and I am still working with upstream on some of the changes. |
ulmus-scott
force-pushed
the
dvd
branch
4 times, most recently
from
August 25, 2026 18:35
fa6801a to
c09f51e
Compare
ulmus-scott
marked this pull request as ready for review
October 16, 2026 23:09
Contributor
Author
|
@linuxdude42 This has been rebased onto master. Upstreaming has stalled, so we'll have to deal with it at the next update if the changes are different. I removed MythDVDStream because I couldn't figure out how to get it to work and it uses a private function of libdvdread. Also, I'm not sure it is supposed to do anything that MythDVDBuffer can't. |
ulmus-scott
force-pushed
the
dvd
branch
4 times, most recently
from
October 17, 2026 00:45
bfa3870 to
bd97d84
Compare
The change did the same thing in a slightly different way since search_to_nearest_cell was always false.
to libdvdread version 7.1.1 at 50009a0e36bb3c0d55fcbeb4837999ab8f4e657b and to libdvdnav version 7.0.1 at 2ffc50b5c37a6ddc086829203fc44e95588198dd. NB: dvdnav_read_name() now only works for local DVDs, so if previously the name and serial number of a remote DVD was returned, it no longer will be. The following commit was reverted: Fix null pointer dereference in libmythdvdnav. MythTV@de9344c See https://code.videolan.org/videolan/libdvdread/-/merge_requests/97#note_563739 for why. libdvdread is minimally modified but the non-exported function InternalUDFReadBlocksRaw() is used in libmythtv/DVD/mythdvdstream.cpp. libdvdnav still has more extensive modifications.
instead of MythTV's addition.
I could not get it to work before the most recent libdvd update and MythDVDBuffer can open image files and directories. Additionally, this removes the use of internal functions of libdvdread and the last modifications to libdvdread. This was from MythTV@1ff446a Using libdvdread's stream callback functionality might be a viable replacement for allowing decryption over the myth protocol.
since the circular dependency has been removed.
since there is no longer a circular dependency with libmythtv.
The function will return before `result` is set before its next use in the outer scope. The function never modifies the pointer value of `state` after it is set and will return before its next use in the outer scope.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
to libdvdread version 7.1.1 at 0b21c45f648a38947ee2bbc75c9a1bd577d96b71 and to libdvdnav version 7.0.1 at e0c02b973c62081ee8dc109726e511e94c10f70e.
NB: dvdnav_read_name() now only works for local DVDs, so if previously the name and serial number of a remote DVD was returned, it no longer will be.
The following commit was reverted:
Fix null pointer dereference in libmythdvdnav.
de9344c
See https://code.videolan.org/videolan/libdvdread/-/merge_requests/97#note_563739 for why.
libdvdread is minimally modified but the non-exported function InternalUDFReadBlocksRaw() is used in libmythtv/DVD/mythdvdstream.cpp.
libdvdnav still has more extensive modifications.
There is no longer a circular dependency between libmythtv and libmythdvdnav. However, I am uncertain if the remote playback capabilities are the same.
I have tested only local DVD playback. I do not have a set up for testing the remote DVD playback. So if anyone could verify what worked before and after this change for remote playback, that would be great.
Also, can someone test the bookmarking/DVD VM state save and restore?
If someone could test whether ulmus-scott/libdvdread@e4e99e7 (from 1ff446a) is still necessary, that is the last major change to libdvdread and I can attempt to upstream it if it is necessary.
Checklist