mirror of
https://github.com/mpv-player/mpv
synced 2024-12-11 17:37:23 +00:00
demux_mpg_probe() seek to the initial position before returning - patch by reimar
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22112 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
8266955613
commit
3a250aa0f1
@ -673,6 +673,8 @@ static int demux_mpg_probe(demuxer_t *demuxer) {
|
|||||||
mp_msg(MSGT_DEMUXER,MSGL_V,MSGTR_NotSystemStream);
|
mp_msg(MSGT_DEMUXER,MSGL_V,MSGTR_NotSystemStream);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
//FIXME this shouldn't be necessary
|
||||||
|
stream_seek(demuxer->stream,tmppos);
|
||||||
return file_format;
|
return file_format;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user