r19419 - trunk/libmpdemux/demuxer.c
Author: reimar Date: Thu Aug 17 01:32:39 2006 New Revision: 19419 Modified: trunk/libmpdemux/demuxer.c Log: Update information and print new value when demux_info_add is called twice for the same tag. Should show currently playing title with Ogg streams. Modified: trunk/libmpdemux/demuxer.c ============================================================================== --- trunk/libmpdemux/demuxer.c (original) +++ trunk/libmpdemux/demuxer.c Thu Aug 17 01:32:39 2006 @@ -938,7 +938,9 @@ { if(!strcasecmp(opt,info[2*n])) { - mp_msg(MSGT_DEMUX, MSGL_WARN,MSGTR_DemuxerInfoAlreadyPresent,opt); + mp_msg(MSGT_DEMUX, MSGL_INFO,MSGTR_DemuxerInfoChanged,opt,param); + free(info[2*n+1]); + info[2*n+1] = strdup(param); return 0; } }
participants (1)
-
reimar