mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
dvbsuboverlay: fix compiler warnings
gstdvbsuboverlay.c:772:15: error: pointer targets in passing argument 5 of 'gst_segment_clip' differ in signedness /home/tpm/gst/0.11/gstreamer/gst/gstsegment.h:192:14: note: expected 'guint64 *' but argument is of type 'gint64 *' gstdvbsuboverlay.c:772:15: error: pointer targets in passing argument 6 of 'gst_segment_clip' differ in signedness
This commit is contained in:
parent
39d2a9fb44
commit
584485b9f4
1 changed files with 3 additions and 3 deletions
|
@ -752,15 +752,15 @@ new_dvb_subtitles_cb (DvbSub * dvb_sub, DVBSubtitles * subs, gpointer user_data)
|
||||||
{
|
{
|
||||||
GstDVBSubOverlay *overlay = GST_DVBSUB_OVERLAY (user_data);
|
GstDVBSubOverlay *overlay = GST_DVBSUB_OVERLAY (user_data);
|
||||||
int max_page_timeout;
|
int max_page_timeout;
|
||||||
gint64 start, stop;
|
guint64 start, stop;
|
||||||
|
|
||||||
max_page_timeout = g_atomic_int_get (&overlay->max_page_timeout);
|
max_page_timeout = g_atomic_int_get (&overlay->max_page_timeout);
|
||||||
if (max_page_timeout > 0)
|
if (max_page_timeout > 0)
|
||||||
subs->page_time_out = MIN (subs->page_time_out, max_page_timeout);
|
subs->page_time_out = MIN (subs->page_time_out, max_page_timeout);
|
||||||
|
|
||||||
GST_INFO_OBJECT (overlay,
|
GST_INFO_OBJECT (overlay,
|
||||||
"New DVB subtitles arrived with a page_time_out of %d and %d regions for PTS=%"
|
"New DVB subtitles arrived with a page_time_out of %d and %d regions for "
|
||||||
G_GUINT64_FORMAT ", which should be at time %" GST_TIME_FORMAT,
|
"PTS=%" G_GUINT64_FORMAT ", which should be at time %" GST_TIME_FORMAT,
|
||||||
subs->page_time_out, subs->num_rects, subs->pts,
|
subs->page_time_out, subs->num_rects, subs->pts,
|
||||||
GST_TIME_ARGS (subs->pts));
|
GST_TIME_ARGS (subs->pts));
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue