From: <wt...@ke...> - 2009-06-02 17:33:54
|
Module: gst-plugins-good Branch: master Commit: dabddb812605e2b710346863d172049f80629a45 URL: http://cgit.freedesktop.org/gstreamer/gst-plugins-good/commit/?id=dabddb812605e2b710346863d172049f80629a45 Author: Wim Taymans <wim...@co...> Date: Tue Jun 2 19:30:30 2009 +0200 vrawdepay: fix parsing of sampling field commit a12d9a80f225be97b3674b1a0506ac66544dbf49 broke the parsing of the sampling. --- 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 f633889..2b3d799 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")) { |