summaryrefslogtreecommitdiffstats
path: root/examples
Commit message (Collapse)AuthorAgeFilesLines
* examples/: David Schleef2004-10-264-7/+7
| | | | | | | | | 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):
* examples/seeking/: Added some more examples, update others.Wim Taymans2004-10-254-3/+376
| | | | | | | | | | | | Original commit message from CVS: * examples/seeking/Makefile.am: * examples/seeking/cdplayer.c: (update_scale): * examples/seeking/chained.c: (unlinked), (new_pad), (main): * examples/seeking/playbin.c: (make_playerbin_pipeline), (format_value), (update_scale), (iterate), (start_seek), (stop_seek), (print_media_info), (play_cb), (pause_cb), (stop_cb), (print_usage), (main): Added some more examples, update others.
* Fixes: #151879, #151881, #151882, #151883, #151884, #151886, #151887, ↵David Schleef2004-09-127-41/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | #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.
* fixes for G_DISABLE_ASSERT and friendsBenjamin Otte2004-08-032-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | Original commit message from CVS: * examples/dynparams/filter.c: (ui_control_create): * examples/gstplay/player.c: (print_tag): * ext/alsa/gstalsa.c: (gst_alsa_request_new_pad): * ext/gdk_pixbuf/gstgdkanimation.c: (gst_gdk_animation_iter_may_advance): * ext/jack/gstjack.c: (gst_jack_request_new_pad): * ext/mad/gstid3tag.c: (gst_mad_id3_to_tag_list), (tag_list_to_id3_tag_foreach), (gst_id3_tag_handle_event): * ext/vorbis/oggvorbisenc.c: (gst_oggvorbisenc_get_tag_value): * ext/vorbis/vorbisenc.c: (gst_vorbisenc_get_tag_value): * ext/xine/xineaudiodec.c: (gst_xine_audio_dec_chain): * gst-libs/gst/media-info/media-info-test.c: (print_tag): * gst/sine/demo-dparams.c: (main): * gst/tags/gstvorbistag.c: (gst_tag_to_vorbis_comments): * testsuite/alsa/formats.c: (create_pipeline): * testsuite/alsa/sinesrc.c: (sinesrc_force_caps), (sinesrc_get): fixes for G_DISABLE_ASSERT and friends * gst/typefind/gsttypefindfunctions.c: (aac_type_find), (mp3_type_frame_length_from_header), (mp3_type_find), (plugin_init): require mp3 typefinding to have at least MIN_HEADERS valid headers add typefinding for AAC adts files
* More playback updates, attempt to fix things after the state change breakage.Wim Taymans2004-07-221-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.
* Make sure the widget gets updated even if the slider value doesn't change.Wim Taymans2004-07-161-2/+5
| | | | | Original commit message from CVS: Make sure the widget gets updated even if the slider value doesn't change.
* Make Johan happy.Wim Taymans2004-07-121-0/+1
| | | | | Original commit message from CVS: Make Johan happy.
* examples/seeking/seek.c: Don't consume all CPU in the idle loop.Wim Taymans2004-07-091-0/+1
| | | | | | Original commit message from CVS: * examples/seeking/seek.c: (iterate): Don't consume all CPU in the idle loop.
* examples/seeking/seek.c: Added playbin seeking example.Wim Taymans2004-07-081-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.
* configure.ac: Add sunaudioDavid Schleef2004-05-191-1/+7
| | | | | | | | | | | | | | Original commit message from CVS: * configure.ac: Add sunaudio * examples/Makefile.am: make gstplay depend on gconf * gst/ffmpegcolorspace/gstffmpegcodecmap.c: Remove c99-isms * gst/ffmpegcolorspace/imgconvert.c: (build_rgb_palette), (convert_table_lookup), (img_convert): remove c99-isms * gst/ffmpegcolorspace/imgconvert_template.h: make a constant unsigned, to fix a warning on Solaris * gst/mpeg1sys/systems.c: bcopy->memcpy * gst/rtjpeg/RTjpeg.c: (RTjpeg_yuvrgb8): bcopy->memcpy * sys/Makefile.am: Add sunaudio
* make player example use gconfThomas Vander Stichele2004-04-132-4/+12
| | | | | Original commit message from CVS: make player example use gconf
* return proper values for state change failuresThomas Vander Stichele2004-03-291-6/+13
| | | | | Original commit message from CVS: return proper values for state change failures
* don't mix tabs and spacesThomas Vander Stichele2004-03-1510-143/+149
| | | | | Original commit message from CVS: don't mix tabs and spaces
* gst-indentThomas Vander Stichele2004-03-1411-638/+615
| | | | | Original commit message from CVS: gst-indent
* examples/gstplay/player.c: Initialize variables to NULL. Prevents a segfault ↵Ronald S. Bultje2004-03-051-1/+1
| | | | | | | | | | because the (uninitialized) variable is ... Original commit message from CVS: * examples/gstplay/player.c: (main): Initialize variables to NULL. Prevents a segfault because the (uninitialized) variable is not NULL, resulting in a crash on trying to reach error->message.
* add error handler fix mixmatrix plugin filenameThomas Vander Stichele2004-03-011-1/+3
| | | | | | Original commit message from CVS: add error handler fix mixmatrix plugin filename
* Spelling fixJohan Dahlin2004-02-161-1/+1
| | | | | Original commit message from CVS: Spelling fix
* examples/gstplay/player.c: Adding some output for debugging.Julien Moutte2004-02-151-2/+5
| | | | | | | | | | | | Original commit message from CVS: 2004-02-15 Julien MOUTTE <julien@moutte.net> * examples/gstplay/player.c: (got_eos), (main): Adding some output for debugging. * gst-libs/gst/play/play.c: (gst_play_state_change): Stop our timeouts if we go to any state different from PLAYING. * gst-libs/gst/riff/riff-read.c: (gst_riff_read_seek): Fix some more EOS bugs in riff lib.
* examples/switch/.cvsignore: Ignore generated file.David I. Lehn2004-02-031-0/+1
| | | | | | Original commit message from CVS: * examples/switch/.cvsignore: Ignore generated file.
* add error handlingThomas Vander Stichele2004-01-311-1/+8
| | | | | Original commit message from CVS: add error handling
* examples/gstplay/player.c: s/gstplay.h/play.h/David I. Lehn2004-01-311-1/+1
| | | | | Original commit message from CVS: * examples/gstplay/player.c: s/gstplay.h/play.h/
* add cvsignore fileBenjamin Otte2004-01-251-0/+1
| | | | | Original commit message from CVS: add cvsignore file
* use new error signal and classificationThomas Vander Stichele2004-01-181-1/+1
| | | | | Original commit message from CVS: use new error signal and classification
* configure.ac: Adding examples/switch/MakefileJulien Moutte2004-01-113-2/+116
| | | | | | | | | | | | | | Original commit message from CVS: 2004-01-11 Julien MOUTTE <julien@moutte.net> * configure.ac: Adding examples/switch/Makefile * examples/Makefile.am: Adding examples/switch * examples/switch/Makefile.am: Adding switcher example. * examples/switch/switcher.c: (got_eos), (idle_iterate), (switch_timer), (main): Adding an example demonstrating switch usage with 2 videotestsrc showing different patterns. * gst/switch/gstswitch.c: (gst_switch_request_new_pad), (gst_switch_init): Fixing switch with the new caps system.
* examples/gstplay/Makefile.am: Adding the interface library.Julien Moutte2004-01-071-1/+2
| | | | | | | | | | | | | | | | | | | Original commit message from CVS: * examples/gstplay/Makefile.am: Adding the interface library. * gst-libs/gst/play/Makefile.am: Adding the interface library. * gst-libs/gst/play/gstplay.c: (gst_play_set_video_sink): Connecting tothe XOverlay size signal instead of GstVideoSink. * gst-libs/gst/play/gstplay.h: Including the XOverlay interface to check GST_IS_X_OVERLAY before signal connect. * gst-libs/gst/video/gstvideosink.c: (gst_videosink_class_init): Removing the have_video_size signal. * gst-libs/gst/video/gstvideosink.h: Removing the have_video_size signal and associated public method. * sys/ximage/ximagesink.c: (gst_ximagesink_handle_xevents), (gst_ximagesink_sinkconnect): Using XOverlay public method to fire size signal. * sys/xvideo/xvideosink.c: (gst_xvideosink_sinkconnect), (gst_xvideosink_xwindow_new): Using XOverlay public method to fire size signal. * sys/xvimage/xvimagesink.c: (gst_xvimagesink_sinkconnect): Using XOverlay public method to fire size signal.
* examples/gstplay/player.c: Adding some new lines in g_print calls.Julien Moutte2004-01-071-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Original commit message from CVS: * examples/gstplay/player.c: (got_time_tick), (got_stream_length), (got_video_size): Adding some new lines in g_print calls. * sys/ximage/ximagesink.c: (gst_ximagesink_xwindow_new), (gst_ximagesink_xwindow_destroy), (gst_ximagesink_xwindow_resize), (gst_ximagesink_handle_xevents), (gst_ximagesink_fixate), (gst_ximagesink_sinkconnect), (gst_ximagesink_change_state), (gst_ximagesink_chain), (gst_ximagesink_buffer_new), (gst_ximagesink_set_xwindow_id), (gst_ximagesink_get_desired_size): Complete code review, reverting some stuff i disagree with, adding some fixes : time synchronization on invalid timestamps, renegotiation of private window. * sys/ximage/ximagesink.h: * sys/xvimage/xvimagesink.c: (gst_xvimagesink_xwindow_destroy), (gst_xvimagesink_xwindow_resize), (gst_xvimagesink_handle_xevents), (gst_xvimagesink_get_xv_support), (gst_xvimagesink_xcontext_get), (gst_xvimagesink_fixate), (gst_xvimagesink_sinkconnect), (gst_xvimagesink_change_state), (gst_xvimagesink_chain), (gst_xvimagesink_buffer_new), (gst_xvimagesink_navigation_send_event), (gst_xvimagesink_set_xwindow_id), (gst_xvimagesink_get_desired_size), (gst_xvimagesink_xoverlay_init): Complete code review, reverting some stuff i disagree with, adding some fixes : Renegotiation of private window, implementing get_desired_size.
* Merge CAPS branchDavid Schleef2003-12-221-62/+11
| | | | | Original commit message from CVS: Merge CAPS branch
* examples/gstplay/player.c: using g_print instead of g_message.Julien Moutte2003-12-211-3/+4
| | | | | | | | | Original commit message from CVS: * examples/gstplay/player.c: (got_time_tick), (got_stream_length), (got_video_size), (main): using g_print instead of g_message. * gst-libs/gst/play/gstplay.c: (gst_play_pipeline_setup): Fixing EOS signal which was not emitted because of "switch" element added to the bin but not connected. (Removing from the bin temporarily)
* configure.ac: X_DISPLAY_MISSING is set to 1 if AC_PATH_XTRA fails to find X ↵Julien Moutte2003-12-211-0/+2
| | | | | | | | | | | | | | | | development files. I don't understand the... Original commit message from CVS: * configure.ac: X_DISPLAY_MISSING is set to 1 if AC_PATH_XTRA fails to find X development files. I don't understand the previous tests and they fail on my debian/ppc unstable. This one works. * examples/gstplay/player.c: (main): Set the pipeline to READY before exiting. * gst-libs/gst/play/gstplay.c: (gst_play_get_length_callback), (gst_play_set_video_sink), (gst_play_set_audio_sink), (gst_play_set_visualization): Add some safety checks in set_ methods and state_change. This was throwing some ugly CRITICAL messages when pipeline was getting disposed and casts were failing.
* superfluous space segregationThomas Vander Stichele2003-12-191-6/+6
| | | | | Original commit message from CVS: superfluous space segregation
* Adding tag dumping support.Julien Moutte2003-12-161-1/+36
| | | | | Original commit message from CVS: Adding tag dumping support.
* build fixThomas Vander Stichele2003-12-141-2/+1
| | | | | Original commit message from CVS: build fix
* Fixing makefile. Smarter seekJulien Moutte2003-12-142-1/+6
| | | | | Original commit message from CVS: Fixing makefile. Smarter seek
* Adding a test app for libgstplay. It is a command line player.Julien Moutte2003-12-143-2/+128
| | | | | Original commit message from CVS: Adding a test app for libgstplay. It is a command line player.
* change _connect to _linkDavid Schleef2003-12-021-5/+5
| | | | | Original commit message from CVS: change _connect to _link
* Add static version of removed gsT_element_factory_make_or_warn()Ronald S. Bultje2003-11-021-0/+13
| | | | | Original commit message from CVS: Add static version of removed gsT_element_factory_make_or_warn()
* Remove redundant plugindir definitionDavid Schleef2003-08-101-2/+0
| | | | | Original commit message from CVS: Remove redundant plugindir definition
* fix installing into wrong dirDavid Schleef2003-07-291-1/+1
| | | | | Original commit message from CVS: fix installing into wrong dir
* fix initializationDavid Schleef2003-07-262-2/+2
| | | | | Original commit message from CVS: fix initialization
* Nothing in this directory actually uses FreetypeDavid Schleef2003-07-261-1/+1
| | | | | Original commit message from CVS: Nothing in this directory actually uses Freetype
* Compilation fixes for 64-bit architecturesDavid Schleef2003-07-251-3/+3
| | | | | Original commit message from CVS: Compilation fixes for 64-bit architectures
* - removed UNITSWim Taymans2003-05-241-2/+1
| | | | | Original commit message from CVS: - removed UNITS
* removed UNITSWim Taymans2003-05-242-2/+0
| | | | | Original commit message from CVS: removed UNITS
* Fix compilation errorsDavid Schleef2003-04-161-3/+3
| | | | | Original commit message from CVS: Fix compilation errors
* fix compile errorBenjamin Otte2003-03-241-1/+1
| | | | | Original commit message from CVS: fix compile error
* - CleanupsWim Taymans2003-02-025-42/+59
| | | | | | Original commit message from CVS: - Cleanups - remove old tracing API calls
* Indexing patch from vishnuWim Taymans2003-01-201-0/+4
| | | | | Original commit message from CVS: Indexing patch from vishnu
* paranoidThomas Vander Stichele2003-01-181-0/+1
| | | | | Original commit message from CVS: paranoid
* - connect->linkWim Taymans2003-01-121-27/+48
| | | | | | Original commit message from CVS: - connect->link - add total indexed time (vishnu)
* more link fixesThomas Vander Stichele2003-01-101-7/+7
| | | | | Original commit message from CVS: more link fixes