summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2011-10-03 12:06:27 +0200
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2011-10-03 12:06:27 +0200
commit24241b809e1bbdf0021b9fc5c472a4273d8bab51 (patch)
tree515a22b3e4c40cbc2aa10cd1fb29a4786958d12a
parentf5abb2c647de039932b991e54be4b7ee73a99440 (diff)
rtpvp8pay: Fix typo
-rw-r--r--gst/rtpvp8/gstrtpvp8pay.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gst/rtpvp8/gstrtpvp8pay.c b/gst/rtpvp8/gstrtpvp8pay.c
index 4c63ded2e..fc4844b22 100644
--- a/gst/rtpvp8/gstrtpvp8pay.c
+++ b/gst/rtpvp8/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);