Skip to content

Commit

Permalink
Merge pull request obsproject#1246 from pkviet/onMeta
Browse files Browse the repository at this point in the history
obs-outputs/flv: Fix ECMA array size
  • Loading branch information
jp9000 authored Apr 21, 2018
2 parents 61839d8 + ce339ce commit 2ebcd49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/obs-outputs/flv-mux.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 2ebcd49

Please sign in to comment.