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:
parent
05ebca20bc
commit
d2be7d4cd8
|
@ -1168,10 +1168,9 @@ void EventStream::checkEventLoaded()
|
||||||
loadEventData( event_id );
|
loadEventData( event_id );
|
||||||
|
|
||||||
Debug( 2, "Current frame id = %d", curr_frame_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 )
|
||||||
// if ( curr_frame_id <= 0 )
|
curr_frame_id = event_data->frame_count;
|
||||||
// curr_frame_id = event_data->frame_count;
|
else
|
||||||
// else
|
|
||||||
curr_frame_id = 1;
|
curr_frame_id = 1;
|
||||||
Debug( 2, "New frame id = %d", curr_frame_id );
|
Debug( 2, "New frame id = %d", curr_frame_id );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue