summaryrefslogtreecommitdiffstats
path: root/libmpdemux
diff options
context:
space:
mode:
authornicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-02-09 19:44:21 +0000
committernicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-02-09 19:44:21 +0000
commit9194c790ea4b835dfb2aa0859ffd0dcda17bf6d0 (patch)
treec6e08750a94be3238922d8e1f1af4f046f8ca96b /libmpdemux
parent1f357e2f06345daa2e6d774d0a7cafe7d3986725 (diff)
downloadmpv-9194c790ea4b835dfb2aa0859ffd0dcda17bf6d0.tar.bz2
mpv-9194c790ea4b835dfb2aa0859ffd0dcda17bf6d0.tar.xz
when playing vc1 content sync to sequence or entry point header
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22181 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux')
-rw-r--r--libmpdemux/demux_ts.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libmpdemux/demux_ts.c b/libmpdemux/demux_ts.c
index b538e363a6..fc0e5892c0 100644
--- a/libmpdemux/demux_ts.c
+++ b/libmpdemux/demux_ts.c
@@ -3156,6 +3156,8 @@ static void demux_seek_ts(demuxer_t *demuxer, float rel_seek_secs, float audio_d
{
if(i==0x1B6) break; // found it!
}
+ else if(sh_video->format == VIDEO_VC1 && (i==0x10E || i==0x10F))
+ break;
else //H264
{
if((i & ~0x60) == 0x101 || (i & ~0x60) == 0x102 || (i & ~0x60) == 0x105) break;