mirror of https://github.com/mpv-player/mpv
when seeking in h264 sync to idr frames
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22183 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
3fc21bb6e7
commit
9b618f615e
|
@ -3160,7 +3160,7 @@ static void demux_seek_ts(demuxer_t *demuxer, float rel_seek_secs, float audio_d
|
|||
break;
|
||||
else //H264
|
||||
{
|
||||
if((i & ~0x60) == 0x101 || (i & ~0x60) == 0x102 || (i & ~0x60) == 0x105) break;
|
||||
if((i & ~0x60) == 0x105) break;
|
||||
}
|
||||
|
||||
if(!i || !skip_video_packet(d_video)) break; // EOF?
|
||||
|
|
Loading…
Reference in New Issue