mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 00:06:36 +00:00
encoder: h264: fix number of anchor and non-anchor reference pictures.
Set the value of num_anchor_refs_l0, num_anchor_refs_l1, num_non_anchor_refs_l0, and num_non_anchor_refs_l1 to zero since the inter-view prediction is not yet supported.
This commit is contained in:
parent
8ebf60124a
commit
a4bd8450f7
1 changed files with 4 additions and 4 deletions
|
@ -572,24 +572,24 @@ bs_write_subset_sps (GstBitWriter * bs,
|
|||
WRITE_UE (bs, i);
|
||||
|
||||
for (i = 1; i <= num_views_minus1; i++) {
|
||||
guint32 num_anchor_refs_l0 = 15;
|
||||
guint32 num_anchor_refs_l0 = 0;
|
||||
WRITE_UE (bs, num_anchor_refs_l0);
|
||||
for (j = 0; j < num_anchor_refs_l0; j++)
|
||||
WRITE_UE (bs, 0);
|
||||
|
||||
guint32 num_anchor_refs_l1 = 15;
|
||||
guint32 num_anchor_refs_l1 = 0;
|
||||
WRITE_UE (bs, num_anchor_refs_l1);
|
||||
for (j = 0; j < num_anchor_refs_l1; j++)
|
||||
WRITE_UE (bs, 0);
|
||||
}
|
||||
|
||||
for (i = 1; i <= num_views_minus1; i++) {
|
||||
guint num_non_anchor_refs_l0 = 15;
|
||||
guint32 num_non_anchor_refs_l0 = 0;
|
||||
WRITE_UE (bs, num_non_anchor_refs_l0);
|
||||
for (j = 0; j < num_non_anchor_refs_l0; j++)
|
||||
WRITE_UE (bs, 0);
|
||||
|
||||
guint num_non_anchor_refs_l1 = 15;
|
||||
guint32 num_non_anchor_refs_l1 = 0;
|
||||
WRITE_UE (bs, num_non_anchor_refs_l1);
|
||||
for (j = 0; j < num_non_anchor_refs_l1; j++)
|
||||
WRITE_UE (bs, 0);
|
||||
|
|
Loading…
Reference in a new issue