diff options
author | Thiago Santos <thiago.sousa.santos@collabora.co.uk> | 2009-12-12 17:44:04 -0300 |
---|---|---|
committer | Thiago Santos <thiago.sousa.santos@collabora.co.uk> | 2009-12-12 17:44:04 -0300 |
commit | 52177fa05677c677be8114410bbb4193a3b8f9a0 (patch) | |
tree | fd6f0313a33e34d88949fc75c0cb7ce5c6192fa8 | |
parent | cd883aa60c1133196a6ae052884d15c295c37dde (diff) |
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
-rw-r--r-- | gst/qtdemux/qtdemux.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gst/qtdemux/qtdemux.c b/gst/qtdemux/qtdemux.c index dd9410e6a..9849af3e7 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. |