[MPlayer-cvslog] r19419 - trunk/libmpdemux/demuxer.c
reimar
subversion at mplayerhq.hu
Thu Aug 17 01:32:39 CEST 2006
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;
}
}
More information about the MPlayer-cvslog
mailing list