# HG changeset patch # User mroi # Date 1046110767 0 # Node ID b527b7cbfb194b3f7b2d57f996ec87a6fd066322 # Parent b6834e6359cfdce8cd5f2a8a972873ccf97f3a52 fix seek detection diff -r b6834e6359cf -r b527b7cbfb19 dvdnav.c --- a/dvdnav.c Thu Feb 20 15:32:21 2003 +0000 +++ b/dvdnav.c Mon Feb 24 18:19:27 2003 +0000 @@ -412,7 +412,7 @@ #ifdef LOG_DEBUG fprintf(MSG_OUT, "libdvdnav: HOP_CHANNEL\n"); #endif - if (this->position_next.hop_channel > HOP_SEEK) { + if (this->position_next.hop_channel - this->position_current.hop_channel >= HOP_SEEK) { int num_angles = 0, current; /* we seeked -> check for multiple angles */ @@ -957,6 +957,9 @@ /* * $Log$ + * Revision 1.41 2003/02/24 18:19:27 mroi + * fix seek detection + * * Revision 1.40 2003/02/20 15:32:15 mroi * big libdvdnav cleanup, quoting the ChangeLog: * * some bugfixes