asfdemux: add ASF_OBJ_METADATA_LIBRARY_OBJECT

We can safely ignore those but best to claim to understand this object type so
we don't raise a warning.

https://bugzilla.gnome.org/show_bug.cgi?id=736060
This commit is contained in:
Guillaume Desmottes 2014-09-04 16:57:02 +02:00 committed by Sebastian Dröge
parent 2863d9ae00
commit 8dff7bb38d
3 changed files with 6 additions and 1 deletions

View file

@ -171,6 +171,9 @@ const ASFGuidHash asf_object_guids[] = {
{ASF_OBJ_UNKNOWN_ENCRYPTION_OBJECT, "ASF_OBJ_UNKNOWN_ENCRYPTION_OBJECT",
{0x9a04f079, 0x42869840, 0x5be692ab, 0x955f88e0}
},
{ASF_OBJ_METADATA_LIBRARY_OBJECT, "ASF_OBJ_METADATA_LIBRARY_OBJECT",
{0x44231c94, 0x49d19498, 0x131d41a1, 0x5470454e}
},
{ASF_OBJ_UNDEFINED, "ASF_OBJ_UNDEFINED",
{0, 0, 0, 0}
}

View file

@ -68,7 +68,8 @@ typedef enum {
ASF_OBJ_DIGITAL_SIGNATURE_OBJECT,
ASF_OBJ_SCRIPT_COMMAND,
ASF_OBJ_MARKER,
ASF_OBJ_UNKNOWN_ENCRYPTION_OBJECT
ASF_OBJ_UNKNOWN_ENCRYPTION_OBJECT,
ASF_OBJ_METADATA_LIBRARY_OBJECT,
} AsfObjectID;
typedef enum {

View file

@ -4073,6 +4073,7 @@ gst_asf_demux_process_object (GstASFDemux * demux, guint8 ** p_data,
case ASF_OBJ_INDEX_PARAMETERS:
case ASF_OBJ_STREAM_PRIORITIZATION:
case ASF_OBJ_SCRIPT_COMMAND:
case ASF_OBJ_METADATA_LIBRARY_OBJECT:
default:
/* Unknown/unhandled object, skip it and hope for the best */
GST_INFO ("%s: skipping object", demux->objpath);