[DVDnav-discuss] [PATCH] hop_channel not reset when vm_reset is called

Richard peper03 at yahoo.com
Mon Jul 1 10:55:21 CEST 2013


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.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: reset_hop_channel_when_resetting_vm.diff
Type: text/x-patch
Size: 349 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/dvdnav-discuss/attachments/20130701/cb57822b/attachment.bin>

More information about the DVDnav-discuss mailing list