asf/wtv: use service_provider and service_name metadata tags
authorRonald S. Bultje <rsbultje@gmail.com>
Mon, 31 Jan 2011 13:58:14 +0000 (08:58 -0500)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 31 Jan 2011 17:25:47 +0000 (18:25 +0100)
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
(cherry picked from commit 45430099438d7b4f70ebb23611a29d318ba49687)

libavformat/asf.c

index e665992..1f6af18 100644 (file)
@@ -153,6 +153,8 @@ const AVMetadataConv ff_asf_metadata_conv[] = {
     { "WM/Tool"            , "encoder"     },
     { "WM/TrackNumber"     , "track"       },
     { "WM/Track"           , "track"       },
+    { "WM/MediaStationCallSign", "service_provider" },
+    { "WM/MediaStationName", "service_name" },
 //  { "Year"               , "date"        }, TODO: conversion year<->date
     { 0 }
 };