changeset 26112:307973bd48ff

Add ID_SEEKABLE information to -identify output. patch by Mathieu SCHROETER, mathieu.schroeter gamesover ch
author diego
date Mon, 03 Mar 2008 09:53:18 +0000
parents eb82d1524b6d
children 8ca532b5e704
files mplayer.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mplayer.c	Mon Mar 03 09:47:01 2008 +0000
+++ b/mplayer.c	Mon Mar 03 09:53:18 2008 +0000
@@ -3507,6 +3507,7 @@
     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