Mercurial > mplayer.hg
comparison libmpdemux/demux_lavf.c @ 29288:4a1c217a844b
In all demux_info_add calls change "name" to "title".
Currently "name" and "title" are both used at random, this makes it consistent.
"title" was chosen because it is less ambiguous and also the get_meta_title
slave mode command uses that (there is no get_meta_name command).
author | reimar |
---|---|
date | Sat, 30 May 2009 13:18:57 +0000 |
parents | 27edb64156ff |
children | 25283dc2a86b |
comparison
equal
deleted
inserted
replaced
29287:8b0f2c4971f4 | 29288:4a1c217a844b |
---|---|
474 if(av_find_stream_info(avfc) < 0){ | 474 if(av_find_stream_info(avfc) < 0){ |
475 mp_msg(MSGT_HEADER,MSGL_ERR,"LAVF_header: av_find_stream_info() failed\n"); | 475 mp_msg(MSGT_HEADER,MSGL_ERR,"LAVF_header: av_find_stream_info() failed\n"); |
476 return NULL; | 476 return NULL; |
477 } | 477 } |
478 | 478 |
479 if(avfc->title [0]) demux_info_add(demuxer, "name" , avfc->title ); | 479 if(avfc->title [0]) demux_info_add(demuxer, "title" , avfc->title ); |
480 if(avfc->author [0]) demux_info_add(demuxer, "author" , avfc->author ); | 480 if(avfc->author [0]) demux_info_add(demuxer, "author" , avfc->author ); |
481 if(avfc->copyright[0]) demux_info_add(demuxer, "copyright", avfc->copyright); | 481 if(avfc->copyright[0]) demux_info_add(demuxer, "copyright", avfc->copyright); |
482 if(avfc->comment [0]) demux_info_add(demuxer, "comments" , avfc->comment ); | 482 if(avfc->comment [0]) demux_info_add(demuxer, "comments" , avfc->comment ); |
483 if(avfc->album [0]) demux_info_add(demuxer, "album" , avfc->album ); | 483 if(avfc->album [0]) demux_info_add(demuxer, "album" , avfc->album ); |
484 // if(avfc->year ) demux_info_add(demuxer, "year" , avfc->year ); | 484 // if(avfc->year ) demux_info_add(demuxer, "year" , avfc->year ); |