mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-09-16 17:10:35 +00:00
qtdemux: Fix the max/avg in btrt atom reading
According to ISO media base format, the max bitrate is the first one, and the avg comes next.
This commit is contained in:
parent
8419df627b
commit
a15430a862
1 changed files with 2 additions and 2 deletions
|
@ -5401,8 +5401,8 @@ qtdemux_parse_trak (GstQTDemux * qtdemux, GNode * trak)
|
||||||
if (size < 12)
|
if (size < 12)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
max_bitrate = QT_UINT32 (avc_data + 0x10);
|
max_bitrate = QT_UINT32 (avc_data + 0xc);
|
||||||
avg_bitrate = QT_UINT32 (avc_data + 0xc);
|
avg_bitrate = QT_UINT32 (avc_data + 0x10);
|
||||||
|
|
||||||
if (!max_bitrate && !avg_bitrate)
|
if (!max_bitrate && !avg_bitrate)
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue