mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-13 02:34:54 +00:00
use new metadata API in rtsp demuxer
Originally committed as revision 16961 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
f3650b239e
commit
da61e4136a
@ -376,11 +376,11 @@ static void sdp_parse_line(AVFormatContext *s, SDPParseState *s1,
|
||||
}
|
||||
break;
|
||||
case 's':
|
||||
av_strlcpy(s->title, p, sizeof(s->title));
|
||||
av_metadata_set(&s->metadata, "title", p);
|
||||
break;
|
||||
case 'i':
|
||||
if (s->nb_streams == 0) {
|
||||
av_strlcpy(s->comment, p, sizeof(s->comment));
|
||||
av_metadata_set(&s->metadata, "comment", p);
|
||||
break;
|
||||
}
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user