mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-04 22:48:54 +00:00
vc1parser: Correct the parsing of FRMRTQ_POSTPROC and BITRTQ_POSTPROC
This commit is contained in:
parent
30a3c5147b
commit
48275dc071
1 changed files with 2 additions and 2 deletions
|
@ -781,13 +781,13 @@ static inline void
|
|||
calculate_framerate_bitrate (guint8 frmrtq_postproc, guint8 bitrtq_postproc,
|
||||
guint * framerate, guint * bitrate)
|
||||
{
|
||||
if (frmrtq_postproc == 0 && bitrtq_postproc == 30) {
|
||||
if (frmrtq_postproc == 0 && bitrtq_postproc == 31) {
|
||||
*framerate = 0;
|
||||
*bitrate = 0;
|
||||
} else if (frmrtq_postproc == 0 && bitrtq_postproc == 30) {
|
||||
*framerate = 2;
|
||||
*bitrate = 1952;
|
||||
} else if (frmrtq_postproc == 0 && bitrtq_postproc == 31) {
|
||||
} else if (frmrtq_postproc == 1 && bitrtq_postproc == 31) {
|
||||
*framerate = 6;
|
||||
*bitrate = 2016;
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue