mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 09:10:36 +00:00
qtmux: avoid shortcut evaluation when adding paired mp4 tag
Fixes (part of) #638711.
This commit is contained in:
parent
00c8ae733d
commit
57684fee3a
1 changed files with 4 additions and 2 deletions
|
@ -572,9 +572,11 @@ gst_qt_mux_add_mp4_tag (GstQTMux * qtmux, const GstTagList * list,
|
|||
if (tag2) {
|
||||
/* paired unsigned integers */
|
||||
guint count = 0;
|
||||
gboolean got_tag;
|
||||
|
||||
if (!(gst_tag_list_get_uint (list, tag, &value) ||
|
||||
gst_tag_list_get_uint (list, tag2, &count)))
|
||||
got_tag = gst_tag_list_get_uint (list, tag, &value);
|
||||
got_tag = gst_tag_list_get_uint (list, tag2, &count) || got_tag;
|
||||
if (!got_tag)
|
||||
break;
|
||||
GST_DEBUG_OBJECT (qtmux, "Adding tag %" GST_FOURCC_FORMAT " -> %u/%u",
|
||||
GST_FOURCC_ARGS (fourcc), value, count);
|
||||
|
|
Loading…
Reference in a new issue