diff options
author | Zaheer Abbas Merali <zaheerabbas@merali.org> | 2009-01-05 17:30:55 +0000 |
---|---|---|
committer | Zaheer Abbas Merali <zaheerabbas@merali.org> | 2009-01-05 17:30:55 +0000 |
commit | f0ed18f2ed9f2c7bd6b32760d8cb132e0dc48c62 (patch) | |
tree | 74153f8152acb4b2bbf9adc6cd3d3759471762b8 | |
parent | 6decc6f3c15d5c1300d6d7976e2080f84a82b30d (diff) |
gst/mpegdemux/gstmpegdesc.h: Fix up satellite delivery subsystem defs.
Original commit message from CVS:
* gst/mpegdemux/gstmpegdesc.h:
Fix up satellite delivery subsystem defs.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | gst/mpegdemux/gstmpegdesc.h | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,6 +1,11 @@ 2009-01-05 Zaheer Abbas Merali <zaheerabbas at merali dot org> * gst/mpegdemux/gstmpegdesc.h: + Fix up satellite delivery subsystem defs. + +2009-01-05 Zaheer Abbas Merali <zaheerabbas at merali dot org> + + * gst/mpegdemux/gstmpegdesc.h: Fix up terrestrial delivery system descriptor defs. They should be shifted otherwise wrong values are seen. diff --git a/gst/mpegdemux/gstmpegdesc.h b/gst/mpegdemux/gstmpegdesc.h index dc6851bdb..84b400093 100644 --- a/gst/mpegdemux/gstmpegdesc.h +++ b/gst/mpegdemux/gstmpegdesc.h @@ -279,7 +279,7 @@ #define DESC_DVB_SATELLITE_DELIVERY_SYSTEM_frequency(desc) (desc + 2) #define DESC_DVB_SATELLITE_DELIVERY_SYSTEM_orbital_position(desc) (desc + 6) #define DESC_DVB_SATELLITE_DELIVERY_SYSTEM_west_east_flag(desc) ((desc[8] & 0x80) == 0x80) -#define DESC_DVB_SATELLITE_DELIVERY_SYSTEM_polarization(desc) ((desc[8] & 0x60) >> 5) +#define DESC_DVB_SATELLITE_DELIVERY_SYSTEM_polarization(desc) ((desc[8] >> 5) & 0x3) #define DESC_DVB_SATELLITE_DELIVERY_SYSTEM_modulation(desc) (desc[8] & 0x1F) #define DESC_DVB_SATELLITE_DELIVERY_SYSTEM_symbol_rate(desc) (desc + 9) #define DESC_DVB_SATELLITE_DELIVERY_SYSTEM_fec_inner(desc) (desc[12] & 0x0F) |