h263parse: fix height extraction for H263p
This commit is contained in:
parent
79249be0aa
commit
ff495342f2
@ -280,7 +280,7 @@ gst_h263_parse_get_params (H263Params * params, GstBuffer * buffer,
|
|||||||
}
|
}
|
||||||
temp8 = cpfmt >> 19;
|
temp8 = cpfmt >> 19;
|
||||||
params->width = (((cpfmt >> 10) & 0x1f) + 1) * 4;
|
params->width = (((cpfmt >> 10) & 0x1f) + 1) * 4;
|
||||||
params->height = (cpfmt & 0x1f) * 4;
|
params->height = ((cpfmt & 0x1f) + 1) * 4;
|
||||||
|
|
||||||
if (temp8 == 0xf) {
|
if (temp8 == 0xf) {
|
||||||
guint32 epar = 0;
|
guint32 epar = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user