summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-03-03 09:53:18 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-03-03 09:53:18 +0000
commitbc2c5f3f6c6ceb5b67d5273f6ea77bfb70f2a7d9 (patch)
treeda2f21b50950e3318f648e00b44c747c3329937a /mplayer.c
parent5e6231b340021263ea943d53f3c04da2a0e522ba (diff)
downloadmpv-bc2c5f3f6c6ceb5b67d5273f6ea77bfb70f2a7d9.tar.bz2
mpv-bc2c5f3f6c6ceb5b67d5273f6ea77bfb70f2a7d9.tar.xz
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
Diffstat (limited to 'mplayer.c')
-rw-r--r--mplayer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mplayer.c b/mplayer.c
index 54f791c740..9a0c9787d5 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -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