diff options
author | Aurélien Zanelli <aurelien.zanelli@parrot.com> | 2014-10-09 15:05:55 +0200 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2014-10-24 22:10:49 +0100 |
commit | fb9ac88030f7a48b07aa8258d6632dfe7b773e2c (patch) | |
tree | 98991371e1332563397864f021839185b110f9c6 | |
parent | 829e4bd4d7fc5f1f15676c207003b8dbf9113410 (diff) | |
download | gstreamer-plugins-bad-fb9ac88030f7a48b07aa8258d6632dfe7b773e2c.tar.gz |
vc1parser: fix level values for simple/main profile
In simple profile, level set to 0 or 2 indicate low and medium level
respectively. In main profile, level set to 0, 2 or 4 indicate low,
medium and high level respectively.
Level values are defined in Annex J.1.2 of the SMPTE 421M.
https://bugzilla.gnome.org/show_bug.cgi?id=738230
-rw-r--r-- | gst-libs/gst/codecparsers/gstvc1parser.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gst-libs/gst/codecparsers/gstvc1parser.h b/gst-libs/gst/codecparsers/gstvc1parser.h index e2720d770..a73ff9d14 100644 --- a/gst-libs/gst/codecparsers/gstvc1parser.h +++ b/gst-libs/gst/codecparsers/gstvc1parser.h @@ -84,8 +84,8 @@ typedef enum typedef enum { GST_VC1_LEVEL_LOW = 0, /* Simple/Main profile low level */ - GST_VC1_LEVEL_MEDIUM = 1, /* Simple/Main profile medium level */ - GST_VC1_LEVEL_HIGH = 2, /* Main profile high level */ + GST_VC1_LEVEL_MEDIUM = 2, /* Simple/Main profile medium level */ + GST_VC1_LEVEL_HIGH = 4, /* Main profile high level */ GST_VC1_LEVEL_L0 = 0, /* Advanced profile level 0 */ GST_VC1_LEVEL_L1 = 1, /* Advanced profile level 1 */ |