0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 20:03:10 +02: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:
nicodvb 2008-02-16 11:51:41 +00:00
parent fc5da18fff
commit c19d8bdef2

View File

@ -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?