Ticket #1810: mplayer.patch

File mplayer.patch, 663 bytes (added by steep8@…, 16 years ago)

path to fix problem with ID_LENGTH

  • mplayer.c

     
    586586    mp_msg(MSGT_IDENTIFY,MSGL_INFO,"ID_START_TIME=%.2lf\n", start_pts);
    587587  else
    588588    mp_msg(MSGT_IDENTIFY,MSGL_INFO,"ID_START_TIME=unknown\n");
    589   mp_msg(MSGT_IDENTIFY,MSGL_INFO,"ID_LENGTH=%.2lf\n", demuxer_get_time_length(mpctx->demuxer));
     589  mp_msg(MSGT_IDENTIFY,MSGL_INFO,"ID_LENGTH=%.2f\n", demuxer_get_time_length(mpctx->demuxer));
    590590  mp_msg(MSGT_IDENTIFY,MSGL_INFO,"ID_SEEKABLE=%d\n",
    591591         mpctx->stream->seek && (!mpctx->demuxer || mpctx->demuxer->seekable));
    592592  if (mpctx->demuxer) {