summaryrefslogtreecommitdiffstats
path: root/examples/seeking/seek.c
AgeCommit message (Collapse)AuthorFilesLines
2005-05-05ex/: Even more gcc-4.0 fixes.Tim-Philipp Müller1-2/+2
Original commit message from CVS: * examples/seeking/cdplayer.c: (update_scale): * examples/seeking/playbin.c: (update_scale): * examples/seeking/seek.c: (update_scale): * examples/seeking/spider_seek.c: (update_scale): * ext/aalib/gstaasink.c: (gst_aasink_scale), (gst_aasink_chain): * ext/alsa/gstalsa.c: (gst_alsa_get_format), (gst_alsa_get_caps): * ext/alsa/gstalsamixer.c: (gst_alsa_mixer_get_option): * ext/alsa/gstalsasink.c: (gst_alsa_sink_check_event), (gst_alsa_sink_mmap): * ext/alsa/gstalsasrc.c: (gst_alsa_src_mmap): * ext/audiofile/gstafsink.c: (gst_afsink_open_file): * ext/cairo/gsttextoverlay.c: (gst_textoverlay_render_text), (gst_textoverlay_loop): * ext/cairo/gsttimeoverlay.c: (gst_timeoverlay_planar411): * ext/cdparanoia/gstcdparanoia.c: (get_musicbrainz_discid): * ext/dv/gstdvdec.c: (gst_dvdec_handle_sink_event): * ext/dvdread/dvdreadsrc.c: (dvdnavsrc_make_clut_change_event): * ext/flac/gstflacdec.c: (gst_flacdec_update_metadata): * ext/flac/gstflactag.c: (gst_flac_tag_chain): * ext/gnomevfs/gstgnomevfssrc.c: (gst_gnomevfssrc_get_icy_metadata): * ext/jpeg/gstsmokedec.c: (gst_smokedec_chain): * ext/jpeg/gstsmokeenc.c: (gst_smokeenc_chain): * ext/jpeg/smokecodec.c: (find_best_size): * ext/lame/gstlame.c: (add_one_tag), (gst_lame_chain): * ext/mad/gstid3tag.c: (mad_id3_parse_latin1_string), (mad_id3_parse_comment_frame), (gst_mad_id3_to_tag_list), (gst_id3_tag_handle_event): * ext/mad/gstmad.c: (gst_mad_handle_event), (gst_mad_chain): * ext/mpeg2dec/gstmpeg2dec.c: * ext/musicbrainz/gsttrm.c: (gst_musicbrainz_sinkconnect), (gst_musicbrainz_chain): * ext/ogg/gstoggmux.c: (gst_ogg_mux_next_buffer): * ext/pango/gsttextoverlay.c: (gst_textoverlay_loop): * ext/smoothwave/gstsmoothwave.c: (gst_smoothwave_chain): * ext/spc/gstspc.c: (spc_setup): * ext/speex/gstspeexdec.c: (speex_dec_src_event), (speex_dec_event), (speex_dec_chain): * ext/speex/gstspeexenc.c: (gst_speexenc_chain): * ext/theora/theoradec.c: (theora_dec_src_query), (theora_dec_src_event), (theora_dec_event), (theora_dec_chain): * ext/theora/theoraenc.c: (theora_enc_chain): * ext/vorbis/vorbisdec.c: (vorbis_dec_src_event), (vorbis_dec_event), (vorbis_dec_chain): * ext/vorbis/vorbisenc.c: (gst_vorbisenc_chain): * ext/wavpack/unpack.c: (init_wv_bitstream), (init_wvc_bitstream), (init_wvx_bitstream): Even more gcc-4.0 fixes.
2005-04-22First set of GCC4 compiler fixes.Ronald S. Bultje1-7/+7
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.
2005-02-02configure.ac: Put DEFAULT_AUDIOSINK in config.h and use whereever possible. ↵David Schleef1-19/+22
(Fixes #165997) Original commit message from CVS: * configure.ac: Put DEFAULT_AUDIOSINK in config.h and use whereever possible. (Fixes #165997) * examples/capsfilter/capsfilter1.c: (main): * examples/dynparams/filter.c: (create_ui): * examples/seeking/cdparanoia.c: (get_track_info), (main): * examples/seeking/chained.c: (main): * examples/seeking/seek.c: (make_mod_pipeline), (make_dv_pipeline), (make_wav_pipeline), (make_flac_pipeline), (make_sid_pipeline), (make_vorbis_pipeline), (make_mp3_pipeline), (make_avi_pipeline), (make_mpeg_pipeline), (make_mpegnt_pipeline): * examples/seeking/spider_seek.c: (make_spider_pipeline): * examples/switch/switcher.c: (main): * ext/dv/demo-play.c: (main): * ext/faad/gstfaad.c: (gst_faad_change_state): * ext/mad/gstmad.c: (gst_mad_chain): * ext/smoothwave/demo-osssrc.c: (main): * gst-libs/gst/gconf/gconf.c: (gst_gconf_set_string), (gst_gconf_render_bin_from_description), (gst_gconf_get_default_audio_sink), (gst_gconf_get_default_video_sink), (gst_gconf_get_default_audio_src), (gst_gconf_get_default_video_src), (gst_gconf_get_default_visualization_element): * gst/level/demo.c: (main): * gst/level/plot.c: (main): * gst/playback/gstplaybin.c: (gen_video_element), (gen_audio_element): * gst/playback/test.c: (gen_video_element), (gen_audio_element): * gst/playondemand/demo-mp3.c: (setup_pipeline): * gst/sine/demo-dparams.c: (main): * gst/spectrum/demo-osssrc.c: (main): * gst/speed/demo-mp3.c: (main): * gst/volume/demo.c: (main): * testsuite/embed/embed.c: (main):
2005-01-05examples/gstplay/player.c: Don't iterate.Ronald S. Bultje1-2/+32
Original commit message from CVS: * examples/gstplay/player.c: (main): Don't iterate. * examples/seeking/seek.c: (fixate), (make_playerbin_pipeline): Add visualizations. * ext/a52dec/gsta52dec.c: (gst_a52dec_push), (gst_a52dec_handle_frame): Set duration. * ext/dvdnav/gst-dvd: Add audioconvert. Fixes #161325. * ext/dvdread/dvdreadsrc.c: (dvdreadsrc_get): Explicitely case to gint64. Possible valgrind error. * gst-libs/gst/play/play.c: (caps_set), (setup_size), (gst_play_tick_callback), (gst_play_change_state), (gst_play_dispose), (gst_play_init), (gst_play_class_init), (gst_play_set_location), (gst_play_get_location), (gst_play_seek_to_time), (gst_play_set_data_src), (gst_play_set_video_sink), (gst_play_set_audio_sink), (gst_play_set_visualization), (gst_play_connect_visualization), (gst_play_get_framerate), (gst_play_get_all_by_interface), (gst_play_new): Use playbin. Fixes #139749 and #147744. * gst/apetag/apedemux.c: (gst_ape_demux_parse_tags): Add genre tag. * gst/audioscale/gstaudioscale.c: (gst_audioscale_method_get_type), (audioscale_get_type), (gst_audioscale_base_init), (gst_audioscale_class_init), (gst_audioscale_expand_caps), (gst_audioscale_getcaps), (gst_audioscale_fixate), (gst_audioscale_link), (gst_audioscale_get_buffer), (gst_audioscale_decrease_rate), (gst_audioscale_increase_rate), (gst_audioscale_init), (gst_audioscale_dispose), (gst_audioscale_chain), (gst_audioscale_set_property), (gst_audioscale_get_property), (plugin_init): Indent properly. * gst/mpegstream/gstdvddemux.c: (gst_dvd_demux_process_private): Fix LPCM. * gst/qtdemux/qtdemux.c: (qtdemux_parse_udta), (qtdemux_tag_add_str), (qtdemux_tag_add_num), (qtdemux_tag_add_gnre), (qtdemux_video_caps): Add more metadata (fixes #162656).
2004-10-26examples/: David Schleef1-2/+2
Original commit message from CVS: * examples/gstplay/player.c: (got_stream_length), (main): * examples/seeking/cdplayer.c: (update_scale): * examples/seeking/seek.c: (format_value), (update_scale): * examples/seeking/spider_seek.c: (format_value), (update_scale), (stop_seek):
2004-09-12Fixes: #151879, #151881, #151882, #151883, #151884, #151886, #151887, ↵David Schleef1-9/+9
#152102, #152247. Original commit message from CVS: Fixes: #151879, #151881, #151882, #151883, #151884, #151886, #151887, #152102, #152247. * examples/indexing/indexmpeg.c: 64-bit warning fixes. * examples/seeking/cdparanoia.c: same * examples/seeking/cdplayer.c: same * examples/seeking/seek.c: same * examples/seeking/spider_seek.c: same * examples/seeking/vorbisfile.c: same * examples/stats/mp2ogg.c: same * ext/esd/esdsink.c: (gst_esdsink_class_init), (gst_esdsink_dispose): Dispose of element properly. * ext/ivorbis/vorbisfile.c: (gst_ivorbisfile_seek): 64-bit warning fixes. * ext/nas/nassink.c: (gst_nassink_class_init), (gst_nassink_dispose): Dispose of element correctly. * gst/wavenc/gstwavenc.c: (gst_wavenc_chain): Fix leak. * sys/ximage/ximagesink.c: (gst_ximagesink_check_xshm_calls), (gst_ximagesink_ximage_new), (gst_ximagesink_ximage_destroy): Fix 64-bit warning. * sys/xvimage/xvimagesink.c: (gst_xvimagesink_check_xshm_calls), (gst_xvimagesink_xvimage_new), (gst_xvimagesink_xvimage_destroy): Fix 64-bit warning.
2004-07-22More playback updates, attempt to fix things after the state change breakage.Wim Taymans1-4/+13
Original commit message from CVS: * examples/seeking/seek.c: (update_scale), (main): * gst/playback/gstdecodebin.c: (gst_decode_bin_get_type), (gst_decode_bin_class_init), (gst_decode_bin_is_dynamic), (gst_decode_bin_factory_filter), (compare_ranks), (print_feature), (gst_decode_bin_init), (gst_decode_bin_dispose), (find_compatibles), (close_pad_link), (try_to_link_1), (new_pad), (no_more_pads), (close_link), (type_found), (gst_decode_bin_set_property), (gst_decode_bin_get_property), (plugin_init): * gst/playback/gstplaybasebin.c: (gst_play_base_bin_get_type), (gst_play_base_bin_class_init), (gst_play_base_bin_init), (gst_play_base_bin_dispose), (queue_overrun), (gen_preroll_element), (remove_prerolls), (unknown_type), (no_more_pads), (new_stream), (setup_source), (gst_play_base_bin_set_property), (gst_play_base_bin_get_property), (play_base_eos), (gst_play_base_bin_change_state), (gst_play_base_bin_add_element), (gst_play_base_bin_remove_element), (gst_play_base_bin_mute_stream), (gst_play_base_bin_link_stream), (gst_play_base_bin_unlink_stream), (gst_play_base_bin_get_streaminfo): * gst/playback/gstplaybin.c: (gen_video_element), (gen_audio_element): * gst/playback/gststreaminfo.h: More playback updates, attempt to fix things after the state change breakage.
2004-07-16Make sure the widget gets updated even if the slider value doesn't change.Wim Taymans1-2/+5
Original commit message from CVS: Make sure the widget gets updated even if the slider value doesn't change.
2004-07-12Make Johan happy.Wim Taymans1-0/+1
Original commit message from CVS: Make Johan happy.
2004-07-09examples/seeking/seek.c: Don't consume all CPU in the idle loop.Wim Taymans1-0/+1
Original commit message from CVS: * examples/seeking/seek.c: (iterate): Don't consume all CPU in the idle loop.
2004-07-08examples/seeking/seek.c: Added playbin seeking example.Wim Taymans1-44/+146
Original commit message from CVS: * examples/seeking/seek.c: (make_dv_pipeline), (make_avi_pipeline), (make_mpeg_pipeline), (make_mpegnt_pipeline), (make_playerbin_pipeline), (query_durations_elems), (query_durations_pads), (query_positions_elems), (query_positions_pads), (update_scale), (iterate), (stop_seek), (main): Added playbin seeking example.
2004-03-15don't mix tabs and spacesThomas Vander Stichele1-24/+27
Original commit message from CVS: don't mix tabs and spaces
2004-03-14gst-indentThomas Vander Stichele1-137/+154
Original commit message from CVS: gst-indent
2003-11-02Add static version of removed gsT_element_factory_make_or_warn()Ronald S. Bultje1-0/+13
Original commit message from CVS: Add static version of removed gsT_element_factory_make_or_warn()
2003-05-24- removed UNITSWim Taymans1-2/+1
Original commit message from CVS: - removed UNITS
2003-02-02- CleanupsWim Taymans1-30/+59
Original commit message from CVS: - Cleanups - remove old tracing API calls
2003-01-10more link fixesThomas Vander Stichele1-7/+7
Original commit message from CVS: more link fixes
2003-01-10another batch of connect->link fixes please let me know about issues and ↵Thomas Vander Stichele1-47/+46
please refrain of making them yourself, so t... Original commit message from CVS: another batch of connect->link fixes please let me know about issues and please refrain of making them yourself, so that I don't spend double the time resolving conflicts
2002-12-30Fix plugins for new query APIWim Taymans1-4/+4
Original commit message from CVS: Fix plugins for new query API
2002-12-26Updated test appWim Taymans1-8/+13
Original commit message from CVS: Updated test app
2002-08-11add #include <stdlib.h> where neededSteve Baker1-0/+1
Original commit message from CVS: add #include <stdlib.h> where needed
2002-07-24Some small updatesWim Taymans1-16/+69
Original commit message from CVS: Some small updates
2002-07-08Various updates to the new event APIWim Taymans1-8/+27
Original commit message from CVS: Various updates to the new event API
2002-06-16Add DV seeking exampleWim Taymans1-1/+40
Original commit message from CVS: Add DV seeking example
2002-06-13use _or_warn to notify when failing to create elements adding code for ↵Thomas Vander Stichele1-47/+46
colorspace without activating it use _many fun... Original commit message from CVS: use _or_warn to notify when failing to create elements adding code for colorspace without activating it use _many functions for mpeg
2002-06-12Added modWim Taymans1-1/+1
Original commit message from CVS: Added mod
2002-06-11Some cleanups, add modplug seeking example.Wim Taymans1-54/+106
Original commit message from CVS: Some cleanups, add modplug seeking example.
2002-06-08Added wav test to seek.cWim Taymans1-0/+33
Original commit message from CVS: Added wav test to seek.c Added an example of element query/seek using spider
2002-06-06Seek on the queue in mp3, added flac seeking testWim Taymans1-46/+187
Original commit message from CVS: Seek on the queue in mp3, added flac seeking test
2002-06-03Fix the compile errorWim Taymans1-4/+4
Original commit message from CVS: Fix the compile error
2002-06-02fixing *wtay*'s codeThomas Vander Stichele1-12/+12
Original commit message from CVS: fixing *wtay*'s code
2002-05-28moving stuffThomas Vander Stichele1-0/+531
Original commit message from CVS: moving stuff