summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gst/rtp/gstrtpvrawdepay.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/rtp/gstrtpvrawdepay.c b/gst/rtp/gstrtpvrawdepay.c
index 4300aaa7..f6338892 100644
--- a/gst/rtp/gstrtpvrawdepay.c
+++ b/gst/rtp/gstrtpvrawdepay.c
@@ -139,10 +139,10 @@ gst_rtp_vraw_depay_setcaps (GstBaseRTPDepayload * depayload, GstCaps * caps)
/* optional interlace value but we don't handle interlaced
* formats yet */
- if ((str = gst_structure_get_string (structure, "interlace")))
+ if (gst_structure_get_string (structure, "interlace"))
goto interlaced;
- if (!(str = gst_structure_get_string (structure, "sampling")))
+ if (gst_structure_get_string (structure, "sampling"))
goto no_sampling;
if (!strcmp (str, "RGB")) {