mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-10-24 23:08:51 -04:00
obs-outputs/flv: Fix ECMA array size
Fixes the size of the ECMA array storing onMetadata in flv. (from 14 to 20). Fixes ticket 1204.
This commit is contained in:
1 parent
fa90926533
commit
ce339ce613
1 file changed
+1
-1
@@ -74,7 +74,7 @@ static bool build_flv_meta_data(obs_output_t *context,
|
||||
enc_str(&enc, end, "onMetaData");
|
||||
|
||||
*enc++ = AMF_ECMA_ARRAY;
|
||||
enc = AMF_EncodeInt32(enc, end, a_idx == 0 ? 14 : 9);
|
||||
enc = AMF_EncodeInt32(enc, end, a_idx == 0 ? 20 : 15);
|
||||
|
||||
enc_num_val(&enc, end, "duration", 0.0);
|
||||
enc_num_val(&enc, end, "fileSize", 0.0);
|
||||
|
||||
Reference in new issue
Block a user