mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-03 16:09:39 +00:00
libs: decoder: h264: improve code-style
https://bugzilla.gnome.org/show_bug.cgi?id=786173
This commit is contained in:
parent
b942f9e17f
commit
d9c88f4785
1 changed files with 2 additions and 2 deletions
|
@ -1581,8 +1581,8 @@ ensure_context (GstVaapiDecoderH264 * decoder, GstH264SPS * sps)
|
|||
}
|
||||
|
||||
mb_width = sps->pic_width_in_mbs_minus1 + 1;
|
||||
mb_height = (sps->pic_height_in_map_units_minus1 + 1) <<
|
||||
!sps->frame_mbs_only_flag;
|
||||
mb_height =
|
||||
(sps->pic_height_in_map_units_minus1 + 1) << !sps->frame_mbs_only_flag;
|
||||
if (priv->mb_width != mb_width || priv->mb_height != mb_height) {
|
||||
GST_DEBUG ("size changed");
|
||||
reset_context = TRUE;
|
||||
|
|
Loading…
Reference in a new issue