summaryrefslogtreecommitdiffstats
path: root/gst-libs/gst/play/gstplay.c
AgeCommit message (Collapse)AuthorFilesLines
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.