mirror of
https://github.com/mpv-player/mpv
synced 2025-01-31 12:11:52 +00:00
when seeking in H264 an SPS *should* be a valid entry point; feel free to change it if it's wrong
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26008 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
fc5da18fff
commit
c19d8bdef2
@ -3169,7 +3169,7 @@ static void demux_seek_ts(demuxer_t *demuxer, float rel_seek_secs, float audio_d
|
||||
break;
|
||||
else //H264
|
||||
{
|
||||
if((i & ~0x60) == 0x105) break;
|
||||
if((i & ~0x60) == 0x105 || (i & ~0x60) == 0x107) break;
|
||||
}
|
||||
|
||||
if(!i || !skip_video_packet(d_video)) break; // EOF?
|
||||
|
Loading…
Reference in New Issue
Block a user