summaryrefslogtreecommitdiffstats
path: root/gst-libs/gst/play/play.c
AgeCommit message (Collapse)AuthorFilesLines
2004-07-30don't use stupid colorspace, do use hermes, make macro, mark for translationThomas Vander Stichele1-53/+27
Original commit message from CVS: don't use stupid colorspace, do use hermes, make macro, mark for translation
2004-07-28no need to link in setup stageThomas Vander Stichele1-1/+1
Original commit message from CVS: no need to link in setup stage
2004-07-08new method. various debuggingThomas Vander Stichele1-16/+84
Original commit message from CVS: new method. various debugging
2004-07-08use macro to hash lookupThomas Vander Stichele1-76/+33
Original commit message from CVS: use macro to hash lookup
2004-07-08gst-libs/gst/play/play.c: - add debugging infoThomas Vander Stichele1-30/+95
Original commit message from CVS: * gst-libs/gst/play/play.c: (gst_play_pipeline_setup), (gst_play_get_length_callback), (gst_play_set_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_sink_element): - add debugging info - fix looking up sink elements by iterating over complete caps - put everything except for source and autoplugger in a complete bin
2004-03-29return proper values for state change failuresThomas Vander Stichele1-17/+70
Original commit message from CVS: return proper values for state change failures
2004-03-23gst-libs/gst/play/play.c (gst_play_audio_fixate)Johan Dahlin1-7/+14
Original commit message from CVS: * gst-libs/gst/play/play.c (gst_play_audio_fixate) (gst_play_video_fixate): Check so the structure has the field before trying to fixate them, this makes it possible to have fakesinks for video and audio output without printing errors on the output console.
2004-03-15gst-libs/gst/play/play.c: First draft of gst_play_get_framerate.Julien Moutte1-2/+40
Original commit message from CVS: 2004-03-15 Julien MOUTTE <julien@moutte.net> * gst-libs/gst/play/play.c: (gst_play_get_framerate), (gst_play_get_sink_element): First draft of gst_play_get_framerate. * gst-libs/gst/play/play.h:
2004-03-15don't mix tabs and spacesThomas Vander Stichele1-110/+110
Original commit message from CVS: don't mix tabs and spaces
2004-03-15reverse orderThomas Vander Stichele1-8/+9
Original commit message from CVS: reverse order
2004-03-15adding media info pc files package them use ffmpegcolorspace in gstplayThomas Vander Stichele1-16/+28
Original commit message from CVS: adding media info pc files package them use ffmpegcolorspace in gstplay
2004-03-14gst-indentThomas Vander Stichele1-439/+437
Original commit message from CVS: gst-indent
2004-03-06ext/faad/gstfaad.c: Fix negotiation.David Schleef1-0/+66
Original commit message from CVS: * ext/faad/gstfaad.c: (gst_faad_init), (gst_faad_srcgetcaps), (gst_faad_chain): Fix negotiation. * ext/librfb/gstrfbsrc.c: (gst_rfbsrc_handle_src_event): Add key and button events. * gst-libs/gst/floatcast/floatcast.h: Fix a minor bug in this dung heap of code. * gst-libs/gst/gconf/gstreamer-gconf-uninstalled.pc.in: gstgconf depends on gconf * gst-libs/gst/gconf/gstreamer-gconf.pc.in: same * gst-libs/gst/play/play.c: (gst_play_pipeline_setup), (gst_play_video_fixate), (gst_play_audio_fixate): Add a fixate function to encourage better negotiation, particularly between audioconvert and osssink. * gst/audioconvert/gstaudioconvert.c: (gst_audio_convert_chain): * gst/qtdemux/qtdemux.c: (qtdemux_parse_trak): Make some debugging more important. * gst/typefind/gsttypefindfunctions.c: Fix mistake in flash typefinding. * gst/vbidec/vbiscreen.c: Add glib header * pkgconfig/gstreamer-play.pc.in: Depends on gst-interfaces.
2004-03-04fix headers fix signals to use - instead of _Thomas Vander Stichele1-3/+3
Original commit message from CVS: fix headers fix signals to use - instead of _
2004-02-18break up link function for better error debugThomas Vander Stichele1-4/+13
Original commit message from CVS: break up link function for better error debug
2004-02-15examples/gstplay/player.c: Adding some output for debugging.Julien Moutte1-0/+10
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.
2004-02-14gst-libs/gst/play/play.c: Disable visualization until i find a way to fix ↵Julien Moutte1-0/+3
switch correctly. Original commit message from CVS: 2004-02-14 Julien MOUTTE <julien@moutte.net> * gst-libs/gst/play/play.c: (gst_play_connect_visualization): Disable visualization until i find a way to fix switch correctly. * gst-libs/gst/riff/riff-read.c: (gst_riff_peek_head): Fix a bug when EOS arrives. * gst/switch/gstswitch.c: (gst_switch_release_pad), (gst_switch_request_new_pad), (gst_switch_poll_sinkpads), (gst_switch_loop), (gst_switch_dispose), (gst_switch_class_init): Reworked switch to get a more correct behaviour with events and refing of data stored in sinkpads. * gst/switch/gstswitch.h: Adding an eos flag for every sinkpad so that we don't pull from a pad in EOS.
2004-02-02gst-libs/gst/play/play.c: Moving volume in the audio thread for ↵Julien Moutte1-16/+14
instantaneous volume change. Maybe i will add another... Original commit message from CVS: 2004-02-02 Julien MOUTTE <julien@moutte.net> * gst-libs/gst/play/play.c: (gst_play_pipeline_setup), (gst_play_set_audio_sink): Moving volume in the audio thread for instantaneous volume change. Maybe i will add another volume in front of visualization later, not sure yet though.
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 Stichele1-91/+124
Original commit message from CVS: add error handling
2004-01-30done operatingThomas Vander Stichele1-1/+1
Original commit message from CVS: done operating
2004-01-29ext/gnomevfs/gstgnomevfssrc.c: Fixing seeking emiting FLUSH and even before ↵Julien Moutte1-7/+10
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 Moutte1-2/+2
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 Moutte1-11/+23
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 Moutte1-1/+1
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 Moutte1-133/+148
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 Moutte1-197/+245
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 Moutte1-30/+63
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 Otte1-3/+6
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 Moutte1-3/+5
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 Schleef1-1/+1
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 Moutte1-2/+5
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 Schleef1-33/+35
Original commit message from CVS: Merge CAPS branch
2003-12-21examples/gstplay/player.c: using g_print instead of g_message.Julien Moutte1-5/+8
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 Moutte1-2/+10
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 Moutte1-6/+5
Original commit message from CVS: Harmonize state of sinks with the pipeline state.
2003-12-14Synchronizing my changes.Julien Moutte1-220/+203
Original commit message from CVS: Synchronizing my changes.
2003-12-11Using private structure for members so that we have more chance that the ↵Julien Moutte1-98/+123
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-08Adding visualization.Julien Moutte1-110/+258
Original commit message from CVS: Adding visualization. Removing interfaces. Preparing videoswitch integration.
2003-12-07time_tick works.Julien Moutte1-2/+182
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 Moutte1-4/+232
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 Moutte1-0/+439
Original commit message from CVS: Adding my work in progress rewrite from scratch of libgstplay.