Commit graph

68 commits

Author SHA1 Message Date
Julien Moutte 4026b0bb4f gst-libs/gst/play/play.c: Moving volume in the audio thread for 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-02 22:18:38 +00:00
David Schleef 6e12f3b798 code cleanup. Change bzero() to memset(). Remove duplicate ; at ends of lines.
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-02 20:09:09 +00:00
Thomas Vander Stichele a45567c977 block tick callback for 0.5 sec after a seek
Original commit message from CVS:
block tick callback for 0.5 sec after a seek
2004-02-02 10:49:32 +00:00
Thomas Vander Stichele 51345d50df check for NULLness and warn if we can't report GError
Original commit message from CVS:
check for NULLness and warn if we can't report GError
2004-02-02 10:19:38 +00:00
Julien Moutte 119c42f201 gst-libs/gst/play/play.c: s/sinkconnect/sink_link
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-02-01 22:33:07 +00:00
Thomas Vander Stichele fcb5bb22d5 add error handling
Original commit message from CVS:
add error handling
2004-01-31 15:56:32 +00:00
Thomas Vander Stichele 924628915a done operating
Original commit message from CVS:
done operating
2004-01-30 22:38:56 +00:00
Thomas Vander Stichele 5ca29ca131 removing deprecated code
Original commit message from CVS:
removing deprecated code
2004-01-30 22:03:14 +00:00
Julien Moutte 7c858cbf0f ext/gnomevfs/gstgnomevfssrc.c: Fixing seeking emiting FLUSH and even before 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-29 22:44:42 +00:00
Julien Moutte 1b5d548d52 gst-libs/gst/play/gstplay.c: seek on video sink element first.
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-28 22:14:12 +00:00
Julien Moutte a7db4b6141 gst-libs/gst/play/gstplay.c: Fixing the way to get current position.
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-27 21:24:14 +00:00
Julien Moutte 2ec67efa3a gst-libs/gst/play/gstplay.c: The easiest fix ever... Inverting 2 lines of 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-27 16:42:40 +00:00
Julien Moutte a77fcb5d88 gst-libs/gst/play/gstplay.c: Another try in visualization implementation. 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-25 12:28:05 +00:00
Julien Moutte 4bb604a90b gst-libs/gst/play/gstplay.c: Reworked the pipeline from scratch. 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-22 23:54:34 +00:00
Julien Moutte 2df0f44843 gst-libs/gst/play/gstplay.c: Preparing switch integration, adding 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-14 21:50:39 +00:00
Benjamin Otte b9b9ae813f gst-libs/gst/play/gstplay.c: Query the audio element to get the time, not 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-14 02:37:12 +00:00
Julien Moutte bbf8b3e723 gst-libs/gst/play/gstplay.c: When analyzing the pads of an element the bin 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-12 16:48:48 +00:00
David Schleef d33b0d62aa Remove all usage of gst_pad_get_caps(), and replace it with 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-12 03:40:18 +00:00
Julien Moutte 861724761f examples/gstplay/Makefile.am: Adding the interface library.
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.
2004-01-07 21:49:25 +00:00
David Schleef b144bc6c58 Merge CAPS branch
Original commit message from CVS:
Merge CAPS branch
2003-12-22 01:47:09 +00:00
Julien Moutte 1835d5eb9c examples/gstplay/player.c: using g_print instead of g_message.
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-21 22:11:46 +00:00
Julien Moutte 4062b8106a configure.ac: X_DISPLAY_MISSING is set to 1 if AC_PATH_XTRA fails to find X 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-21 19:48:40 +00:00
Julien Moutte da2b8a4f3b Harmonize state of sinks with the pipeline state.
Original commit message from CVS:
Harmonize state of sinks with the pipeline state.
2003-12-16 22:52:01 +00:00
Julien Moutte 2e2a90accc Synchronizing my changes.
Original commit message from CVS:
Synchronizing my changes.
2003-12-14 17:00:18 +00:00
Julien Moutte d2ef360eef Using private structure for members so that we have more chance that the 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-11 22:29:14 +00:00
David Schleef 5f9d5da7b8 Change GST_*_PADDING to _gst_private[GST_PADDING]
Original commit message from CVS:
Change GST_*_PADDING to _gst_private[GST_PADDING]
2003-12-09 10:02:08 +00:00
Julien Moutte eb652be7e1 Adding visualization.
Original commit message from CVS:
Adding visualization.
Removing interfaces.
Preparing videoswitch integration.
2003-12-08 16:01:49 +00:00
Julien Moutte bacc26059b time_tick works.
Original commit message from CVS:
time_tick works.
have_video_size works.
2003-12-07 19:02:31 +00:00
Julien Moutte 6077e73e63 Updating with my local repository. It already plays video with sound :) Great !
Original commit message from CVS:
Updating with my local repository. It already plays video with sound :) Great !
2003-12-07 17:56:10 +00:00
Julien Moutte dbe874d5a0 Adding my work in progress rewrite from scratch of libgstplay.
Original commit message from CVS:
Adding my work in progress rewrite from scratch of libgstplay.
2003-12-07 13:29:10 +00:00
Ronald S. Bultje cb90622b41 Remove all config.h includes from header files, add it to each source file 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-11-07 12:47:02 +00:00
David Schleef 7f220280ae add object and struct padding
Original commit message from CVS:
add object and struct padding
2003-10-09 01:57:54 +00:00
Julien Moutte 5f22a7605a There was a floating doubt on the way visualization is written. We use 'z' 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-10-06 10:29:27 +00:00
Julien Moutte 054bbacfab Changing have_xid to have_video_out to match the new GstVideoSink parent object.
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-09-15 09:29:06 +00:00
Joshua N. Pritikin 9cb5104b0a Fix another instance of audio/raw -> audio/x-raw-int and video/raw -> 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-22 09:09:27 +00:00
Julien Moutte b6518dc7d8 fixing buggy error handling
Original commit message from CVS:
fixing buggy error handling
2003-07-12 09:18:31 +00:00
Julien Moutte c7cc73bfaa Fixing indentation
Original commit message from CVS:
Fixing indentation
2003-06-16 10:22:39 +00:00
Thomas Vander Stichele 57f9db51e2 warn on state change failures
Original commit message from CVS:
warn on state change failures
2003-06-07 22:28:39 +00:00
Julien Moutte 4740481183 Fixing error message when a plugin is missing (gst-player -> libgstplay).
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-06-01 11:43:08 +00:00
Julien Moutte f1a6f672da Error handling is inside and works :)
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-30 22:36:19 +00:00
David Schleef 5198587eb4 Links also against libgstcontrol
Original commit message from CVS:
Links also against libgstcontrol
2003-05-21 07:47:28 +00:00
Benjamin Otte 38a61ca1ba make error signal use the right types
Original commit message from CVS:
make error signal use the right types
2003-05-12 16:31:31 +00:00
Benjamin Otte 8252b54d9f uh, maybe putting new signals before LAST_SIGNAL might help against memory corruption?
Original commit message from CVS:
uh, maybe putting new signals before LAST_SIGNAL might help against memory corruption?
2003-05-12 16:25:26 +00:00
Julien Moutte 2ecac900f0 deep-notify can come from pads too, replacing GstElement by GstObject.
Original commit message from CVS:
deep-notify can come from pads too, replacing GstElement by GstObject.
2003-05-06 22:22:39 +00:00
Ronald S. Bultje 1cf42a0f44 Gcc < 3.0 fix
Original commit message from CVS:
Gcc < 3.0 fix
2003-05-02 20:13:08 +00:00
Julien Moutte d06b679133 Make vis_video_thread play when connected afterwards
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-28 10:52:29 +00:00
Christian Schaller e45fb6b8c0 Removing avifile and http plugins, also fixing some disting issues
Original commit message from CVS:
Removing avifile and http plugins, also fixing some disting issues
2003-04-23 19:42:12 +00:00
Julien Moutte 7ca8563737 Made a theorical libgstplay which refs/unrefs elements before putting them 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-20 21:06:55 +00:00
Julien Moutte b87a472504 Changed sanity checks according to BBB feedback
Original commit message from CVS:
Changed sanity checks according to BBB feedback
2003-04-17 10:20:25 +00:00
Julien Moutte 0b13c0f9ce make Company happy : Changed visualisation pipeline structure.. audio sink 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-13 20:02:34 +00:00