mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-03 01:02:19 +00:00
vrawdepay: fix parsing of sampling field
commit a12d9a80f2
broke the parsing of the
sampling.
This commit is contained in:
parent
d9544bcc44
commit
dabddb8126
1 changed files with 1 additions and 1 deletions
|
@ -142,7 +142,7 @@ gst_rtp_vraw_depay_setcaps (GstBaseRTPDepayload * depayload, GstCaps * caps)
|
||||||
if (gst_structure_get_string (structure, "interlace"))
|
if (gst_structure_get_string (structure, "interlace"))
|
||||||
goto interlaced;
|
goto interlaced;
|
||||||
|
|
||||||
if (gst_structure_get_string (structure, "sampling"))
|
if (!(str = gst_structure_get_string (structure, "sampling")))
|
||||||
goto no_sampling;
|
goto no_sampling;
|
||||||
|
|
||||||
if (!strcmp (str, "RGB")) {
|
if (!strcmp (str, "RGB")) {
|
||||||
|
|
Loading…
Reference in a new issue