mirror of
https://github.com/mpv-player/mpv
synced 2025-04-07 10:02:50 +00:00
Fix broken seek while on edl and audio only, spoted by Oded Shimon
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13869 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
9de130f2dc
commit
06cfdbf62b
@ -2638,7 +2638,9 @@ if (stream->type==STREAMTYPE_DVDNAV && dvd_nav_still)
|
|||||||
if( next_edl_record ) { // Are we (still?) doing EDL?
|
if( next_edl_record ) { // Are we (still?) doing EDL?
|
||||||
if ( !sh_video ) {
|
if ( !sh_video ) {
|
||||||
mp_msg( MSGT_CPLAYER, MSGL_ERR, MSGTR_EdlNOsh_video );
|
mp_msg( MSGT_CPLAYER, MSGL_ERR, MSGTR_EdlNOsh_video );
|
||||||
next_edl_record->next = NULL;
|
free(edl_records);
|
||||||
|
next_edl_record = NULL;
|
||||||
|
edl_records = NULL;
|
||||||
} else {
|
} else {
|
||||||
if( sh_video->pts >= next_edl_record->start_sec ) {
|
if( sh_video->pts >= next_edl_record->start_sec ) {
|
||||||
if( next_edl_record->action == EDL_SKIP ) {
|
if( next_edl_record->action == EDL_SKIP ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user