mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 07:47:17 +00:00
ext/: gst_atomic_int_set ==> g_atomic_int_set
Original commit message from CVS: * ext/cdio/gstcdiocddasrc.c: * ext/dv/gstdvdemux.c: gst_atomic_int_set ==> g_atomic_int_set
This commit is contained in:
parent
a8dec12d98
commit
4e795c5fc5
3 changed files with 10 additions and 4 deletions
|
@ -1,3 +1,9 @@
|
|||
2008-04-17 Edward Hervey <edward.hervey@collabora.co.uk>
|
||||
|
||||
* ext/cdio/gstcdiocddasrc.c:
|
||||
* ext/dv/gstdvdemux.c:
|
||||
gst_atomic_int_set ==> g_atomic_int_set
|
||||
|
||||
2008-04-16 Tim-Philipp Müller <tim at centricular dot net>
|
||||
|
||||
* configure.ac:
|
||||
|
|
|
@ -359,7 +359,7 @@ gst_cdio_cdda_src_set_property (GObject * object, guint prop_id,
|
|||
gint speed;
|
||||
|
||||
speed = g_value_get_int (value);
|
||||
gst_atomic_int_set (&src->read_speed, speed);
|
||||
g_atomic_int_set (&src->read_speed, speed);
|
||||
break;
|
||||
}
|
||||
default:
|
||||
|
|
|
@ -280,7 +280,7 @@ gst_dvdemux_reset (GstDVDemux * dvdemux)
|
|||
dvdemux->audio_offset = 0;
|
||||
dvdemux->video_offset = 0;
|
||||
dvdemux->framecount = 0;
|
||||
gst_atomic_int_set (&dvdemux->found_header, 0);
|
||||
g_atomic_int_set (&dvdemux->found_header, 0);
|
||||
dvdemux->frame_len = -1;
|
||||
dvdemux->need_segment = FALSE;
|
||||
dvdemux->new_media = FALSE;
|
||||
|
@ -1449,7 +1449,7 @@ gst_dvdemux_flush (GstDVDemux * dvdemux)
|
|||
dvdemux->framerate_numerator = NTSC_FRAMERATE_NUMERATOR;
|
||||
dvdemux->framerate_denominator = NTSC_FRAMERATE_DENOMINATOR;
|
||||
}
|
||||
gst_atomic_int_set (&dvdemux->found_header, 1);
|
||||
g_atomic_int_set (&dvdemux->found_header, 1);
|
||||
|
||||
/* let demux_video set the height, it needs to detect when things change so
|
||||
* it can reset caps */
|
||||
|
@ -1597,7 +1597,7 @@ gst_dvdemux_loop (GstPad * pad)
|
|||
/* setting header and prrforming the seek must be atomic */
|
||||
GST_OBJECT_LOCK (dvdemux);
|
||||
/* got header now */
|
||||
gst_atomic_int_set (&dvdemux->found_header, 1);
|
||||
g_atomic_int_set (&dvdemux->found_header, 1);
|
||||
|
||||
/* now perform pending seek if any. */
|
||||
event = dvdemux->seek_event;
|
||||
|
|
Loading…
Reference in a new issue