mpegvideoparser: Handle non-hierarchical profiles again
authorEdward Hervey <edward@centricular.com>
Mon, 7 Mar 2016 12:04:08 +0000 (13:04 +0100)
committerEdward Hervey <bilboed@bilboed.com>
Wed, 9 Mar 2016 14:18:42 +0000 (15:18 +0100)
commit5ebf1d477de44a45ce3a8e320a86cc3bf83c2a8e
treee0e14b8fd5ce72dde77c2d601e5be33647ae29a1
parent1f32d6aff71b5183626a85e6c761a1db1c6ee07c
mpegvideoparser: Handle non-hierarchical profiles again

This is a regression from since mpegvideoparser was switched to
use the codecparsing library.

The problem is that the high bit of the profile_and_level is used
to specify non-hierarchical profiles and levels. Unfortunately we
were discarding that information.

Expose that escape bit, and use it in the element

https://bugzilla.gnome.org/show_bug.cgi?id=763220
gst-libs/gst/codecparsers/gstmpegvideoparser.c
gst-libs/gst/codecparsers/gstmpegvideoparser.h
gst/videoparsers/gstmpegvideoparse.c