[FFmpeg-cvslog] r26332 - trunk/libavformat/rtpdec_asf.c
rbultje
subversion
Fri Jan 14 20:44:44 CET 2011
Author: rbultje
Date: Fri Jan 14 20:44:44 2011
New Revision: 26332
Log:
Copy metadata from ASF files contained in RTSP streams from ASF to RTSP layer,
so that applications can read it also.
Modified:
trunk/libavformat/rtpdec_asf.c
Modified: trunk/libavformat/rtpdec_asf.c
==============================================================================
--- trunk/libavformat/rtpdec_asf.c Fri Jan 14 20:31:20 2011 (r26331)
+++ trunk/libavformat/rtpdec_asf.c Fri Jan 14 20:44:44 2011 (r26332)
@@ -112,6 +112,7 @@ int ff_wms_parse_sdp_a_line(AVFormatCont
ret = av_open_input_stream(&rt->asf_ctx, &pb, "", &asf_demuxer, NULL);
if (ret < 0)
return ret;
+ av_metadata_copy(&s->metadata, rt->asf_ctx->metadata, 0);
rt->asf_pb_pos = url_ftell(&pb);
av_free(buf);
rt->asf_ctx->pb = NULL;
More information about the ffmpeg-cvslog
mailing list