Commit graph

186 commits

Author SHA1 Message Date
Julien Moutte
15289fa2dd 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
Ronald S. Bultje
5ea7e1a94a sys/oss/gstosselement.c: Fix the ossmixer case where we shouldn't open /dev/dsp* because it might block operations (w...
Original commit message from CVS:
2004-01-22  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* sys/oss/gstosselement.c: (gst_osselement_class_probe_devices):
Fix the ossmixer case where we shouldn't open /dev/dsp* because
it might block operations (which is bad for a mixer).
2004-01-22 20:51:08 +00:00
Thomas Vander Stichele
b469416f53 fix up media-info now reports format again metadata needs some rewriting
Original commit message from CVS:
fix up media-info
now reports format again
metadata needs some rewriting
2004-01-22 19:00:27 +00:00
Thomas Vander Stichele
11cb1a9f92 fix non-compilation
Original commit message from CVS:
fix non-compilation
2004-01-22 13:22:02 +00:00
David Schleef
75da519525 ext/swfdec/gstswfdec.*: Fix negotiation.
Original commit message from CVS:
* ext/swfdec/gstswfdec.c: (gst_swfdec_video_getcaps),
(gst_swfdec_video_link), (copy_image), (gst_swfdec_loop),
(gst_swfdec_init), (gst_swfdec_change_state):
* ext/swfdec/gstswfdec.h:
Fix negotiation.
* gst/adder/gstadder.c: (gst_adder_link), (gst_adder_init),
(gst_adder_request_new_pad): Fix negotiation.
* gst/goom/gstgoom.c: (gst_goom_init), (gst_goom_src_fixate):
Add a fixate function.
* gst/intfloat/gstfloat2int.c:
* gst/intfloat/gstfloat2int.h:
* gst/intfloat/gstint2float.c:
* gst/intfloat/gstint2float.h:
Completely rewrite the negotiation.  Doesn't quite work yet,
due to some buffer-frames problem.
2004-01-22 03:25:16 +00:00
Thomas Vander Stichele
a79bbfac25 fix includes for distcheck
Original commit message from CVS:
fix includes for distcheck
2004-01-21 12:51:28 +00:00
Christian Schaller
fc7a266b9b adding NAS plugin
Original commit message from CVS:
adding NAS plugin
2004-01-21 06:57:30 +00:00
Jeremy Simon
caa5717c38 ext/ffmpeg/gstffmpegcodecmap.c: Fix wma caps property
Original commit message from CVS:
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_caps_to_extradata):
Fix wma caps property
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_audio_caps):
Fix typo (flags1 and flags2)
2004-01-20 21:22:46 +00:00
Thomas Vander Stichele
fd060aa027 register and use debugging category in media-info make vorbisfile emit tags for streaminfo
Original commit message from CVS:
register and use debugging category in media-info
make vorbisfile emit tags for streaminfo
2004-01-20 16:25:11 +00:00
Ronald S. Bultje
8bb2349e3f ext/mplex/: g++ doesn't like NULL in our i18n/error macros, should be either (NULL) or ("").
Original commit message from CVS:
2004-01-20  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* ext/mplex/gstmplex.cc:
* ext/mplex/gstmplexibitstream.cc:
g++ doesn't like NULL in our i18n/error macros, should be
either (NULL) or ("").
2004-01-20 13:38:06 +00:00
Ronald S. Bultje
b0356937c6 sys/dxr3/: Fix more error error error errors (missing includes here).
Original commit message from CVS:
2004-01-20  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* sys/dxr3/dxr3audiosink.c:
* sys/dxr3/dxr3init.c:
* sys/dxr3/dxr3spusink.c: (dxr3spusink_close):
* sys/dxr3/dxr3videosink.c: (dxr3videosink_close):
Fix more error error error errors (missing includes here).
2004-01-20 13:34:40 +00:00
Ronald S. Bultje
b0bb5a4e4b ext/mpeg2enc/gstmpeg2encpicturereader.cc: fix thomas' error errors.
Original commit message from CVS:
2004-01-20  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* ext/mpeg2enc/gstmpeg2encpicturereader.cc:
fix thomas' error errors.
2004-01-20 13:08:39 +00:00
Thomas Vander Stichele
2020f084a3 fix error error
Original commit message from CVS:
fix error error
2004-01-20 13:01:40 +00:00
Ronald S. Bultje
25d2b4aa4a ext/divx/: Fix for new error system.
Original commit message from CVS:
2004-01-20  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* ext/divx/gstdivxdec.c: (gst_divxdec_setup), (gst_divxdec_chain):
* ext/divx/gstdivxenc.c: (gst_divxenc_setup), (gst_divxenc_chain):
Fix for new error system.
2004-01-20 12:48:10 +00:00
Thomas Vander Stichele
e3cf402747 fix for new error signaling
Original commit message from CVS:
fix for new error signaling
2004-01-20 12:40:44 +00:00
David Schleef
879b0b7ac0 sys/ximage/ximagesink.c: Change to using a framerate of [1,100] instead of [0,MAX], since 0 isn't handled correctly, ...
Original commit message from CVS:
* sys/ximage/ximagesink.c: (gst_ximagesink_handle_xevents),
(gst_ximagesink_xcontext_get), (gst_ximagesink_getcaps),
(gst_ximagesink_set_xwindow_id): Change to using a framerate
of [1,100] instead of [0,MAX], since 0 isn't handled correctly,
and neither is 100+, most likely.
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_get_xv_support),
(gst_xvimagesink_getcaps): same
2004-01-20 09:25:51 +00:00
Benjamin Otte
bd6bc6d3b7 configure.ac: Up version requirement to 2.0.3 (not yet released) to avoid symbol clashes with ffmpeg.
Original commit message from CVS:
2004-01-19  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* configure.ac:
Up version requirement to 2.0.3 (not yet released) to avoid symbol
clashes with ffmpeg.
2004-01-19 23:26:29 +00:00
Julien Moutte
f83393d87e gst/switch/gstswitch.c: Fixed switch element : proxying link and setting caps from src to sink on request.
Original commit message from CVS:
2004-01-20  Julien MOUTTE  <julien@moutte.net>

* gst/switch/gstswitch.c: (gst_switch_request_new_pad),
(gst_switch_init): Fixed switch element : proxying link and setting
caps from src to sink on request.
2004-01-19 23:23:54 +00:00
Thomas Vander Stichele
cd0423ceeb fix element_error
Original commit message from CVS:
fix element_error
2004-01-19 18:22:57 +00:00
Thomas Vander Stichele
34ac635d74 further element_error fixes
Original commit message from CVS:
further element_error fixes
2004-01-19 17:11:27 +00:00
Thomas Vander Stichele
eefcaf5b9e adding locale.h
Original commit message from CVS:
adding locale.h
2004-01-19 16:43:01 +00:00
Thomas Vander Stichele
01e210d650 removing config.h
Original commit message from CVS:
removing config.h
2004-01-19 15:50:38 +00:00
Thomas Vander Stichele
0d030dd3fa putting i18n in place for plugins
Original commit message from CVS:
putting i18n in place for plugins
2004-01-19 15:45:55 +00:00
Thomas Vander Stichele
2d34ce8201 fix soundfile as well
Original commit message from CVS:
fix soundfile as well
2004-01-19 14:07:32 +00:00
Thomas Vander Stichele
814a6b0762 fix i18n include
Original commit message from CVS:
fix i18n include
2004-01-19 13:50:39 +00:00
Thomas Vander Stichele
d783137510 updating v4l2 for new error handling
Original commit message from CVS:
updating v4l2 for new error handling
2004-01-19 10:19:42 +00:00
Thomas Vander Stichele
08dd3a7f19 parenthising NULL
Original commit message from CVS:
parenthising NULL
2004-01-19 10:00:00 +00:00
Thomas Vander Stichele
05abb4879e adding header
Original commit message from CVS:
adding header
2004-01-18 23:21:55 +00:00
Thomas Vander Stichele
b95a710d41 use new error signal and classification
Original commit message from CVS:
use new error signal and classification
2004-01-18 21:46:58 +00:00
Jeremy Simon
1abf388f85 Check for libmusicbrainz
Original commit message from CVS:
Check for libmusicbrainz
Add the musicbrainz directory to the build process
Update Changelog
2004-01-18 20:19:44 +00:00
Julien Moutte
63c5053a28 sys/ximage/ximagesink.c: Adding synchronous property for debugging.
Original commit message from CVS:
2004-01-18  Julien MOUTTE  <julien@moutte.net>

* sys/ximage/ximagesink.c: (gst_ximagesink_set_property),
(gst_ximagesink_get_property), (gst_ximagesink_class_init): Adding
synchronous property for debugging.
* sys/ximage/ximagesink.h: Adding the synchronous boolean flag.
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_xcontext_get),
(gst_xvimagesink_set_property): Moving a pointer declaration to a
smaller block, fixing indent.
2004-01-18 12:32:19 +00:00
David Schleef
112f838c18 gst/videofilter/gstvideobalance.c: Fix regression; changing a property affects the video stream.
Original commit message from CVS:
* gst/videofilter/gstvideobalance.c: Fix regression; changing a
property affects the video stream.
* sys/xvimage/xvimagesink.c:
* sys/xvimage/xvimagesink.h:
Add synchronous property for debugging.  Should probably be
disabled in non-CVS builds.  Make sure that the Xv attribute
exists before we set it (crash!).  Fix a silly float bug that
caused colorbalance to just not work.
2004-01-16 23:52:53 +00:00
Christian Schaller
700e02e97c update gst-launch-ext to use a better plugin for colorspace and X win
Original commit message from CVS:
update gst-launch-ext to use a better plugin for colorspace and X win
2004-01-16 23:32:45 +00:00
David Schleef
92d4c76b46 ext/ffmpeg/gstffmpegenc.c: Fix use of already-freed caps.
Original commit message from CVS:
* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_connect): Fix use of
already-freed caps.
2004-01-16 19:54:15 +00:00
Christian Schaller
527055b330 fix libcaca compilation and update spec file
Original commit message from CVS:
fix libcaca compilation and update spec file
2004-01-16 17:42:20 +00:00
Julien Moutte
7d4f2bd655 sys/xvimage/xvimagesink.c: Implementing correct colorbalance properties. They can now be set when the element is stil...
Original commit message from CVS:
2004-01-16  Julien MOUTTE <julien@moutte.net>

* sys/xvimage/xvimagesink.c: (gst_xvimagesink_update_colorbalance),
(gst_xvimagesink_xcontext_get), (gst_xvimagesink_change_state),
(gst_xvimagesink_set_xwindow_id),
(gst_xvimagesink_colorbalance_set_value),
(gst_xvimagesink_colorbalance_get_value),
(gst_xvimagesink_set_property), (gst_xvimagesink_get_property),
(gst_xvimagesink_init), (gst_xvimagesink_class_init): Implementing
correct colorbalance properties. They can now be set when the element
is still in NULL state. The values will be committed to the Xv Port
when xcontext is initialized.
* sys/xvimage/xvimagesink.h: Added hue, saturation, contrast,
brightness int values in the GstXvImagesink structure.
2004-01-16 15:43:35 +00:00
Ronald S. Bultje
285797683c gst-libs/gst/Makefile.am: restructure so having local patches works easier.
Original commit message from CVS:
2004-01-16  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* gst-libs/gst/Makefile.am:
restructure so having local patches works easier.
2004-01-16 14:55:44 +00:00
Ronald S. Bultje
d03ff3ef28 ext/mpeg2enc/: Bugfix with respect to EOS handling.
Original commit message from CVS:
2004-01-16  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* ext/mpeg2enc/Makefile.am:
* ext/mpeg2enc/gstmpeg2enc.cc:
* ext/mpeg2enc/gstmpeg2encpicturereader.cc:
Bugfix with respect to EOS handling.
2004-01-16 14:14:58 +00:00
Ronald S. Bultje
b80f8d537b ext/ffmpeg/gstffmpegenc.c: Link with right caps (else, it segfaults).
Original commit message from CVS:
2004-01-16  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_connect):
Link with right caps (else, it segfaults).
* ext/mplex/gstmplexjob.cc:
Fix for slight API change in 1.6.1.93 release of mjpegtools.
2004-01-16 14:10:44 +00:00
David Schleef
5dca8edfe9 gst-libs/gst/audio/Makefile.am: Add gstaudiofiltertemplate.c and building of gstaudiofilterexample.c from the template.
Original commit message from CVS:
* gst-libs/gst/audio/Makefile.am:
Add gstaudiofiltertemplate.c and building of gstaudiofilterexample.c
from the template.
* gst-libs/gst/audio/gstaudiofilter.c:
* gst-libs/gst/audio/gstaudiofilter.h:
Add bytes_per_sample and size and n_samples calculation.
* gst-libs/gst/audio/gstaudiofilterexample.c:
Remove, now autogenerated.
* gst-libs/gst/audio/gstaudiofiltertemplate.c:
Moved from gstaudiofilterexample, object name changed, code added
so that it actually works.
* gst-libs/gst/audio/make_filter:
Script to build an audiofilter subclass from the template.
* gst/colorspace/Makefile.am:
* gst/colorspace/yuv2yuv.c:
Remove file, since it's GPL, and we don't use it.
2004-01-16 00:55:29 +00:00
Julien Moutte
65a306f052 sys/: Making both of them use the buffer free function to test how the buffer was allocated.
Original commit message from CVS:
2004-01-15  Julien MOUTTE  <julien@moutte.net>

* sys/ximage/ximagesink.c: (gst_ximagesink_chain):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_chain): Making both of
them use the buffer free function to test how the buffer was allocated.
2004-01-15 22:03:45 +00:00
David Schleef
89303c580f ext/esd/esdsink.c: Remove property that handles osssink fallback.
Original commit message from CVS:
* ext/esd/esdsink.c: (gst_esdsink_class_init): Remove property
that handles osssink fallback.
* gst/audioconvert/gstaudioconvert.c: (gst_audio_convert_init),
(gst_audio_convert_getcaps):
* gst/qtdemux/qtdemux.c: (qtdemux_audio_caps):
Add audio/x-qdm2 for QDM2 audio.
* gst/sine/gstsinesrc.c: (gst_sinesrc_get):
* gst/sine/gstsinesrc.h: Add example of how to implement tags.
* gst/videoscale/gstvideoscale.c: (gst_videoscale_getcaps):
Decrease minimum size to 16x16.
* gst/wavparse/gstwavparse.c:
Convert disabled pad template caps to new caps.
* sys/ximage/ximagesink.c: (gst_ximagesink_xcontext_get):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_xcontext_get),
(gst_xvimagesink_chain): Throw element error when display cannot
be opened.  Increase minimum framerate to 1.0.  Check the data
free function on a buffer to make sure it is the type we expect
before manipulating it.
2004-01-15 21:05:17 +00:00
Julien Moutte
37defa2525 gst/videofilter/gstvideobalance.c: Implement passthru if settings are in the middle.
Original commit message from CVS:
2004-01-15  Julien MOUTTE <julien@moutte.net>

* gst/videofilter/gstvideobalance.c: (gst_videobalance_init),
(gst_videobalance_colorbalance_set_value): Implement passthru if
settings are in the middle.
* tools/gst-launch-ext.in: Stop using xvideosink, use ximagesink.
2004-01-15 17:16:37 +00:00
Ronald S. Bultje
187ce0f853 gst/: Since we use videofilter symbols, link to it.
Original commit message from CVS:
2004-01-15  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* gst/videofilter/Makefile.am:
* gst/volume/Makefile.am:
Since we use videofilter symbols, link to it.
2004-01-15 16:34:44 +00:00
Julien Moutte
9aa32817d9 ext/alsa/gstalsamixer.c: Setting mixer interface type to HARDWARE.
Original commit message from CVS:
2004-01-15  Julien MOUTTE <julien@moutte.net>

* ext/alsa/gstalsamixer.c: (gst_alsa_mixer_interface_init): Setting
mixer interface type to HARDWARE.
* gst-libs/gst/mixer/mixer.c: (gst_mixer_class_init): Adding a default
type to SOFTWARE.
* gst-libs/gst/mixer/mixer.h: Adding mixer interface type and macro.
* gst-libs/gst/mixer/mixertrack.h: Adding mixertrack flag SOFTWARE.
* gst/volume/gstvolume.c: (gst_volume_interface_supported),
(gst_volume_interface_init), (gst_volume_list_tracks),
(gst_volume_set_volume), (gst_volume_get_volume),
(gst_volume_set_mute), (gst_volume_mixer_init),
(gst_volume_dispose), (gst_volume_get_type), (volume_class_init),
(volume_init): Implementing mixer interface.
* gst/volume/gstvolume.h: Adding tracklist for mixer interface.
* sys/oss/gstosselement.c: (gst_osselement_get_type),
(gst_osselement_change_state): Removing some trailing commas in
structures.
* sys/oss/gstossmixer.c: (gst_ossmixer_interface_init): Setting mixer
interface type to HARDWARE.
* sys/v4l/gstv4lcolorbalance.c:
(gst_v4l_color_balance_interface_init): Setting colorbalance interface
type to HARDWARE.
* sys/v4l2/gstv4l2colorbalance.c:
(gst_v4l2_color_balance_interface_init): Setting colorbalance
interface type to HARDWARE.
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_chain): use exactly the
same code than ximagesink for event handling.
2004-01-15 15:50:10 +00:00
Ronald S. Bultje
ddeaa790db ext/snapshot/: This has to be a joke... Snapshot should be connected to a tee, colorspace element before it and EOS a...
Original commit message from CVS:
2004-01-15  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* ext/snapshot/Makefile.am:
* ext/snapshot/gstsnapshot.c: (gst_snapshot_sinkconnect),
(gst_snapshot_chain):
* ext/snapshot/gstsnapshot.h:
This has to be a joke... Snapshot should be connected to a tee,
colorspace element before it and EOS after that, where the other
src of the tee receives normal data.
The current way is *wrong*.
2004-01-15 11:21:24 +00:00
Ronald S. Bultje
d0d0f83435 ext/hermes/gsthermescolorspace.c: Fix another compile error. Same as below.
Original commit message from CVS:
2004-01-15  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* ext/hermes/gsthermescolorspace.c:
Fix another compile error. Same as below.
2004-01-15 11:02:02 +00:00
Ronald S. Bultje
e83a73fb57 gst/colorspace/: Fix compiling... Didn't test if it actually works.
Original commit message from CVS:
2004-01-15  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* gst/colorspace/gstcolorspace.c:
* gst/colorspace/yuv2yuv.c: (gst_colorspace_yuy2_to_i420),
(gst_colorspace_i420_to_yv12):
Fix compiling... Didn't test if it actually works.
2004-01-15 10:45:55 +00:00
David Schleef
cbfaea6f9a Duplicate the ext/hermes colorspace plugin, and remove Hermes code and GPL code. Fix for new caps negotiation. Rewr...
Original commit message from CVS:
* configure.ac:
* gst/colorspace/Makefile.am:
* gst/colorspace/gstcolorspace.c:
* gst/colorspace/gstcolorspace.h:
* gst/colorspace/yuv2rgb.c:
* gst/colorspace/yuv2rgb.h:
Duplicate the ext/hermes colorspace plugin, and remove Hermes
code and GPL code.  Fix for new caps negotiation.  Rewrite
much of the format handling code, and some of the conversion
code.  Basically, rewrote almost everything.  This element
handles I420, YV12 to RGB conversions.
* ext/hermes/Makefile.am:
* ext/hermes/gsthermescolorspace.c:
Rename colorspace to hermescolorspace.  Fix negotiation issues.
Remove non-Hermes related code.  This element handles lots of
RGB to RGB conversions, but no YUV.
* ext/hermes/gstcolorspace.c:
* ext/hermes/gstcolorspace.h:
* ext/hermes/rgb2yuv.c:
* ext/hermes/yuv2rgb.c:
* ext/hermes/yuv2rgb.h:
* ext/hermes/yuv2rgb_mmx16.s:
* ext/hermes/yuv2yuv.c:
* ext/hermes/yuv2yuv.h:
Remove old code.
2004-01-15 08:58:21 +00:00
Colin Walters
b8b82a7119 ext/mad/gstid3tag.c (gst_id3_tag_chain): Don't nego caps if they've already been.
Original commit message from CVS:
2004-01-14  Colin Walters  <walters@verbum.org>

* ext/mad/gstid3tag.c (gst_id3_tag_chain): Don't nego caps if
they've already been.
2004-01-15 04:16:15 +00:00