From 52177fa05677c677be8114410bbb4193a3b8f9a0 Mon Sep 17 00:00:00 2001 From: Thiago Santos Date: Sat, 12 Dec 2009 17:44:04 -0300 Subject: [PATCH] Revert "qtdemux: Correctly parse classification tags" This reverts commit cd883aa60c1133196a6ae052884d15c295c37dde. Previous code was correct, 4 is due to table and language code, not only language code --- gst/qtdemux/qtdemux.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gst/qtdemux/qtdemux.c b/gst/qtdemux/qtdemux.c index dd9410e6a7..9849af3e70 100644 --- a/gst/qtdemux/qtdemux.c +++ b/gst/qtdemux/qtdemux.c @@ -5633,7 +5633,8 @@ qtdemux_tag_add_classification (GstQTDemux * qtdemux, const char *tag, table = QT_UINT16 ((guint8 *) node->data + offset); /* Language code skipped */ - offset += 2; + + offset += 4; /* Tag format: "XXXX://Y[YYYY]/classification info string" * XXXX: classification entity, fixed length 4 chars.