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:
nicodvb 2007-02-09 19:47:20 +00:00
parent 3fc21bb6e7
commit 9b618f615e
1 changed files with 1 additions and 1 deletions

View File

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