Update zm_event.cpp

Commit 79af2adaa0 attempted to fix the Prev button when in Gapless Mode, but it caused issues when rewinding. Rolling back.
This commit is contained in:
Andrew Bauer 2014-03-25 07:01:40 -05:00
parent 05ebca20bc
commit d2be7d4cd8
1 changed files with 3 additions and 4 deletions

View File

@ -1168,10 +1168,9 @@ void EventStream::checkEventLoaded()
loadEventData( event_id );
Debug( 2, "Current frame id = %d", curr_frame_id );
// When loading a new event, always set the current frame id to the first frame rather than the last
// if ( curr_frame_id <= 0 )
// curr_frame_id = event_data->frame_count;
// else
if ( curr_frame_id <= 0 )
curr_frame_id = event_data->frame_count;
else
curr_frame_id = 1;
Debug( 2, "New frame id = %d", curr_frame_id );
}