Commit graph

62 commits

Author SHA1 Message Date
Thomas Vander Stichele
373a2fa510 done operating
Original commit message from CVS:
done operating
2004-01-30 22:38:56 +00:00
Thomas Vander Stichele
4c1d3154e9 removing deprecated code
Original commit message from CVS:
removing deprecated code
2004-01-30 22:03:14 +00:00
Julien Moutte
4ea716a6fe 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
ad99f54779 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
683eb86c21 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
503d9d95a4 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
3325d549cd 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
4a5717a358 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
b6efc3f728 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
403639e252 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
c3c909355c 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
8626eab0b4 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
a7b940fd93 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
200089a2ba Merge CAPS branch
Original commit message from CVS:
Merge CAPS branch
2003-12-22 01:47:08 +00:00
Julien Moutte
c453aa275f 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
7340d44b02 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
8e91b64fff 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
93645ada1c Synchronizing my changes.
Original commit message from CVS:
Synchronizing my changes.
2003-12-14 17:00:18 +00:00
Julien Moutte
c6807885a9 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
fb473a53fb 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
38e786e95f Adding visualization.
Original commit message from CVS:
Adding visualization.
Removing interfaces.
Preparing videoswitch integration.
2003-12-08 16:01:49 +00:00
Julien Moutte
962d4dd519 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
3c61eeca84 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
0c128b00fd 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
2081f9ad65 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:46:51 +00:00
David Schleef
d9b79beab1 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
499ae15a75 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
e9c878d58d 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
c6e2de9af2 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
615dd85672 fixing buggy error handling
Original commit message from CVS:
fixing buggy error handling
2003-07-12 09:18:31 +00:00
Julien Moutte
92cc4bffc2 Fixing indentation
Original commit message from CVS:
Fixing indentation
2003-06-16 10:22:39 +00:00
Thomas Vander Stichele
20c9e35040 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
4265b12cf6 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
59be0ce3e1 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
f625d2b554 Links also against libgstcontrol
Original commit message from CVS:
Links also against libgstcontrol
2003-05-21 07:47:28 +00:00
Benjamin Otte
66b974800f 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
1537908491 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
2096330104 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
1d6e331083 Gcc < 3.0 fix
Original commit message from CVS:
Gcc < 3.0 fix
2003-05-02 20:13:08 +00:00
Julien Moutte
9918963a5c 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
42a4abb285 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
475f56e0dc 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
fc4fc12867 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
4a74c4dcb6 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
Julien Moutte
94fee6f152 Adding a lot of sanity checks
Original commit message from CVS:
Adding a lot of sanity checks
Checking if vis pad is connected before linking/unlinking
2003-04-10 13:20:02 +00:00
Julien Moutte
61f81fcdcf Incorporating visualisation in libgstplay adding have_vis_xid signal and a new type of GstPlay object (VIDEO_VISUALIS...
Original commit message from CVS:
Incorporating visualisation in libgstplay
adding have_vis_xid signal and a new type of GstPlay object (VIDEO_VISUALISATION)
2003-04-02 21:33:12 +00:00
Julien Moutte
f5954e2f72 Fixed seeking discont with visualisation
Original commit message from CVS:
Fixed seeking discont with visualisation
2003-03-30 10:21:40 +00:00
Julien Moutte
6829ba70db gst_play_get_sink_element has been improved :
Original commit message from CVS:
gst_play_get_sink_element has been improved :
- Recursively searches in bins
- Able to find sink_element of a specified GstPlaySinkType (audio,video,any)

This now allow us to send very complex bins to GstPlay for audio/video sink without breaking length querying, eos signaling, etc..
2003-03-03 17:58:07 +00:00
Julien Moutte
028eccdb67 Documented libgstplay's public methods
Original commit message from CVS:
Documented libgstplay's public methods
2003-02-07 11:02:21 +00:00
Julien Moutte
3d5184b42f Code cleanup and reorganization
Original commit message from CVS:
Code cleanup and reorganization
I ll now be able to make nice gtk-doc for this lib
Fixed latency bug on async_queue pop
X video window now comes immediatly
2003-02-06 23:17:37 +00:00