On 02/07/13 00:40, Erik Hovland wrote:
On Mon, Jul 1, 2013 at 1:55 AM, Richard <[email protected]> wrote:
Hi,

Calling vm_reset (via dvdnav_reset) does not currently reset the hop_channel
field.  This leads to "Error reading NAV packet." errors on some DVDs
because dvdnav_get_next_cache_block tries to prepare a HOP_CHANNEL event and
read from a file which hasn't yet been opened.

The attached patch resets the hop_channel field to zero.

Maybe vm->hop_channel = 0;?

Doh! Sorry, yes! I made the change in Myth's local copy of libdvdnav to ease testing. Obviously typed it out again rather than cut'n'paste.

Regards,

Richard.
_______________________________________________
DVDnav-discuss mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/dvdnav-discuss

Reply via email to