diff options
author | Stefan Kost <ensonic@users.sourceforge.net> | 2008-10-03 05:57:58 +0000 |
---|---|---|
committer | Stefan Kost <ensonic@users.sourceforge.net> | 2008-10-03 05:57:58 +0000 |
commit | 2d9d036a18f1d9aa8c5348a570168cdc87ab8642 (patch) | |
tree | 32b3f336784aa4bec69cc2193099444d79731fff /ext | |
parent | df0bfbca26cb7529d0e97608efd3108c24945748 (diff) | |
download | gst-plugins-bad-2d9d036a18f1d9aa8c5348a570168cdc87ab8642.tar.gz gst-plugins-bad-2d9d036a18f1d9aa8c5348a570168cdc87ab8642.tar.bz2 gst-plugins-bad-2d9d036a18f1d9aa8c5348a570168cdc87ab8642.zip |
ext/metadata/: Add mapping of format and mime type to xmp.
Original commit message from CVS:
* ext/metadata/metadata_mapping.htm:
* ext/metadata/metadataxmp.c:
* ext/metadata/Makefile.am:
Add mapping of format and mime type to xmp.
Diffstat (limited to 'ext')
-rw-r--r-- | ext/metadata/Makefile.am | 1 | ||||
-rw-r--r-- | ext/metadata/metadata_mapping.htm | 56 | ||||
-rw-r--r-- | ext/metadata/metadataxmp.c | 2 |
3 files changed, 58 insertions, 1 deletions
diff --git a/ext/metadata/Makefile.am b/ext/metadata/Makefile.am index 5c1a3827..5e83bb30 100644 --- a/ext/metadata/Makefile.am +++ b/ext/metadata/Makefile.am @@ -35,3 +35,4 @@ noinst_HEADERS = gstmetadatademux.h \ gstmetadatamux.h \ gstbasemetadata.h +EXTRA_DIST = metadata_mapping.htm diff --git a/ext/metadata/metadata_mapping.htm b/ext/metadata/metadata_mapping.htm index 64c14d1c..6b226bcc 100644 --- a/ext/metadata/metadata_mapping.htm +++ b/ext/metadata/metadata_mapping.htm @@ -1256,8 +1256,62 @@ <P CLASS="western" ALIGN=LEFT>“<FONT SIZE=1 STYLE="font-size: 8pt">dc:title”</FONT></P> </TD> </TR> + <TR VALIGN=TOP> + <TD WIDTH=13%> + <P CLASS="western" ALIGN=LEFT><FONT SIZE=1 STYLE="font-size: 8pt">GST_TAG_CODEC</FONT></P> + </TD> + <TD WIDTH=14%> + <P CLASS="western" ALIGN=LEFT><FONT SIZE=1 STYLE="font-size: 8pt">-</FONT></P> + </TD> + <TD WIDTH=11%> + <P CLASS="western" ALIGN=LEFT><FONT SIZE=1 STYLE="font-size: 8pt">"codec"</FONT></P> + </TD> + <TD WIDTH=11%> + <P CLASS="western" ALIGN=LEFT><FONT SIZE=1 STYLE="font-size: 8pt">G_TYPE_STRING</FONT></P> + </TD> + <TD WIDTH=14%> + <P CLASS="western" ALIGN=LEFT><FONT SIZE=1 STYLE="font-size: 8pt">A + textual definition of the object type.</FONT></P> + </TD> + <TD WIDTH=14%> + <P CLASS="western" ALIGN=CENTER><FONT SIZE=1 STYLE="font-size: 8pt">-</FONT></P> + </TD> + <TD WIDTH=13%> + <PRE STYLE="text-align: left"><FONT SIZE=1 STYLE="font-size: 8pt">IPTC_TAG_OBJECT_TYPE</FONT></PRE> + </TD> + <TD WIDTH=10%> + <P CLASS="western" ALIGN=LEFT>“<FONT SIZE=1 STYLE="font-size: 8pt">dc:type”</FONT></P> + </TD> + </TR> + <TR VALIGN=TOP> + <TD WIDTH=13%> + <P CLASS="western" ALIGN=LEFT><FONT SIZE=1 STYLE="font-size: 8pt">GST_TAG_VIDEO_CODEC</FONT></P> + </TD> + <TD WIDTH=14%> + <P CLASS="western" ALIGN=LEFT><FONT SIZE=1 STYLE="font-size: 8pt">-</FONT></P> + </TD> + <TD WIDTH=11%> + <P CLASS="western" ALIGN=LEFT><FONT SIZE=1 STYLE="font-size: 8pt">"video-codec"</FONT></P> + </TD> + <TD WIDTH=11%> + <P CLASS="western" ALIGN=LEFT><FONT SIZE=1 STYLE="font-size: 8pt">G_TYPE_STRING</FONT></P> + </TD> + <TD WIDTH=14%> + <P CLASS="western" ALIGN=LEFT><FONT SIZE=1 STYLE="font-size: 8pt">Image + format.</FONT></P> + </TD> + <TD WIDTH=14%> + <P CLASS="western" ALIGN=CENTER><FONT SIZE=1 STYLE="font-size: 8pt">-</FONT></P> + </TD> + <TD WIDTH=13%> + <PRE STYLE="text-align: left"><FONT SIZE=1 STYLE="font-size: 8pt">IPTC_TAG_IMAGE_TYPE</FONT></PRE> + </TD> + <TD WIDTH=10%> + <P CLASS="western" ALIGN=LEFT>“<FONT SIZE=1 STYLE="font-size: 8pt">dc:format”</FONT></P> + </TD> + </TR> </TABLE> <P CLASS="western" STYLE="margin-bottom: 0cm"><BR> </P> </BODY> -</HTML>
\ No newline at end of file +</HTML> diff --git a/ext/metadata/metadataxmp.c b/ext/metadata/metadataxmp.c index 2aa386eb..4da279df 100644 --- a/ext/metadata/metadataxmp.c +++ b/ext/metadata/metadataxmp.c @@ -160,6 +160,8 @@ static const SchemaTagMap schema_map_dublin_tags_map[] = { {"description", GST_TAG_DESCRIPTION }, {"title", GST_TAG_TITLE }, {"rights", GST_TAG_COPYRIGHT }, + {"type", GST_TAG_CODEC }, + {"format", GST_TAG_VIDEO_CODEC }, {NULL, NULL} }; /* *INDENT-ON* */ |