diff options
Diffstat (limited to 'ext')
-rw-r--r-- | ext/jpeg/gstjpegdec.c | 2 | ||||
-rw-r--r-- | ext/pulse/pulsesrc.c | 2 | ||||
-rw-r--r-- | ext/taglib/gstid3v2mux.cc | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/ext/jpeg/gstjpegdec.c b/ext/jpeg/gstjpegdec.c index ec279e969..99547fcb4 100644 --- a/ext/jpeg/gstjpegdec.c +++ b/ext/jpeg/gstjpegdec.c @@ -1061,7 +1061,7 @@ gst_jpeg_dec_update_qos (GstJpegDec * dec, gdouble proportion, GST_OBJECT_LOCK (dec); dec->proportion = proportion; if (G_LIKELY (ts != GST_CLOCK_TIME_NONE)) { - if (G_UNLIKELY (diff > 0)) + if (G_UNLIKELY (diff > dec->qos_duration)) dec->earliest_time = ts + 2 * diff + dec->qos_duration; else dec->earliest_time = ts + diff; diff --git a/ext/pulse/pulsesrc.c b/ext/pulse/pulsesrc.c index ebb41c19b..504a1293b 100644 --- a/ext/pulse/pulsesrc.c +++ b/ext/pulse/pulsesrc.c @@ -1112,7 +1112,7 @@ gst_pulsesrc_success_cb (pa_stream * s, int success, void *userdata) { GstPulseSrc *pulsesrc = GST_PULSESRC_CAST (userdata); - pulsesrc->operation_success = ! !success; + pulsesrc->operation_success = !!success; pa_threaded_mainloop_signal (pulsesrc->mainloop, 0); } diff --git a/ext/taglib/gstid3v2mux.cc b/ext/taglib/gstid3v2mux.cc index 646804866..cc307aa0f 100644 --- a/ext/taglib/gstid3v2mux.cc +++ b/ext/taglib/gstid3v2mux.cc @@ -368,7 +368,7 @@ add_id3v2frame_tag (ID3v2::Tag * id3v2tag, const GstTagList * list, GstBuffer *buf; val = gst_tag_list_get_value_index (list, tag, i); - buf = (GstBuffer *) gst_value_get_mini_object (val); + buf = (GstBuffer *) g_value_get_boxed (val); if (buf && GST_BUFFER_CAPS (buf)) { GstStructure *s; @@ -403,7 +403,7 @@ add_image_tag (ID3v2::Tag * id3v2tag, const GstTagList * list, GST_DEBUG ("image %u/%u", n + 1, num_tags); val = gst_tag_list_get_value_index (list, tag, n); - image = (GstBuffer *) gst_value_get_mini_object (val); + image = (GstBuffer *) g_value_get_boxed (val); if (GST_IS_BUFFER (image) && GST_BUFFER_SIZE (image) > 0 && GST_BUFFER_CAPS (image) != NULL && |