mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 10:11:08 +00:00
flvmux: Make the element count in arrays not include end
One-line removal of tags_written++ This should fix rtmp output to crtmpserver, and hopefully noone is expecting that the element count includes the end element, as different bits of documentation say different things about whether it should or not. https://bugzilla.gnome.org/show_bug.cgi?id=661624
This commit is contained in:
parent
db2967125b
commit
1afb988256
1 changed files with 1 additions and 1 deletions
|
@ -1008,7 +1008,7 @@ end:
|
|||
data[1] = 0;
|
||||
data[2] = 9; /* end marker */
|
||||
script_tag = gst_buffer_append (script_tag, tmp);
|
||||
tags_written++;
|
||||
|
||||
|
||||
_gst_buffer_new_and_alloc (4, &tmp, &data);
|
||||
GST_WRITE_UINT32_BE (data, gst_buffer_get_size (script_tag));
|
||||
|
|
Loading…
Reference in a new issue