summaryrefslogtreecommitdiffstats
path: root/gst-libs/gst/play
AgeCommit message (Collapse)AuthorFilesLines
2004-02-02code cleanup. Change bzero() to memset(). Remove duplicate ; at ends of lines.David Schleef1-3/+3
Original commit message from CVS: code cleanup. Change bzero() to memset(). Remove duplicate ; at ends of lines. * ext/cdparanoia/gstcdparanoia.c: (cdparanoia_event): * ext/flac/gstflactag.c: (gst_flac_tag_chain): * ext/xvid/gstxviddec.c: (gst_xviddec_src_link): * gst-libs/gst/play/play.c: (gst_play_get_sink_element): * gst/ac3parse/gstac3parse.c: (gst_ac3parse_chain): * gst/effectv/gstedge.c: (gst_edgetv_sinkconnect): * gst/effectv/gstvertigo.c: (gst_vertigotv_sinkconnect): * gst/intfloat/float22int.c: (gst_float2_2_int_getcaps), (gst_float2_2_int_link): * gst/mpeg2sub/gstmpeg2subt.c: (gst_mpeg2subt_chain_subtitle): * gst/rtjpeg/RTjpeg.c: (RTjpeg_init_mcompress): * gst/tcp/gsttcpsink.c: (gst_tcpsink_init_send): * gst/tcp/gsttcpsrc.c: (gst_tcpsrc_init_receive): * gst/udp/gstudpsink.c: (gst_udpsink_init_send): * gst/udp/gstudpsrc.c: (gst_udpsrc_init_receive): * sys/v4l/gstv4lelement.c: (gst_v4lelement_init): * sys/v4l2/v4l2src_calls.c: (gst_v4l2src_set_capture): * testsuite/gst-lint: Add tests for bzero and ;;
2004-02-02block tick callback for 0.5 sec after a seekThomas Vander Stichele1-9/+17
Original commit message from CVS: block tick callback for 0.5 sec after a seek
2004-02-02check for NULLness and warn if we can't report GErrorThomas Vander Stichele1-4/+11
Original commit message from CVS: check for NULLness and warn if we can't report GError
2004-02-01gst-libs/gst/play/play.c: s/sinkconnect/sink_linkJulien Moutte1-1/+9
Original commit message from CVS: 2004-02-01 Julien MOUTTE <julien@moutte.net> * gst-libs/gst/play/play.c: (gst_play_seek_to_time), (gst_play_new): Accepting NULL GError, blocking time tick while seeking. * sys/ximage/ximagesink.c: (gst_ximagesink_sink_link), (gst_ximagesink_chain), (gst_ximagesink_init): s/sinkconnect/sink_link * sys/xvimage/xvimagesink.c: (gst_xvimagesink_sink_link), (gst_xvimagesink_chain), (gst_xvimagesink_init): s/sinkconnect/sink_link
2004-01-31add error handlingThomas Vander Stichele2-93/+131
Original commit message from CVS: add error handling
2004-01-30done operatingThomas Vander Stichele4-1227/+3
Original commit message from CVS: done operating
2004-01-30removing deprecated codeThomas Vander Stichele3-2680/+0
Original commit message from CVS: removing deprecated code
2004-01-29ext/gnomevfs/gstgnomevfssrc.c: Fixing seeking emiting FLUSH and even before ↵Julien Moutte2-14/+20
DISCONT. Original commit message from CVS: 2004-01-29 Julien MOUTTE <julien@moutte.net> * ext/gnomevfs/gstgnomevfssrc.c: (gst_gnomevfssrc_get): Fixing seeking emiting FLUSH and even before DISCONT. * gst-libs/gst/play/gstplay.c: (gst_play_seek_to_time): Fix seeking to get the best instant seeking as possible yay!
2004-01-28gst-libs/gst/play/gstplay.c: seek on video sink element first.Julien Moutte2-4/+4
Original commit message from CVS: 2004-01-28 Julien MOUTTE <julien@moutte.net> * gst-libs/gst/play/gstplay.c: (gst_play_seek_to_time): seek on video sink element first. * gst/videoscale/gstvideoscale.c: (gst_videoscale_handle_src_event): Fixing src event handler.
2004-01-27gst-libs/gst/play/gstplay.c: Fixing the way to get current position.Julien Moutte2-22/+46
Original commit message from CVS: 2004-01-27 Julien MOUTTE <julien@moutte.net> * gst-libs/gst/play/gstplay.c: (gst_play_tick_callback), (gst_play_seek_to_time): Fixing the way to get current position.
2004-01-27gst-libs/gst/play/gstplay.c: The easiest fix ever... Inverting 2 lines of ↵Julien Moutte2-2/+2
code make spider autoplug correctly tagged ... Original commit message from CVS: 2004-01-27 Julien MOUTTE <julien@moutte.net> * gst-libs/gst/play/gstplay.c: (gst_play_set_location): The easiest fix ever... Inverting 2 lines of code make spider autoplug correctly tagged mp3 !
2004-01-25gst-libs/gst/play/gstplay.c: Another try in visualization implementation. ↵Julien Moutte2-266/+296
Still have an issue with switch blocking wh... Original commit message from CVS: 2004-01-25 Julien MOUTTE <julien@moutte.net> * gst-libs/gst/play/gstplay.c: (gst_play_pipeline_setup), (gst_play_identity_handoff), (gst_play_set_location), (gst_play_set_visualization), (gst_play_connect_visualization): Another try in visualization implementation. Still have an issue with switch blocking when pulling from video_queue and only audio comes out of spider. * gst/switch/gstswitch.c: (gst_switch_release_pad), (gst_switch_poll_sinkpads), (gst_switch_class_init): Implementing pad release method. And check if the pad is usable before pulling.
2004-01-22gst-libs/gst/play/gstplay.c: Reworked the pipeline from scratch. ↵Julien Moutte2-394/+490
Visualization is back and switch went out as i reali... Original commit message from CVS: 2004-01-23 Julien MOUTTE <julien@moutte.net> * gst-libs/gst/play/gstplay.c: (gst_play_pipeline_setup), (gst_play_set_location), (gst_play_seek_to_time), (gst_play_set_audio_sink), (gst_play_set_visualization), (gst_play_connect_visualization), (gst_play_get_sink_element): Reworked the pipeline from scratch. Visualization is back and switch went out as i realized it was not possible to use the way i wanted. * sys/ximage/ximagesink.c: (gst_ximagesink_imagepool_clear), (gst_ximagesink_change_state), (gst_ximagesink_dispose): Move xcontext clearing in state change from READY to NULL. So that one can clean the X ressources keeping the element. * sys/xvimage/xvimagesink.c: (gst_xvimagesink_xcontext_get), (gst_xvimagesink_imagepool_clear), (gst_xvimagesink_change_state), (gst_xvimagesink_colorbalance_set_value), (gst_xvimagesink_colorbalance_get_value), (gst_xvimagesink_set_property), (gst_xvimagesink_dispose), (gst_xvimagesink_init): Same xcontext cleaning than ximagesink in state change from READY to NULL and fixed some stupid bugs in colorbalance get/set values. Also added the following feature : when nobody tries to set some values to the colorbalance levels before the xcontext is grabbed, then when creating channels list from Xv attributes we set the internal values to the Xv defaults. This way we handle buggy Xv drivers that set default hue values far from the middle of the range (Thanks to Jon Trowbridge for pointing that issue). * sys/xvimage/xvimagesink.h: Adding a cb_changed boolean to know if colorbalance levels have been set before xcontext is grabbed.
2004-01-14gst-libs/gst/play/gstplay.c: Preparing switch integration, adding ↵Julien Moutte2-60/+126
videobalance in the pipeline. Original commit message from CVS: 2004-01-14 Julien MOUTTE <julien@moutte.net> * gst-libs/gst/play/gstplay.c: (gst_play_pipeline_setup), (gst_play_set_location), (gst_play_set_visualization): Preparing switch integration, adding videobalance in the pipeline.
2004-01-14gst-libs/gst/play/gstplay.c: Query the audio element to get the time, not ↵Benjamin Otte2-6/+12
the clock. We're interested in the element'... Original commit message from CVS: 2004-01-14 Benjamin Otte <in7y118@public.uni-hamburg.de> * gst-libs/gst/play/gstplay.c: (gst_play_tick_callback): Query the audio element to get the time, not the clock. We're interested in the element's time here.
2004-01-12gst-libs/gst/play/gstplay.c: When analyzing the pads of an element the bin ↵Julien Moutte2-6/+10
is mostly in READY state so no caps were n... Original commit message from CVS: 2004-01-12 Julien MOUTTE <julien@moutte.net> * gst-libs/gst/play/gstplay.c: (gst_play_get_sink_element): When analyzing the pads of an element the bin is mostly in READY state so no caps were negotiated. This helper function needs to work with _get_caps directly then. I was not freeing them though, added that to fix the mem leak.
2004-01-12Remove all usage of gst_pad_get_caps(), and replace it with ↵David Schleef3-3/+3
gst_pad_get_allowed_caps() or gst_pad_get_negotiated_cap(). Original commit message from CVS: Remove all usage of gst_pad_get_caps(), and replace it with gst_pad_get_allowed_caps() or gst_pad_get_negotiated_cap().
2004-01-07examples/gstplay/Makefile.am: Adding the interface library.Julien Moutte5-5/+16
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.
2003-12-22Merge CAPS branchDavid Schleef3-102/+102
Original commit message from CVS: Merge CAPS branch
2003-12-21examples/gstplay/player.c: using g_print instead of g_message.Julien Moutte2-10/+16
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)
2003-12-21configure.ac: X_DISPLAY_MISSING is set to 1 if AC_PATH_XTRA fails to find X ↵Julien Moutte2-4/+20
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.
2003-12-16Harmonize state of sinks with the pipeline state.Julien Moutte2-12/+10
Original commit message from CVS: Harmonize state of sinks with the pipeline state.
2003-12-14Synchronizing my changes.Julien Moutte4-442/+408
Original commit message from CVS: Synchronizing my changes.
2003-12-11Using private structure for members so that we have more chance that the ↵Julien Moutte5-224/+256
header is frozen. :) Original commit message from CVS: Using private structure for members so that we have more chance that the header is frozen. :)
2003-12-09Change GST_*_PADDING to _gst_private[GST_PADDING]David Schleef3-6/+6
Original commit message from CVS: Change GST_*_PADDING to _gst_private[GST_PADDING]
2003-12-08Adding visualization.Julien Moutte4-226/+536
Original commit message from CVS: Adding visualization. Removing interfaces. Preparing videoswitch integration.
2003-12-07time_tick works.Julien Moutte4-4/+384
Original commit message from CVS: time_tick works. have_video_size works.
2003-12-07Updating with my local repository. It already plays video with sound :) Great !Julien Moutte4-10/+476
Original commit message from CVS: Updating with my local repository. It already plays video with sound :) Great !
2003-12-07Adding my work in progress rewrite from scratch of libgstplay.Julien Moutte4-0/+1030
Original commit message from CVS: Adding my work in progress rewrite from scratch of libgstplay.
2003-11-07Remove all config.h includes from header files, add it to each source file ↵Ronald S. Bultje1-0/+4
and remove duplicate config.h includes fro... Original commit message from CVS: Remove all config.h includes from header files, add it to each source file and remove duplicate config.h includes from several source files
2003-10-09add object and struct paddingDavid Schleef1-0/+4
Original commit message from CVS: add object and struct padding
2003-10-06There was a floating doubt on the way visualization is written. We use 'z' ↵Julien Moutte3-29/+29
everywhere now. Both in gst-player and lib... Original commit message from CVS: There was a floating doubt on the way visualization is written. We use 'z' everywhere now. Both in gst-player and libgstplay
2003-09-15Changing have_xid to have_video_out to match the new GstVideoSink parent object.Julien Moutte3-62/+93
Original commit message from CVS: Changing have_xid to have_video_out to match the new GstVideoSink parent object. Adding have_vis_size. Fixing gst_play_connect_visualisation
2003-07-22Fix another instance of audio/raw -> audio/x-raw-int and video/raw -> ↵Joshua N. Pritikin1-3/+6
video/x-raw-{yuv,rgb}. There probably should b... Original commit message from CVS: Fix another instance of audio/raw -> audio/x-raw-int and video/raw -> video/x-raw-{yuv,rgb}. There probably should be a audio/x-raw-float for jacksink but I didn't add that.
2003-07-12fixing buggy error handlingJulien Moutte1-3/+7
Original commit message from CVS: fixing buggy error handling
2003-06-16Fixing indentationJulien Moutte3-2032/+1963
Original commit message from CVS: Fixing indentation
2003-06-07warn on state change failuresThomas Vander Stichele1-6/+12
Original commit message from CVS: warn on state change failures
2003-06-01Fixing error message when a plugin is missing (gst-player -> libgstplay).Julien Moutte1-6/+5
Original commit message from CVS: Fixing error message when a plugin is missing (gst-player -> libgstplay). Pipeline state change on error is now done directly in error callback, there's still something weird with oss /dev/dsp ressource busy error.
2003-05-30Error handling is inside and works :)Julien Moutte3-118/+22
Original commit message from CVS: Error handling is inside and works :) Mutexes have been removed. That should fix UI responsiveness problems on query_length. Please heavily test to check if they were really needed. Some fixes in GClosures
2003-05-21Links also against libgstcontrolDavid Schleef1-1/+1
Original commit message from CVS: Links also against libgstcontrol
2003-05-12make error signal use the right typesBenjamin Otte1-1/+1
Original commit message from CVS: make error signal use the right types
2003-05-12uh, maybe putting new signals before LAST_SIGNAL might help against memory ↵Benjamin Otte1-1/+2
corruption? Original commit message from CVS: uh, maybe putting new signals before LAST_SIGNAL might help against memory corruption?
2003-05-06deep-notify can come from pads too, replacing GstElement by GstObject.Julien Moutte2-8/+8
Original commit message from CVS: deep-notify can come from pads too, replacing GstElement by GstObject.
2003-05-02Gcc < 3.0 fixRonald S. Bultje1-1/+3
Original commit message from CVS: Gcc < 3.0 fix
2003-04-28Make vis_video_thread play when connected afterwardsJulien Moutte1-0/+8
Original commit message from CVS: Make vis_video_thread play when connected afterwards This generates some segfaults in gst_thread but we need to fix that
2003-04-23Removing avifile and http plugins, also fixing some disting issuesChristian Schaller1-0/+1
Original commit message from CVS: Removing avifile and http plugins, also fixing some disting issues
2003-04-20Made a theorical libgstplay which refs/unrefs elements before putting them ↵Julien Moutte2-5/+42
in AsyncQueue. Original commit message from CVS: Made a theorical libgstplay which refs/unrefs elements before putting them in AsyncQueue. Added a "pipeline_error" signal which will later allow the player and apps to detect that pipeline was unable to play and why... This version is NOT STABLE AT ALL. it will need fixes in core but i commit it as is so that we fix those problems
2003-04-17Changed sanity checks according to BBB feedbackJulien Moutte1-2/+4
Original commit message from CVS: Changed sanity checks according to BBB feedback
2003-04-13make Company happy : Changed visualisation pipeline structure.. audio sink ↵Julien Moutte2-80/+67
is directly connected to tee so no queue b... Original commit message from CVS: make Company happy : Changed visualisation pipeline structure.. audio sink is directly connected to tee so no queue between volume and audio sink...
2003-04-10Adding a lot of sanity checksJulien Moutte2-21/+61
Original commit message from CVS: Adding a lot of sanity checks Checking if vis pad is connected before linking/unlinking