diff options
author | Ronald S. Bultje <rbultje@ronald.bitfreak.net> | 2005-04-22 14:24:30 +0000 |
---|---|---|
committer | Ronald S. Bultje <rbultje@ronald.bitfreak.net> | 2005-04-22 14:24:30 +0000 |
commit | 38a7b96780197bf6558ce1f85b91bf004f710785 (patch) | |
tree | 12be581ca4b7a52ac7d656828e60602a1fb971cc /examples | |
parent | 6ae500b9d91b7d6e59c29732b54002d61422fb0c (diff) | |
download | gst-plugins-bad-38a7b96780197bf6558ce1f85b91bf004f710785.tar.gz gst-plugins-bad-38a7b96780197bf6558ce1f85b91bf004f710785.tar.bz2 gst-plugins-bad-38a7b96780197bf6558ce1f85b91bf004f710785.zip |
First set of GCC4 compiler fixes.
Original commit message from CVS:
Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
* examples/seeking/cdplayer.c: (query_durations),
(query_positions), (main):
* examples/seeking/playbin.c: (main):
* examples/seeking/seek.c: (query_durations_elems),
(query_durations_pads), (query_positions_elems),
(query_positions_pads), (main):
* examples/seeking/spider_seek.c: (query_durations),
(query_positions), (main):
* gst-libs/gst/idct/idct.c: (gst_idct_int_sparse_idct):
* gst-libs/gst/media-info/media-info.c: (gst_media_info_read):
* gst-libs/gst/xwindowlistener/xwindowlistener.c:
(gst_xwin_refresh):
* gst/alpha/gstalpha.c: (gst_alpha_chroma_key_ayuv),
(gst_alpha_chroma_key_i420):
* gst/apetag/apedemux.c: (gst_ape_demux_parse_tags):
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_process_comment),
(gst_asf_demux_process_ext_content_desc):
* gst/audioconvert/gstchannelmix.c:
(gst_audio_convert_fill_one_other):
* gst/auparse/gstauparse.c: (gst_auparse_chain):
* gst/avi/gstavidemux.c: (gst_avi_demux_stream_data):
* gst/avi/gstavidemux.h:
* gst/avi/gstavimux.c: (gst_avimux_vidsinkconnect),
(gst_avimux_do_audio_buffer), (gst_avimux_do_video_buffer):
* gst/colorspace/yuv2rgb.c: (number_of_bits_set),
(free_bits_at_top), (free_bits_at_bottom):
* gst/effectv/gstdice.c: (gst_dicetv_draw):
* gst/effectv/gstwarp.c: (gst_warptv_setup):
* gst/festival/gstfestival.c: (gst_festival_chain):
* gst/flx/gstflxdec.c: (flx_decode_chunks):
* gst/games/gstvideoimage.c: (paint_setup_I420),
(paint_setup_YV12), (paint_setup_YUY2), (paint_setup_UYVY),
(paint_setup_YVYU), (paint_setup_IYU2), (paint_setup_Y41B),
(paint_setup_Y42B), (paint_setup_Y800), (paint_setup_YVU9),
(paint_setup_YUV9), (paint_setup_xRGB8888), (paint_setup_xBGR8888),
(paint_setup_RGBx8888), (paint_setup_BGRx8888),
(paint_setup_RGB888), (paint_setup_BGR888), (paint_setup_RGB565),
(paint_setup_xRGB1555):
* gst/games/gstvideoimage.h:
* gst/goom/filters.c: (zoomFilterFastRGB):
* gst/goom/goom_core.c: (goom_close):
* gst/goom/graphic.c:
* gst/law/mulaw-encode.c: (gst_mulawenc_chain):
* gst/level/demo.c: (setup_gui):
* gst/librfb/rfbdecoder.c:
(rfb_decoder_state_wait_for_protocol_version):
* gst/matroska/matroska-demux.c: (gst_matroska_demux_parse_index),
(gst_matroska_demux_parse_blockgroup):
* gst/matroska/matroska-mux.c: (gst_matroska_mux_create_uid):
* gst/monoscope/monoscope.c: (monoscope_init):
* gst/mpeg1sys/gstmpeg1systemencode.c:
(gst_system_encode_multiplex):
* gst/mpeg2sub/gstmpeg2subt.c: (gst_mpeg2subt_merge_title),
(gst_mpeg2subt_handle_dvd_event):
* gst/mpegaudio/encoder.h:
* gst/mpegaudioparse/gstmpegaudioparse.c: (gst_mp3parse_chain):
* gst/mpegstream/gstdvddemux.c:
(gst_dvd_demux_sync_stream_to_time):
* gst/mpegstream/gstmpegdemux.c:
(gst_mpeg_demux_sync_stream_to_time),
(gst_mpeg_demux_handle_src_event):
* gst/mpegstream/gstmpegparse.c: (gst_mpeg_parse_handle_discont),
(index_seek), (normal_seek), (gst_mpeg_parse_handle_src_event):
* gst/multipart/multipartdemux.c: (gst_multipart_demux_chain):
* gst/playback/gstplaybasebin.c: (setup_source):
* gst/playback/test.c: (gen_video_element), (gen_audio_element):
* gst/playback/test3.c: (update_scale):
* gst/realmedia/rmdemux.c: (re_get_pascal_string):
* gst/rtjpeg/RTjpeg.c: (RTjpeg_compressYUV420),
(RTjpeg_compressYUV422), (RTjpeg_decompressYUV422),
(RTjpeg_decompressYUV420), (RTjpeg_mcompress):
* gst/rtp/gstrtpL16enc.c: (gst_rtpL16enc_chain):
* gst/synaesthesia/synaescope.c: (synaescope32), (init_synaescope),
(synaesthesia_close):
* gst/tcp/fdsetstress.c: (mess_some_more):
* gst/vbidec/vbidata.c: (vbidata_new_file), (vbidata_new_line):
* sys/glsink/glimagesink.c: (gst_glimagesink_xcontext_get):
* sys/ximage/ximagesink.c: (gst_ximagesink_check_xshm_calls),
(gst_ximagesink_ximage_new), (gst_ximagesink_ximage_destroy):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_check_xshm_calls),
(gst_xvimagesink_xvimage_new), (gst_xvimagesink_xvimage_destroy):
* testsuite/multifilesink/fakesrc_test.c: (test_format),
(test_signal):
* testsuite/multifilesink/lame_test.c: (test_format),
(test_signal):
* testsuite/multifilesink/oggtheora_test.c: (test_format),
(test_signal):
* testsuite/multifilesink/oggvorbis_test.c: (test_format),
(test_signal):
* testsuite/multifilesink/wavenc_test.c: (test_format),
(test_signal):
First set of GCC4 compiler fixes.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/seeking/cdplayer.c | 10 | ||||
-rw-r--r-- | examples/seeking/playbin.c | 6 | ||||
-rw-r--r-- | examples/seeking/seek.c | 14 | ||||
-rw-r--r-- | examples/seeking/spider_seek.c | 10 |
4 files changed, 20 insertions, 20 deletions
diff --git a/examples/seeking/cdplayer.c b/examples/seeking/cdplayer.c index 21fa302d..5532e68c 100644 --- a/examples/seeking/cdplayer.c +++ b/examples/seeking/cdplayer.c @@ -60,7 +60,7 @@ static seek_format seek_formats[] = { G_GNUC_UNUSED static void -query_durations () +query_durations (void) { GList *walk = seekable_elements; @@ -89,7 +89,7 @@ query_durations () } G_GNUC_UNUSED static void -query_positions () +query_positions (void) { GList *walk = seekable_elements; @@ -267,11 +267,11 @@ main (int argc, char **argv) gtk_scale_set_digits (GTK_SCALE (hscale), 2); gtk_range_set_update_policy (GTK_RANGE (hscale), GTK_UPDATE_CONTINUOUS); - gtk_signal_connect (GTK_OBJECT (hscale), + g_signal_connect (hscale, "button_press_event", G_CALLBACK (start_seek), pipeline); - gtk_signal_connect (GTK_OBJECT (hscale), + g_signal_connect (hscale, "button_release_event", G_CALLBACK (stop_seek), pipeline); - gtk_signal_connect (GTK_OBJECT (hscale), + g_signal_connect (hscale, "format_value", G_CALLBACK (format_value), pipeline); /* do the packing stuff ... */ diff --git a/examples/seeking/playbin.c b/examples/seeking/playbin.c index b6ff35b8..b213c5fc 100644 --- a/examples/seeking/playbin.c +++ b/examples/seeking/playbin.c @@ -225,11 +225,11 @@ main (int argc, char **argv) gtk_scale_set_digits (GTK_SCALE (hscale), 2); gtk_range_set_update_policy (GTK_RANGE (hscale), GTK_UPDATE_CONTINUOUS); - gtk_signal_connect (GTK_OBJECT (hscale), + g_signal_connect (hscale, "button_press_event", G_CALLBACK (start_seek), pipeline); - gtk_signal_connect (GTK_OBJECT (hscale), + g_signal_connect (hscale, "button_release_event", G_CALLBACK (stop_seek), pipeline); - gtk_signal_connect (GTK_OBJECT (hscale), + g_signal_connect (hscale, "format_value", G_CALLBACK (format_value), pipeline); /* do the packing stuff ... */ diff --git a/examples/seeking/seek.c b/examples/seeking/seek.c index fdd7c45d..d4a269fb 100644 --- a/examples/seeking/seek.c +++ b/examples/seeking/seek.c @@ -663,7 +663,7 @@ query_rates (void) } G_GNUC_UNUSED static void -query_durations_elems () +query_durations_elems (void) { GList *walk = seekable_elements; @@ -693,7 +693,7 @@ query_durations_elems () } G_GNUC_UNUSED static void -query_durations_pads () +query_durations_pads (void) { GList *walk = seekable_pads; @@ -723,7 +723,7 @@ query_durations_pads () } G_GNUC_UNUSED static void -query_positions_elems () +query_positions_elems (void) { GList *walk = seekable_elements; @@ -753,7 +753,7 @@ query_positions_elems () } G_GNUC_UNUSED static void -query_positions_pads () +query_positions_pads (void) { GList *walk = seekable_pads; @@ -1035,11 +1035,11 @@ main (int argc, char **argv) gtk_scale_set_digits (GTK_SCALE (hscale), 2); gtk_range_set_update_policy (GTK_RANGE (hscale), GTK_UPDATE_CONTINUOUS); - gtk_signal_connect (GTK_OBJECT (hscale), + g_signal_connect (hscale, "button_press_event", G_CALLBACK (start_seek), pipeline); - gtk_signal_connect (GTK_OBJECT (hscale), + g_signal_connect (hscale, "button_release_event", G_CALLBACK (stop_seek), pipeline); - gtk_signal_connect (GTK_OBJECT (hscale), + g_signal_connect (hscale, "format_value", G_CALLBACK (format_value), pipeline); /* do the packing stuff ... */ diff --git a/examples/seeking/spider_seek.c b/examples/seeking/spider_seek.c index d63d3bde..c19b5de6 100644 --- a/examples/seeking/spider_seek.c +++ b/examples/seeking/spider_seek.c @@ -136,7 +136,7 @@ query_rates (void) } G_GNUC_UNUSED static void -query_durations () +query_durations (void) { GList *walk = seekable_elements; @@ -165,7 +165,7 @@ query_durations () } G_GNUC_UNUSED static void -query_positions () +query_positions (void) { GList *walk = seekable_elements; @@ -345,11 +345,11 @@ main (int argc, char **argv) gtk_scale_set_digits (GTK_SCALE (hscale), 2); gtk_range_set_update_policy (GTK_RANGE (hscale), GTK_UPDATE_CONTINUOUS); - gtk_signal_connect (GTK_OBJECT (hscale), + g_signal_connect (hscale, "button_press_event", G_CALLBACK (start_seek), pipeline); - gtk_signal_connect (GTK_OBJECT (hscale), + g_signal_connect (hscale, "button_release_event", G_CALLBACK (stop_seek), pipeline); - gtk_signal_connect (GTK_OBJECT (hscale), + g_signal_connect (hscale, "format_value", G_CALLBACK (format_value), pipeline); /* do the packing stuff ... */ |