diff options
author | Wim Taymans <wim.taymans@collabora.co.uk> | 2009-06-02 19:30:30 +0200 |
---|---|---|
committer | Wim Taymans <wim.taymans@collabora.co.uk> | 2009-06-02 19:33:28 +0200 |
commit | dabddb812605e2b710346863d172049f80629a45 (patch) | |
tree | ef92b830d1a2dcb3dc3e5f8ba3c5261ca3b6ebec | |
parent | d9544bcc44adcef769cbdf7f6453e140058a3adc (diff) |
vrawdepay: fix parsing of sampling field
commit a12d9a80f225be97b3674b1a0506ac66544dbf49 broke the parsing of the
sampling.
-rw-r--r-- | gst/rtp/gstrtpvrawdepay.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/rtp/gstrtpvrawdepay.c b/gst/rtp/gstrtpvrawdepay.c index f6338892..2b3d7998 100644 --- a/gst/rtp/gstrtpvrawdepay.c +++ b/gst/rtp/gstrtpvrawdepay.c @@ -142,7 +142,7 @@ gst_rtp_vraw_depay_setcaps (GstBaseRTPDepayload * depayload, GstCaps * caps) if (gst_structure_get_string (structure, "interlace")) goto interlaced; - if (gst_structure_get_string (structure, "sampling")) + if (!(str = gst_structure_get_string (structure, "sampling"))) goto no_sampling; if (!strcmp (str, "RGB")) { |