mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
qtmux: init fourcc
Initialize the fourcc to 0 so that we can detect failure later.
This commit is contained in:
parent
27303b5904
commit
16f3fd6782
1 changed files with 2 additions and 2 deletions
|
@ -4344,12 +4344,12 @@ gst_qt_mux_video_sink_set_caps (GstQTPad * qtpad, GstCaps * caps)
|
|||
} else if (strcmp (mimetype, "video/x-dirac") == 0) {
|
||||
entry.fourcc = FOURCC_drac;
|
||||
} else if (strcmp (mimetype, "video/x-qt-part") == 0) {
|
||||
guint32 fourcc;
|
||||
guint32 fourcc = 0;
|
||||
|
||||
gst_structure_get_uint (structure, "format", &fourcc);
|
||||
entry.fourcc = fourcc;
|
||||
} else if (strcmp (mimetype, "video/x-mp4-part") == 0) {
|
||||
guint32 fourcc;
|
||||
guint32 fourcc = 0;
|
||||
|
||||
gst_structure_get_uint (structure, "format", &fourcc);
|
||||
entry.fourcc = fourcc;
|
||||
|
|
Loading…
Reference in a new issue