ffmpegdemux: update for taglist API changes
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Sun, 30 Oct 2011 12:03:36 +0000 (12:03 +0000)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Sun, 30 Oct 2011 12:03:36 +0000 (12:03 +0000)
ext/ffmpeg/gstffmpegdemux.c

index ca8f0e7..5c643d2 100644 (file)
@@ -1022,7 +1022,7 @@ gst_ffmpegdemux_get_stream (GstFFMpegDemux * demux, AVStream * avstream)
 
   /* metadata */
   if ((codec = gst_ffmpeg_get_codecid_longname (ctx->codec_id))) {
-    stream->tags = gst_tag_list_new ();
+    stream->tags = gst_tag_list_new_empty ();
 
     gst_tag_list_add (stream->tags, GST_TAG_MERGE_REPLACE,
         (ctx->codec_type == AVMEDIA_TYPE_VIDEO) ?