1
mirror of https://github.com/mpv-player/mpv synced 2025-01-01 04:36:24 +01:00

Add ID_SEEKABLE information to -identify output.

patch by Mathieu SCHROETER, mathieu.schroeter gamesover ch


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26144 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2008-03-03 09:53:18 +00:00
parent 5e6231b340
commit bc2c5f3f6c

View File

@ -3507,6 +3507,7 @@ if (mpctx->global_sub_size) {
mp_msg(MSGT_IDENTIFY,MSGL_INFO,"ID_AUDIO_NCH=%d\n", mpctx->sh_audio->channels);
}
mp_msg(MSGT_IDENTIFY,MSGL_INFO,"ID_LENGTH=%.2lf\n", demuxer_get_time_length(mpctx->demuxer));
mp_msg(MSGT_IDENTIFY,MSGL_INFO,"ID_SEEKABLE=%d\n", mpctx->stream->seek ? 1 : 0);
if(!mpctx->sh_video) goto main; // audio-only