[0.10] gst-plugins-bad: codecparsers: read the cbr_flag in h264_parse_hrd_parameters

Tim Müller tpm at kemper.freedesktop.org
Mon Jan 30 04:41:47 PST 2012


Module: gst-plugins-bad
Branch: 0.10
Commit: de409196ff1fdfaa8a0aae57dbd00a4258f00d65
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?id=de409196ff1fdfaa8a0aae57dbd00a4258f00d65

Author: Jonas Larsson <jonas at hallerud.se>
Date:   Mon Jan 23 18:51:34 2012 +0100

codecparsers: read the cbr_flag in h264_parse_hrd_parameters

---

 gst-libs/gst/codecparsers/gsth264parser.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/gst-libs/gst/codecparsers/gsth264parser.c b/gst-libs/gst/codecparsers/gsth264parser.c
index 45039f7..d0c6c45 100644
--- a/gst-libs/gst/codecparsers/gsth264parser.c
+++ b/gst-libs/gst/codecparsers/gsth264parser.c
@@ -518,6 +518,7 @@ gst_h264_parse_hrd_parameters (GstH264HRDParams * hrd, NalReader * nr)
   for (sched_sel_idx = 0; sched_sel_idx <= hrd->cpb_cnt_minus1; sched_sel_idx++) {
     READ_UE (nr, hrd->bit_rate_value_minus1[sched_sel_idx]);
     READ_UE (nr, hrd->cpb_size_value_minus1[sched_sel_idx]);
+    READ_UINT8 (nr, hrd->cbr_flag[sched_sel_idx], 1);
   }
 
   READ_UINT8 (nr, hrd->initial_cpb_removal_delay_length_minus1, 5);



More information about the gstreamer-commits mailing list