From: Sebastian Dröge Date: Mon, 3 Oct 2011 10:06:27 +0000 (+0200) Subject: rtpvp8pay: Fix typo X-Git-Tag: 1.19.3~509^2~6388 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2c5ea76bdc17a751a98d5295b593d9145ead34a4;p=platform%2Fupstream%2Fgstreamer.git rtpvp8pay: Fix typo --- diff --git a/gst/rtp/gstrtpvp8pay.c b/gst/rtp/gstrtpvp8pay.c index 4c63ded..fc4844b 100644 --- a/gst/rtp/gstrtpvp8pay.c +++ b/gst/rtp/gstrtpvp8pay.c @@ -410,10 +410,10 @@ gst_rtp_vp8_pay_handle_event (GstPad * pad, GstEvent * event) GstRtpVP8Pay *self = GST_RTP_VP8_PAY (gst_pad_get_parent (pad)); if (GST_EVENT_TYPE (event) == GST_EVENT_FLUSH_START) { - if (obj->picture_id_mode == VP8_PAY_PICTURE_ID_7BITS) - obj->picture_id = g_random_int_range (0, G_MAXUINT8) & 0x7F; - else if (obj->picture_id_mode == VP8_PAY_PICTURE_ID_15BITS) - obj->picture_id = g_random_int_range (0, G_MAXUINT16) & 0x7FFF; + if (self->picture_id_mode == VP8_PAY_PICTURE_ID_7BITS) + self->picture_id = g_random_int_range (0, G_MAXUINT8) & 0x7F; + else if (self->picture_id_mode == VP8_PAY_PICTURE_ID_15BITS) + self->picture_id = g_random_int_range (0, G_MAXUINT16) & 0x7FFF; } gst_object_unref (self);