Commit 4e795c5f authored by Edward Hervey's avatar Edward Hervey 🤘

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
parent a8dec12d
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> 2008-04-16 Tim-Philipp Müller <tim at centricular dot net>
* configure.ac: * configure.ac:
......
...@@ -359,7 +359,7 @@ gst_cdio_cdda_src_set_property (GObject * object, guint prop_id, ...@@ -359,7 +359,7 @@ gst_cdio_cdda_src_set_property (GObject * object, guint prop_id,
gint speed; gint speed;
speed = g_value_get_int (value); speed = g_value_get_int (value);
gst_atomic_int_set (&src->read_speed, speed); g_atomic_int_set (&src->read_speed, speed);
break; break;
} }
default: default:
......
...@@ -280,7 +280,7 @@ gst_dvdemux_reset (GstDVDemux * dvdemux) ...@@ -280,7 +280,7 @@ gst_dvdemux_reset (GstDVDemux * dvdemux)
dvdemux->audio_offset = 0; dvdemux->audio_offset = 0;
dvdemux->video_offset = 0; dvdemux->video_offset = 0;
dvdemux->framecount = 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->frame_len = -1;
dvdemux->need_segment = FALSE; dvdemux->need_segment = FALSE;
dvdemux->new_media = FALSE; dvdemux->new_media = FALSE;
...@@ -1449,7 +1449,7 @@ gst_dvdemux_flush (GstDVDemux * dvdemux) ...@@ -1449,7 +1449,7 @@ gst_dvdemux_flush (GstDVDemux * dvdemux)
dvdemux->framerate_numerator = NTSC_FRAMERATE_NUMERATOR; dvdemux->framerate_numerator = NTSC_FRAMERATE_NUMERATOR;
dvdemux->framerate_denominator = NTSC_FRAMERATE_DENOMINATOR; 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 /* let demux_video set the height, it needs to detect when things change so
* it can reset caps */ * it can reset caps */
...@@ -1597,7 +1597,7 @@ gst_dvdemux_loop (GstPad * pad) ...@@ -1597,7 +1597,7 @@ gst_dvdemux_loop (GstPad * pad)
/* setting header and prrforming the seek must be atomic */ /* setting header and prrforming the seek must be atomic */
GST_OBJECT_LOCK (dvdemux); GST_OBJECT_LOCK (dvdemux);
/* got header now */ /* 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. */ /* now perform pending seek if any. */
event = dvdemux->seek_event; event = dvdemux->seek_event;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment