platform/upstream/gst-plugins-good.git
20 years agoext/alsa/gstalsamixer.c: Setting mixer interface type to HARDWARE.
Julien Moutte [Thu, 15 Jan 2004 15:50:10 +0000 (15:50 +0000)]
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.

20 years agoext/snapshot/: This has to be a joke... Snapshot should be connected to a tee, colors...
Ronald S. Bultje [Thu, 15 Jan 2004 11:21:24 +0000 (11:21 +0000)]
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*.

20 years agoext/hermes/gsthermescolorspace.c: Fix another compile error. Same as below.
Ronald S. Bultje [Thu, 15 Jan 2004 11:02:02 +0000 (11:02 +0000)]
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.

20 years agogst/colorspace/: Fix compiling... Didn't test if it actually works.
Ronald S. Bultje [Thu, 15 Jan 2004 10:45:55 +0000 (10:45 +0000)]
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.

20 years agoDuplicate the ext/hermes colorspace plugin, and remove Hermes code and GPL code....
David Schleef [Thu, 15 Jan 2004 08:58:21 +0000 (08:58 +0000)]
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.

20 years agoext/mad/gstid3tag.c (gst_id3_tag_chain): Don't nego caps if they've already been.
Colin Walters [Thu, 15 Jan 2004 04:16:15 +0000 (04:16 +0000)]
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.

20 years agoext/mad/gstid3tag.c: assume tag mode when pad is not connected
Benjamin Otte [Thu, 15 Jan 2004 03:05:35 +0000 (03:05 +0000)]
ext/mad/gstid3tag.c: assume tag mode when pad is not connected

Original commit message from CVS:
2004-01-15  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* ext/mad/gstid3tag.c: (gst_id3_tag_do_caps_nego):
assume tag mode when pad is not connected

20 years agoext/alsa/gstalsasink.c: Don't update the time of the clock sync to the clock given...
Benjamin Otte [Thu, 15 Jan 2004 02:14:54 +0000 (02:14 +0000)]
ext/alsa/gstalsasink.c: Don't update the time of the clock sync to the clock given to alsasink, not the own clock

Original commit message from CVS:
2004-01-15  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* ext/alsa/gstalsasink.c: (gst_alsa_sink_check_event):
Don't update the time of the clock
(gst_alsa_sink_loop):
sync to the clock given to alsasink, not the own clock
* sys/oss/gstosssink.c: (gst_osssink_chain):
sync to the clock
(gst_osssink_change_state):
activate the clock
* sys/ximage/ximagesink.c: (gst_ximagesink_chain):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_chain):
remove bogus code that made DISCONT events unhandled
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_video_caps):
explicitly case to double in _set_simple. (fixes 2nd warning in bug
#131502)
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_read_object_header),
(gst_asf_demux_handle_sink_event), (gst_asf_demux_audio_caps),
(gst_asf_demux_add_audio_stream), (gst_asf_demux_video_caps):
convert g_warning because of wrong asf data to GST_WARNINGs (fixes
2nd warning in bug #131502)

20 years agogst/videofilter/gstvideobalance.c: Fixing videobalance ranges for colorbalance interf...
Julien Moutte [Wed, 14 Jan 2004 23:01:49 +0000 (23:01 +0000)]
gst/videofilter/gstvideobalance.c: Fixing videobalance ranges for colorbalance interface implementation.

Original commit message from CVS:
2004-01-14  Julien MOUTTE  <julien@moutte.net>

* gst/videofilter/gstvideobalance.c: (gst_videobalance_init),
(gst_videobalance_colorbalance_set_value),
(gst_videobalance_colorbalance_get_value): Fixing videobalance ranges
for colorbalance interface implementation.
* sys/ximage/ximagesink.c: (gst_ximagesink_xcontext_get),
(gst_ximagesink_set_property), (gst_ximagesink_get_property),
(gst_ximagesink_dispose), (gst_ximagesink_init),
(gst_ximagesink_class_init): Adding DISPLAY property.
* sys/ximage/ximagesink.h: Adding display_name to store display.
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_xcontext_get),
(gst_xvimagesink_set_property), (gst_xvimagesink_get_property),
(gst_xvimagesink_dispose), (gst_xvimagesink_init),
(gst_xvimagesink_class_init): Adding DISPLAY property and colorbalance
properties (they still need polishing though for gst-launch use : no
xcontext yet, i ll do that tomorrow).
* sys/xvimage/xvimagesink.h: Adding display_name to store display.

20 years agogst-libs/gst/play/gstplay.c: Preparing switch integration, adding videobalance in...
Julien Moutte [Wed, 14 Jan 2004 21:50:39 +0000 (21:50 +0000)]
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.

20 years agogst-libs/gst/colorbalance/colorbalance.c: Adding a default type.
Julien Moutte [Wed, 14 Jan 2004 17:15:34 +0000 (17:15 +0000)]
gst-libs/gst/colorbalance/colorbalance.c: Adding a default type.

Original commit message from CVS:
2004-01-14  Julien MOUTTE <julien@moutte.net>

* gst-libs/gst/colorbalance/colorbalance.c:
(gst_color_balance_class_init): Adding a default type.
* gst-libs/gst/colorbalance/colorbalance.h: Adding a macro to access
the type.
* gst/videofilter/gstvideobalance.c: (gst_videobalance_get_type),
(gst_videobalance_dispose), (gst_videobalance_class_init),
(gst_videobalance_init), (gst_videobalance_interface_supported),
(gst_videobalance_interface_init),
(gst_videobalance_colorbalance_list_channels),
(gst_videobalance_colorbalance_set_value),
(gst_videobalance_colorbalance_get_value),
(gst_videobalance_colorbalance_init): Implementing colorbalance
interface.
* gst/videofilter/gstvideobalance.h: Adding colorbalance channels
list.
* sys/ximage/ximagesink.c: (gst_ximagesink_set_xwindow_id): Fixing a
bug which was triggering a BadAccess X error when setting an overlay
before pad was really negotiated.
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_colorbalance_init):
Using the colorbalance type macro.

20 years agoext/flac/gstflacenc.c: handle tags correctly
Benjamin Otte [Wed, 14 Jan 2004 16:08:47 +0000 (16:08 +0000)]
ext/flac/gstflacenc.c: handle tags correctly

Original commit message from CVS:
2004-01-14  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* ext/flac/gstflacenc.c: (gst_flacenc_set_metadata),
(gst_flacenc_chain):
handle tags correctly
* gst/tags/gstid3tag.c: (gst_tag_list_new_from_id3v1):
extract ID3v1 tags correctly

20 years agogst/typefind/gsttypefindfunctions.c: Improve matroska typefinding for odd-typed heade...
Ronald S. Bultje [Wed, 14 Jan 2004 11:10:05 +0000 (11:10 +0000)]
gst/typefind/gsttypefindfunctions.c: Improve matroska typefinding for odd-typed headers...

Original commit message from CVS:
2004-01-14  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* gst/typefind/gsttypefindfunctions.c: (matroska_type_find),
(plugin_init):
Improve matroska typefinding for odd-typed headers...

20 years agogst/matroska/matroska-demux.c: Fix for using incremental number on padnames.
Ronald S. Bultje [Wed, 14 Jan 2004 10:58:15 +0000 (10:58 +0000)]
gst/matroska/matroska-demux.c: Fix for using incremental number on padnames.

Original commit message from CVS:
2004-01-14  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* gst/matroska/matroska-demux.c: (gst_matroska_demux_add_stream):
Fix for using incremental number on padnames.

20 years agoext/divx/: Set category to divx4linux instead of divx (too generic).
Ronald S. Bultje [Wed, 14 Jan 2004 10:48:18 +0000 (10:48 +0000)]
ext/divx/: Set category to divx4linux instead of divx (too generic).

Original commit message from CVS:
2004-01-14  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* ext/divx/gstdivxdec.c:
* ext/divx/gstdivxenc.c:
Set category to divx4linux instead of divx (too generic).
* gst/wavparse/gstwavparse.c: (gst_wavparse_init),
(gst_wavparse_parse_fmt), (gst_wavparse_handle_sink_event),
(gst_wavparse_loop), (gst_wavparse_change_state):
* gst/wavparse/gstwavparse.h:
fix parsing of WAV files with non-standard fmt-tag size and fix
skipping of unrecognized chunks... Someone please fix this thing
to use rifflib so all this is automated.
* sys/v4l/Makefile.am:
* sys/v4l2/Makefile.am:
Add X_CFLAGS because we depend on X (for overlay).

20 years agoDon't issue a timestamp unless we have a PTS.
Jan Schmidt [Wed, 14 Jan 2004 06:41:52 +0000 (06:41 +0000)]
Don't issue a timestamp unless we have a PTS.

Original commit message from CVS:
Don't issue a timestamp unless we have a PTS.

20 years agogst-libs/gst/play/gstplay.c: Query the audio element to get the time, not the clock...
Benjamin Otte [Wed, 14 Jan 2004 02:37:12 +0000 (02:37 +0000)]
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.

20 years agouse element time.
Benjamin Otte [Wed, 14 Jan 2004 00:53:52 +0000 (00:53 +0000)]
use element time.

Original commit message from CVS:
2004-01-14  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* ext/aalib/gstaasink.c: (gst_aasink_chain):
* ext/alsa/gstalsasink.c: (gst_alsa_sink_check_event):
* ext/esd/esdsink.c: (gst_esdsink_chain):
* ext/libcaca/gstcacasink.c: (gst_cacasink_chain):
* ext/mas/massink.c: (gst_massink_chain):
* ext/sdl/sdlvideosink.c: (gst_sdlvideosink_chain):
* gst/matroska/matroska-demux.c: (gst_matroska_demux_parse_index),
(gst_matroska_demux_parse_metadata):
* gst/mpegstream/gstmpegparse.c: (gst_mpeg_parse_loop),
(gst_mpeg_parse_release_locks):
* gst/tcp/gsttcpsink.c: (gst_tcpsink_chain):
* gst/udp/gstudpsink.c: (gst_udpsink_chain):
* gst/videotestsrc/gstvideotestsrc.c: (gst_videotestsrc_get):
* sys/oss/gstosssink.c: (gst_osssink_init), (gst_osssink_chain),
(gst_osssink_change_state):
* sys/v4l/gstv4lmjpegsink.c: (gst_v4lmjpegsink_chain):
* sys/ximage/ximagesink.c: (gst_ximagesink_chain):
* sys/xvideo/xvideosink.c: (gst_xvideosink_chain),
(gst_xvideosink_release_locks):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_chain):
use element time.
* ext/alsa/gstalsaclock.c: (gst_alsa_clock_start),
(gst_alsa_clock_stop):
* gst-libs/gst/audio/audioclock.c: (gst_audio_clock_set_active),
(gst_audio_clock_get_internal_time):
simplify for use with new clocking code.
* testsuite/alsa/Makefile.am:
* testsuite/alsa/sinesrc.c: (sinesrc_init), (sinesrc_force_caps):
fix testsuite for new caps system

20 years agoThe mask issue (which was'nt really an issue) is resolved. Translation of libcaca...
Zeeshan Ali [Wed, 14 Jan 2004 00:37:17 +0000 (00:37 +0000)]
The mask issue (which was'nt really an issue) is resolved. Translation of libcaca events to object signals would be d...

Original commit message from CVS:
The mask issue (which was'nt really an issue) is resolved. Translation of libcaca events to object signals would be done tomorrow.

20 years agoext/flac/: length is already host endian, no need to convert. Fixes playback of tagge...
Benjamin Otte [Wed, 14 Jan 2004 00:15:44 +0000 (00:15 +0000)]
ext/flac/: length is already host endian, no need to convert. Fixes playback of tagged files on PPC. (bug #128384)

Original commit message from CVS:
2004-01-14  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* ext/flac/gstflacdec.c: (gst_flacdec_update_metadata):
* ext/flac/gstflacenc.c: (add_one_tag):
length is already host endian, no need to convert. Fixes playback of
tagged files on PPC. (bug #128384)

20 years agoext/flac/gstflacdec.c: length is already host endian, no need to convert. Fixes playb...
Benjamin Otte [Tue, 13 Jan 2004 23:59:51 +0000 (23:59 +0000)]
ext/flac/gstflacdec.c: length is already host endian, no need to convert. Fixes playback of tagged files on PPC.

Original commit message from CVS:
2004-01-14  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* ext/flac/gstflacdec.c: (gst_flacdec_update_metadata):
length is already host endian, no need to convert. Fixes playback of
tagged files on PPC.

20 years agoenable compilation and installation of ivorbis plugin
Amaury Jacquot [Tue, 13 Jan 2004 23:15:58 +0000 (23:15 +0000)]
enable compilation and installation of ivorbis plugin

Original commit message from CVS:
enable compilation and installation of ivorbis plugin

20 years agogst-libs/gst/colorbalance/colorbalance.h: Adding a type to the colorbalance interface...
Jon Trowbridge [Tue, 13 Jan 2004 17:57:24 +0000 (17:57 +0000)]
gst-libs/gst/colorbalance/colorbalance.h: Adding a type to the colorbalance interface stating if it is hardware based...

Original commit message from CVS:
2004-01-13  Julien MOUTTE <julien@moutte.net>

* gst-libs/gst/colorbalance/colorbalance.h: Adding a type to the
colorbalance interface stating if it is hardware based or software
based.
* gst/videofilter/gstvideobalance.c: (gst_videobalance_planar411):
Removing a trailing comma.
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_xcontext_get),
(gst_xvimagesink_colorbalance_init): Integrating a patch from Jon
Trowbridge <trow@ximian.com> querying Xv adaptor for min/max value as
the documentation seems to be wrong on the -1000 to 1000 interval.

20 years agoAnti-aliasing is now an option.
Zeeshan Ali [Tue, 13 Jan 2004 00:40:31 +0000 (00:40 +0000)]
Anti-aliasing is now an option.

Original commit message from CVS:
Anti-aliasing is now an option.

20 years agoCongratulations, The first working version of cacasink. There is still one issue...
Zeeshan Ali [Mon, 12 Jan 2004 23:26:27 +0000 (23:26 +0000)]
Congratulations, The first working version of cacasink. There is still one issue unresolved: libcaca accepts the colo...

Original commit message from CVS:
Congratulations, The first working version of cacasink. There is still one issue unresolved: libcaca accepts the color masks reversed.

20 years agogst/debug/efence.c: Fix negotiation. Add a bufferalloc function for the sink pad...
David Schleef [Mon, 12 Jan 2004 23:24:05 +0000 (23:24 +0000)]
gst/debug/efence.c: Fix negotiation.  Add a bufferalloc function for the sink pad, and generally clean up some of the...

Original commit message from CVS:
* gst/debug/efence.c: (gst_efence_init), (gst_efence_chain),
(gst_efence_buffer_alloc), (gst_fenced_buffer_new),
(gst_fenced_buffer_default_free), (gst_fenced_buffer_default_copy):
Fix negotiation.  Add a bufferalloc function for the sink pad,
and generally clean up some of the code.

20 years agogst-libs/gst/colorbalance/colorbalancechannel.c: Adding safety check in dispose method.
Julien Moutte [Mon, 12 Jan 2004 19:50:29 +0000 (19:50 +0000)]
gst-libs/gst/colorbalance/colorbalancechannel.c: Adding safety check in dispose method.

Original commit message from CVS:
2004-01-12  Julien MOUTTE <julien@moutte.net>

* gst-libs/gst/colorbalance/colorbalancechannel.c:
(gst_color_balance_channel_dispose): Adding safety check in dispose
method.
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_xcontext_get),
(gst_xvimagesink_xcontext_clear),
(gst_xvimagesink_interface_supported),
(gst_xvimagesink_colorbalance_list_channels),
(gst_xvimagesink_colorbalance_set_value),
(gst_xvimagesink_colorbalance_get_value),
(gst_xvimagesink_colorbalance_init), (gst_xvimagesink_get_type):
Adding colorbalance interface support to set XV parameters such as
HUE, BRIGHTNESS, CONTRAST, SATURATION.
* sys/xvimage/xvimagesink.h: Adding the channels list for colorbalance
interface.

20 years agofix up audioconvert caps nego, remove float stuff, remove rate stuff gst-launch-0...
Thomas Vander Stichele [Mon, 12 Jan 2004 19:46:45 +0000 (19:46 +0000)]
fix up audioconvert caps nego, remove float stuff, remove rate stuff gst-launch-0.7  -v sinesrc ! audioconvert ! audi...

Original commit message from CVS:

fix up audioconvert caps nego, remove float stuff, remove rate stuff
gst-launch-0.7  -v sinesrc ! audioconvert ! audio/x-raw-int,rate=23000 ! wavenc ! filesink location=test.wav now writes a completely useless 23000 Hz wave file

20 years agoadding structure setters matching the templates for audio
Thomas Vander Stichele [Mon, 12 Jan 2004 19:35:53 +0000 (19:35 +0000)]
adding structure setters matching the templates for audio

Original commit message from CVS:
adding structure setters matching the templates for audio

20 years agogst/audioconvert/gstaudioconvert.c: Test that pad is negotiated before getting its...
David Schleef [Mon, 12 Jan 2004 18:59:57 +0000 (18:59 +0000)]
gst/audioconvert/gstaudioconvert.c: Test that pad is negotiated before getting its caps.

Original commit message from CVS:
* gst/audioconvert/gstaudioconvert.c: (gst_audio_convert_link):
Test that pad is negotiated before getting its caps.

20 years agogst-libs/gst/play/gstplay.c: When analyzing the pads of an element the bin is mostly...
Julien Moutte [Mon, 12 Jan 2004 16:48:48 +0000 (16:48 +0000)]
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.

20 years agosys/: Fixing the direct put buffers detection. I prefer checking GST_BUFFER_PRIVATE...
Julien Moutte [Mon, 12 Jan 2004 14:40:53 +0000 (14:40 +0000)]
sys/: Fixing the direct put buffers detection. I prefer checking GST_BUFFER_PRIVATE than the free_func.

Original commit message from CVS:
2004-01-12  Julien MOUTTE <julien@moutte.net>

* sys/ximage/ximagesink.c: (gst_ximagesink_chain):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_chain): Fixing the
direct put buffers detection. I prefer checking GST_BUFFER_PRIVATE
than the free_func.

20 years agomake oss warning more useful
Thomas Vander Stichele [Mon, 12 Jan 2004 12:24:05 +0000 (12:24 +0000)]
make oss warning more useful

Original commit message from CVS:
make oss warning more useful

20 years agoadd oss debugging category
Thomas Vander Stichele [Mon, 12 Jan 2004 12:07:28 +0000 (12:07 +0000)]
add oss debugging category

Original commit message from CVS:
add oss debugging category

20 years agoMake sure everybody wraps #include "config.h" in #ifdef HAVE_CONFIG_H
David Schleef [Mon, 12 Jan 2004 04:15:46 +0000 (04:15 +0000)]
Make sure everybody wraps #include "config.h" in #ifdef HAVE_CONFIG_H

Original commit message from CVS:
* ext/ffmpeg/gstffmpeg.c:
* ext/ffmpeg/gstffmpegcodecmap.c:
* ext/ffmpeg/gstffmpegdec.c:
* ext/ffmpeg/gstffmpegenc.c:
* ext/ffmpeg/gstffmpegprotocol.c:
* ext/gdk_pixbuf/gstgdkanimation.c:
* ext/jpeg/gstjpeg.c:
* ext/libpng/gstpng.c:
* ext/mpeg2dec/perftest.c:
* ext/speex/gstspeex.c:
* gst-libs/gst/resample/dtos.c:
* gst/intfloat/gstintfloatconvert.c:
* gst/oneton/gstoneton.c:
* gst/rtjpeg/RTjpeg.c:
* gst/rtp/gstrtp.c:
* sys/dxr3/dxr3init.c:
* sys/glsink/gstgl_nvimage.c:
* sys/glsink/gstgl_pdrimage.c:
* sys/glsink/gstglsink.c:
* testsuite/gst-lint:
Make sure everybody wraps #include "config.h" in #ifdef HAVE_CONFIG_H

20 years agoRemove all usage of gst_pad_get_caps(), and replace it with gst_pad_get_allowed_caps...
David Schleef [Mon, 12 Jan 2004 03:40:18 +0000 (03:40 +0000)]
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().

20 years agoFixes to make ext/libcaca compile.
David Schleef [Mon, 12 Jan 2004 03:37:48 +0000 (03:37 +0000)]
Fixes to make ext/libcaca compile.

Original commit message from CVS:
* configure.ac:
* ext/Makefile.am: Fixes to make ext/libcaca compile.

20 years agoFixes to make ext/libcaca compile.
David Schleef [Mon, 12 Jan 2004 03:21:40 +0000 (03:21 +0000)]
Fixes to make ext/libcaca compile.

Original commit message from CVS:
* configure.ac:
* ext/Makefile.am: Fixes to make ext/libcaca compile.
* ext/divx/gstdivxdec.c:
* ext/gdk_pixbuf/gstgdkpixbuf.c: (gst_gdk_pixbuf_sink_link),
(gst_gdk_pixbuf_init), (gst_gdk_pixbuf_chain): Make gdkpixbufdec
handle images that span multiple buffers.  Now work with both
filesrc ! gdkpixbufdec and qtdemux ! gdkpixbufdec.
* ext/gdk_pixbuf/gstgdkpixbuf.h:
* ext/libcaca/gstcacasink.h: Fixes needed due to recent
video/video.h changes
* ext/xvid/gstxvid.c: (gst_xvid_csp_to_caps): same
* sys/v4l/gstv4lmjpegsrc.c: (gst_v4lmjpegsrc_get),
(gst_v4lmjpegsrc_buffer_free): Use buffer free function instead
of GstData free function.
* sys/v4l/gstv4lsrc.c: (gst_v4lsrc_get), (gst_v4lsrc_buffer_free):
same.

20 years agosys/v4l2/: add norm, channel and frequency properties.
Benjamin Otte [Mon, 12 Jan 2004 02:19:57 +0000 (02:19 +0000)]
sys/v4l2/: add norm, channel and frequency properties.

Original commit message from CVS:
2004-01-12  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* sys/v4l2/gstv4l2element.c: (gst_v4l2element_class_init),
(gst_v4l2element_dispose), (gst_v4l2element_set_property),
(gst_v4l2element_get_property):
* sys/v4l2/v4l2_calls.c: (gst_v4l2_set_defaults), (gst_v4l2_open):
add norm, channel and frequency properties.
* sys/v4l2/gstv4l2tuner.c:
fixes for tuner interface changes
* sys/v4l2/gstv4l2element.h:
* sys/v4l2/gstv4l2src.c:
* sys/v4l2/gstv4l2src.h:
* sys/v4l2/v4l2src_calls.c:
* sys/v4l2/v4l2src_calls.h:
rework v4l2src to work with saa1734 cards and allow mmaped buffers.

20 years agogst-libs/gst/tuner/tuner.*: GObjects aren't const.
Benjamin Otte [Mon, 12 Jan 2004 02:11:03 +0000 (02:11 +0000)]
gst-libs/gst/tuner/tuner.*: GObjects aren't const.

Original commit message from CVS:
2004-01-12  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* gst-libs/gst/tuner/tuner.c: (gst_tuner_class_init),
(gst_tuner_find_norm_by_name), (gst_v4l2_find_channel_by_name),
(gst_tuner_channel_changed), (gst_tuner_norm_changed),
(gst_tuner_frequency_changed), (gst_tuner_signal_changed):
* gst-libs/gst/tuner/tuner.h:
GObjects aren't const.
Add find_by_name functions.
Add checks to _changed functions.
* sys/v4l/gstv4ltuner.c: (gst_v4l_tuner_get_channel),
(gst_v4l_tuner_get_norm):
Fixes for above.

20 years agogst-libs/gst/video/video.h: Fix caps template names to be understandable.
Benjamin Otte [Mon, 12 Jan 2004 02:01:51 +0000 (02:01 +0000)]
gst-libs/gst/video/video.h: Fix caps template names to be understandable.

Original commit message from CVS:
2004-01-12  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* gst-libs/gst/video/video.h:
Fix caps template names to be understandable.
Prefix everything with GST_VIDEO.
* ext/aalib/gstaasink.c:
* ext/divx/gstdivxdec.c:
* ext/divx/gstdivxenc.c:
* ext/gdk_pixbuf/gstgdkpixbuf.c:
* ext/hermes/gstcolorspace.c: (gst_colorspace_base_init):
* ext/jpeg/gstjpegdec.c: (raw_caps_factory):
* ext/jpeg/gstjpegenc.c: (raw_caps_factory):
* ext/libcaca/gstcacasink.c:
* ext/libpng/gstpngenc.c: (raw_caps_factory):
* ext/snapshot/gstsnapshot.c:
* ext/swfdec/gstswfdec.c:
* ext/xvid/gstxviddec.c:
* ext/xvid/gstxvidenc.c:
* gst/chart/gstchart.c:
* gst/deinterlace/gstdeinterlace.c:
* gst/effectv/gsteffectv.c:
* gst/flx/gstflxdec.c: (gst_flxdec_loop):
* gst/goom/gstgoom.c:
* gst/median/gstmedian.c:
* gst/monoscope/gstmonoscope.c: (gst_monoscope_init),
(gst_monoscope_srcconnect), (gst_monoscope_chain):
* gst/overlay/gstoverlay.c:
* gst/smooth/gstsmooth.c:
* gst/smpte/gstsmpte.c:
* gst/synaesthesia/gstsynaesthesia.c:
* gst/videocrop/gstvideocrop.c:
* gst/videodrop/gstvideodrop.c:
* gst/y4m/gsty4mencode.c:
* sys/qcam/gstqcamsrc.c:
* sys/v4l/gstv4lsrc.c: (gst_v4lsrc_palette_to_caps):
Make them work with new video.h file.
* sys/ximage/ximagesink.c: (gst_ximagesink_chain),
(gst_ximagesink_buffer_free), (gst_ximagesink_buffer_alloc):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_chain),
(gst_xvimagesink_buffer_free), (gst_xvimagesink_buffer_alloc):
Make it work with new buffer allocation system.

20 years agoext/ffmpeg/gstffmpegcolorspace.c: Fixing the pad_alloc_buffer implementation to use...
Julien Moutte [Sun, 11 Jan 2004 22:52:28 +0000 (22:52 +0000)]
ext/ffmpeg/gstffmpegcolorspace.c: Fixing the pad_alloc_buffer implementation to use ->srcpad

Original commit message from CVS:
2004-01-11  Julien MOUTTE  <julien@moutte.net>

* ext/ffmpeg/gstffmpegcolorspace.c: (gst_ffmpegcsp_chain): Fixing the
pad_alloc_buffer implementation to use ->srcpad
* ext/hermes/gstcolorspace.c: (gst_colorspace_chain): Fixing the
pad_alloc_buffer implementation to use ->srcpad
* gst/videoscale/gstvideoscale.c: (gst_videoscale_chain):  Fixing the
pad_alloc_buffer implementation to use ->srcpad
* sys/ximage/ximagesink.c: (gst_ximagesink_ximage_new),
(gst_ximagesink_chain), (gst_ximagesink_buffer_free),
(gst_ximagesink_buffer_alloc): Now only use GST_BUFFER_PRIVATE to keep
a reference to everything we need.
* sys/ximage/ximagesink.h: adding a reference to the sink in the image.
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_xvimage_new),
(gst_xvimagesink_chain), (gst_xvimagesink_buffer_free),
(gst_xvimagesink_buffer_alloc): Now only use GST_BUFFER_PRIVATE to keep
a reference to everything we need.
* sys/xvimage/xvimagesink.h: adding a reference to the sink in the image

20 years agoIt should work now, but it does'nt (All i see is a black-window) :(
Zeeshan Ali [Sun, 11 Jan 2004 22:16:49 +0000 (22:16 +0000)]
It should work now, but it does'nt (All i see is a black-window) :(

Original commit message from CVS:
It should work now, but it does'nt (All i see is a black-window) :(

20 years agoext/divx/gstdivxenc.c: remove bogus gst_caps_is_fixed() test
David Schleef [Sun, 11 Jan 2004 22:03:52 +0000 (22:03 +0000)]
ext/divx/gstdivxenc.c: remove bogus gst_caps_is_fixed() test

Original commit message from CVS:
* ext/divx/gstdivxenc.c: remove bogus gst_caps_is_fixed() test
* gst/debug/efence.c: (gst_efence_chain), (gst_fenced_buffer_new),
(gst_fenced_buffer_default_copy): Fix for rename of buffer private
structure members.
* gst/effectv/gstwarp.c: (gst_warptv_setup): Don't reset the time
value during a resize/renegotiation.
* gst/videofilter/gstvideofilter.c: (gst_videofilter_chain): use
gst_pad_alloc_buffer();
* sys/v4l/gstv4lmjpegsrc.c: (gst_v4lmjpegsrc_get),
(gst_v4lmjpegsrc_buffer_free): Fix for rename of buffer private
structure members.
* sys/v4l/gstv4lsrc.c: (gst_v4lsrc_get), (gst_v4lsrc_buffer_free):
Fix for rename of buffer private structure members.
* sys/ximage/ximagesink.c: (gst_ximagesink_chain),
(gst_ximagesink_buffer_free), (gst_ximagesink_buffer_alloc):
Fix for rename of buffer private structure members.
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_chain),
(gst_xvimagesink_buffer_free), (gst_xvimagesink_buffer_alloc):
Fix for rename of buffer private structure members.

20 years agoNew gamma filter
David Schleef [Sun, 11 Jan 2004 21:52:10 +0000 (21:52 +0000)]
New gamma filter

Original commit message from CVS:
New gamma filter

20 years agoI forgot to commit Changelog on my latest commit. (no cake for me tonight)
Julien Moutte [Sun, 11 Jan 2004 19:40:58 +0000 (19:40 +0000)]
I forgot to commit Changelog on my latest commit. (no cake for me tonight)

Original commit message from CVS:
I forgot to commit Changelog on my latest commit. (no cake for me tonight)

20 years agoI'm too lazy to comment this
Benjamin Otte [Sun, 11 Jan 2004 19:34:15 +0000 (19:34 +0000)]
I'm too lazy to comment this

Original commit message from CVS:
*** empty log message ***

20 years agogst/qtdemux/qtdemux.c: fix audio chunk size/timestamp calculation
Benjamin Otte [Sun, 11 Jan 2004 17:49:56 +0000 (17:49 +0000)]
gst/qtdemux/qtdemux.c: fix audio chunk size/timestamp calculation

Original commit message from CVS:
2004-01-11  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* gst/qtdemux/qtdemux.c: (gst_qtdemux_loop_header),
(qtdemux_parse_trak):
fix audio chunk size/timestamp calculation

20 years agoconfigure.ac: Adding examples/switch/Makefile
Julien Moutte [Sun, 11 Jan 2004 17:32:37 +0000 (17:32 +0000)]
configure.ac: Adding examples/switch/Makefile

Original commit message from CVS:
2004-01-11  Julien MOUTTE  <julien@moutte.net>

* configure.ac: Adding examples/switch/Makefile
* examples/Makefile.am: Adding examples/switch
* examples/switch/Makefile.am: Adding switcher example.
* examples/switch/switcher.c: (got_eos), (idle_iterate),
(switch_timer), (main): Adding an example demonstrating switch usage
with 2 videotestsrc showing different patterns.
* gst/switch/gstswitch.c: (gst_switch_request_new_pad),
(gst_switch_init): Fixing switch with the new caps system.

20 years agoext/ffmpeg/gstffmpegcodecmap.c: fix SVQ3 caps
Benjamin Otte [Sun, 11 Jan 2004 04:51:47 +0000 (04:51 +0000)]
ext/ffmpeg/gstffmpegcodecmap.c: fix SVQ3 caps

Original commit message from CVS:
2004-01-11  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps):
fix SVQ3 caps

20 years agogst/effectv/gstaging.c: Port agingTV to videofilter
Steve Baker [Sat, 10 Jan 2004 21:18:31 +0000 (21:18 +0000)]
gst/effectv/gstaging.c: Port agingTV to videofilter

Original commit message from CVS:
* gst/effectv/gstaging.c: (gst_agingtv_get_type),
(gst_agingtv_base_init), (gst_agingtv_class_init),
(gst_agingtv_init), (gst_agingtv_setup), (gst_agingtv_rgb32),
(gst_agingtv_set_property), (gst_agingtv_get_property):
Port agingTV to videofilter

20 years agolatest spec file updates
Christian Schaller [Sat, 10 Jan 2004 14:11:24 +0000 (14:11 +0000)]
latest spec file updates

Original commit message from CVS:
latest spec file updates

20 years agoext/hermes/gstcolorspace.c: Implementing gst_pad_alloc_buffer to use optimized buffer...
Julien Moutte [Fri, 9 Jan 2004 19:29:35 +0000 (19:29 +0000)]
ext/hermes/gstcolorspace.c: Implementing gst_pad_alloc_buffer to use optimized buffer allocation.

Original commit message from CVS:
* ext/hermes/gstcolorspace.c: (gst_colorspace_chain):
Implementing gst_pad_alloc_buffer to use optimized buffer allocation.

20 years agoext/ffmpeg/gstffmpegcolorspace.c: Implementing gst_pad_alloc_buffer to use optimized...
Julien Moutte [Fri, 9 Jan 2004 18:05:56 +0000 (18:05 +0000)]
ext/ffmpeg/gstffmpegcolorspace.c: Implementing gst_pad_alloc_buffer to use optimized buffer allocation.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegcolorspace.c: (gst_ffmpegcsp_chain):
Implementing gst_pad_alloc_buffer to use optimized buffer allocation.
* gst-libs/gst/xoverlay/xoverlay.c:
(gst_x_overlay_got_desired_size): Updating doc for the xid being 0.
* gst/videoscale/gstvideoscale.c: (gst_videoscale_chain):
Implementing gst_pad_alloc_buffer to use optimized buffer allocation.
* gst/videotestsrc/gstvideotestsrc.c: (gst_videotestsrc_get):
Implementing gst_pad_alloc_buffer to use optimized buffer allocation.
* sys/ximage/ximagesink.c: (gst_ximagesink_chain),
(gst_ximagesink_buffer_free), (gst_ximagesink_buffer_alloc),
(gst_ximagesink_set_xwindow_id), (gst_ximagesink_init): Implementing
the bufferalloc_function to replace bufferpools, fixing the XOverlay
interface implementation to handle xid being 0 and fix some bugs
triggered by Benjamin's testcase.
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_chain),
(gst_xvimagesink_buffer_free), (gst_xvimagesink_buffer_alloc),
(gst_xvimagesink_set_xwindow_id), (gst_xvimagesink_init): Implementing
the bufferalloc_function to replace bufferpools, fixing the XOverlay
interface implementation to handle xid being 0 and fix some bugs
triggered by Benjamin's testcase.

20 years agoHacking. Added decoding and mouse events. Actually works.
David Schleef [Fri, 9 Jan 2004 10:46:37 +0000 (10:46 +0000)]
Hacking.  Added decoding and mouse events.  Actually works.

Original commit message from CVS:
Hacking.  Added decoding and mouse events.  Actually works.

20 years agoext/divx/gstdivxenc.c: Use explicit caps - fix capsnego.
Ronald S. Bultje [Fri, 9 Jan 2004 09:48:43 +0000 (09:48 +0000)]
ext/divx/gstdivxenc.c: Use explicit caps - fix capsnego.

Original commit message from CVS:
2004-01-09  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* ext/divx/gstdivxenc.c: (gst_divxenc_init):
Use explicit caps - fix capsnego.
* ext/xvid/gstxviddec.c:
* ext/xvid/gstxvidenc.c:
Remove macro-inside-macro which caused compile errors.
* gst-libs/gst/riff/riff-read.c: (gst_riff_read_header):
Error out if it's not a RIFF file. Else we error out without
gst_element_error() which is not good...

20 years agoext/ffmpeg/gstffmpegenc.c: Fix pad_link function to handle formats that ffmpeg return...
David Schleef [Fri, 9 Jan 2004 01:53:31 +0000 (01:53 +0000)]
ext/ffmpeg/gstffmpegenc.c: Fix pad_link function to handle formats that ffmpeg returns as multiple caps structures.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_connect):
Fix pad_link function to handle formats that ffmpeg returns
as multiple caps structures.
* gst/videofilter/gstvideofilter.c: (gst_videofilter_chain):
Only complain if source buffer is _smaller_ than expected.
* gst/videoscale/gstvideoscale.c: (gst_videoscale_init),
(gst_videoscale_handle_src_event): Resize navigation events
when passing them upstream.
* gst/videotestsrc/gstvideotestsrc.c:
* gst/videotestsrc/gstvideotestsrc.h:
* gst/videotestsrc/videotestsrc.c:
* gst/videotestsrc/videotestsrc.h:
Rewrite many of the buffer painting functions to handle odd
sizes (for many formats, size%4!=0 or size%8!=0).  Most have
been verified to work with my video card.
* testsuite/gst-lint:  Add check for elements calling
gst_pad_get_caps() instead of gst_pad_get_allowed_caps().

20 years agoFix negotiation
David Schleef [Thu, 8 Jan 2004 21:53:32 +0000 (21:53 +0000)]
Fix negotiation

Original commit message from CVS:
Fix negotiation

20 years agosys/ximage/ximagesink.c: configure event is not emiting the desired size signal....
Julien Moutte [Thu, 8 Jan 2004 20:06:32 +0000 (20:06 +0000)]
sys/ximage/ximagesink.c: configure event is not emiting the desired size signal. That fixes aspect ratio issues with ...

Original commit message from CVS:
* sys/ximage/ximagesink.c: (gst_ximagesink_handle_xevents): A
configure event is not emiting the desired size signal. That fixes
aspect ratio issues with gst-player.

20 years agogst/median/gstmedian.c: Fix capsnego.
Ronald S. Bultje [Thu, 8 Jan 2004 12:42:40 +0000 (12:42 +0000)]
gst/median/gstmedian.c: Fix capsnego.

Original commit message from CVS:
2004-01-08  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* gst/median/gstmedian.c: (gst_median_link), (gst_median_init):
Fix capsnego.

20 years agoext/sdl/sdlvideosink.c: Using XOverlay public method to fire size signal.
Julien Moutte [Thu, 8 Jan 2004 00:54:01 +0000 (00:54 +0000)]
ext/sdl/sdlvideosink.c: Using XOverlay public method to fire size signal.

Original commit message from CVS:
* ext/sdl/sdlvideosink.c: (gst_sdlvideosink_create): Using XOverlay
public method to fire size signal.

20 years agoexamples/gstplay/Makefile.am: Adding the interface library.
Julien Moutte [Wed, 7 Jan 2004 21:49:25 +0000 (21:49 +0000)]
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.

20 years agovideofilter
David Schleef [Wed, 7 Jan 2004 21:39:01 +0000 (21:39 +0000)]
videofilter

Original commit message from CVS:
videofilter

20 years agoHandle builddir != srcdir builds with making gstvideoexample.c
David Schleef [Wed, 7 Jan 2004 21:36:52 +0000 (21:36 +0000)]
Handle builddir != srcdir builds with making gstvideoexample.c

Original commit message from CVS:
Handle builddir != srcdir builds with making gstvideoexample.c

20 years agoFix the regular expressions and quote properly
David Schleef [Wed, 7 Jan 2004 21:33:01 +0000 (21:33 +0000)]
Fix the regular expressions and quote properly

Original commit message from CVS:
Fix the regular expressions and quote properly

20 years agoConvert make_filter to sh. Add make_filter's id to the output
David Schleef [Wed, 7 Jan 2004 21:07:12 +0000 (21:07 +0000)]
Convert make_filter to sh.  Add make_filter's id to the output

Original commit message from CVS:
Convert make_filter to sh.  Add make_filter's id to the output

20 years agofix element description
Thomas Vander Stichele [Wed, 7 Jan 2004 16:50:31 +0000 (16:50 +0000)]
fix element description

Original commit message from CVS:
fix element description

20 years agoexamples/gstplay/player.c: Adding some new lines in g_print calls.
Julien Moutte [Wed, 7 Jan 2004 15:33:41 +0000 (15:33 +0000)]
examples/gstplay/player.c: Adding some new lines in g_print calls.

Original commit message from CVS:
* examples/gstplay/player.c: (got_time_tick), (got_stream_length),
(got_video_size): Adding some new lines in g_print calls.
* sys/ximage/ximagesink.c: (gst_ximagesink_xwindow_new),
(gst_ximagesink_xwindow_destroy), (gst_ximagesink_xwindow_resize),
(gst_ximagesink_handle_xevents), (gst_ximagesink_fixate),
(gst_ximagesink_sinkconnect), (gst_ximagesink_change_state),
(gst_ximagesink_chain), (gst_ximagesink_buffer_new),
(gst_ximagesink_set_xwindow_id), (gst_ximagesink_get_desired_size):
Complete code review, reverting some stuff i disagree with, adding
some fixes : time synchronization on invalid timestamps, renegotiation
of private window.
* sys/ximage/ximagesink.h:
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_xwindow_destroy),
(gst_xvimagesink_xwindow_resize), (gst_xvimagesink_handle_xevents),
(gst_xvimagesink_get_xv_support), (gst_xvimagesink_xcontext_get),
(gst_xvimagesink_fixate), (gst_xvimagesink_sinkconnect),
(gst_xvimagesink_change_state), (gst_xvimagesink_chain),
(gst_xvimagesink_buffer_new),
(gst_xvimagesink_navigation_send_event),
(gst_xvimagesink_set_xwindow_id),
(gst_xvimagesink_get_desired_size),
(gst_xvimagesink_xoverlay_init): Complete code review, reverting some
stuff i disagree with, adding some fixes : Renegotiation of private
window, implementing get_desired_size.

20 years agoFix for instantiate-test (see core). Also remove dead code from jpegenc (which still...
Ronald S. Bultje [Wed, 7 Jan 2004 13:18:08 +0000 (13:18 +0000)]
Fix for instantiate-test (see core). Also remove dead code from jpegenc (which still needs fixing, but that's lower o...

Original commit message from CVS:
2004-01-07  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* ext/audiofile/gstafsink.c: (gst_afsink_init), (gst_afsink_chain),
(gst_afsink_handle_event):
* ext/jpeg/gstjpegenc.c: (gst_jpegenc_init):
* gst/avi/gstavimux.c: (gst_avimux_request_new_pad):
* sys/dxr3/dxr3audiosink.c: (dxr3audiosink_init):
* sys/dxr3/dxr3spusink.c: (dxr3spusink_init):
* sys/dxr3/dxr3videosink.c: (dxr3videosink_init):
Fix for instantiate-test (see core). Also remove dead code from
jpegenc (which still needs fixing, but that's lower on my TODO
list...).
* sys/v4l2/gstv4l2src.c: (gst_v4l2src_getcaps):
Never return NULL as caps.

20 years agogstvideoexample.h disappeared. fixing build.
Julien Moutte [Wed, 7 Jan 2004 13:04:40 +0000 (13:04 +0000)]
gstvideoexample.h disappeared. fixing build.

Original commit message from CVS:
gstvideoexample.h disappeared. fixing build.

20 years agoNew source plugin based on librfb-0.1. RFB (remote framebuffer) is the protocol...
David Schleef [Wed, 7 Jan 2004 10:51:05 +0000 (10:51 +0000)]
New source plugin based on librfb-0.1.  RFB (remote framebuffer) is the protocol used by VNC.

Original commit message from CVS:
New source plugin based on librfb-0.1.  RFB (remote framebuffer)
is the protocol used by VNC.

20 years agoMake warpTV a subclass of videofilter
David Schleef [Wed, 7 Jan 2004 10:16:09 +0000 (10:16 +0000)]
Make warpTV a subclass of videofilter

Original commit message from CVS:
Make warpTV a subclass of videofilter

20 years agoMerge gstvideotemplate.h into gstvideotemplate.c
David Schleef [Wed, 7 Jan 2004 08:56:45 +0000 (08:56 +0000)]
Merge gstvideotemplate.h into gstvideotemplate.c

Original commit message from CVS:
Merge gstvideotemplate.h into gstvideotemplate.c

20 years agoext/mad/gstid3tag.c: Add guard against invalid utf-8 conversions in mad. Just in...
Benjamin Otte [Wed, 7 Jan 2004 03:06:19 +0000 (03:06 +0000)]
ext/mad/gstid3tag.c: Add guard against invalid utf-8 conversions in mad. Just in case.

Original commit message from CVS:
2004-01-07  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* ext/mad/gstid3tag.c: (gst_mad_id3_to_tag_list):
Add guard against invalid utf-8 conversions in mad. Just in case.

20 years agosys/oss/gstosssink.c: Fix for bug shown by poisoning
Benjamin Otte [Tue, 6 Jan 2004 23:42:37 +0000 (23:42 +0000)]
sys/oss/gstosssink.c: Fix for bug shown by poisoning

Original commit message from CVS:
2004-01-07  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* sys/oss/gstosssink.c: (gst_osssink_sink_fixate):
Fix for bug shown by poisoning

20 years agosys/v4l/: Fix for removed bufferpools.
Ronald S. Bultje [Tue, 6 Jan 2004 20:15:21 +0000 (20:15 +0000)]
sys/v4l/: Fix for removed bufferpools.

Original commit message from CVS:
2004-01-06  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* sys/v4l/gstv4lmjpegsrc.c: (gst_v4lmjpegsrc_get),
(gst_v4lmjpegsrc_buffer_free):
* sys/v4l/gstv4lsrc.c: (gst_v4lsrc_palette_to_caps),
(gst_v4lsrc_srcconnect), (gst_v4lsrc_getcaps), (gst_v4lsrc_get),
(gst_v4lsrc_buffer_free):
Fix for removed bufferpools.

20 years agoext/dv/gstdvdec.c: Fix caps negotiation.
Jan Schmidt [Tue, 6 Jan 2004 16:42:09 +0000 (16:42 +0000)]
ext/dv/gstdvdec.c: Fix caps negotiation.

Original commit message from CVS:
* ext/dv/gstdvdec.c: (gst_dvdec_loop):
Fix caps negotiation.

* ext/dvdnav/dvdnavsrc.c: (dvdnavsrc_class_init),
(dvdnavsrc_update_buttoninfo), (dvdnavsrc_get),
(dvdnavsrc_get_event_mask), (dvdnav_handle_navigation_event),
(dvdnavsrc_event):
* ext/mpeg2dec/gstmpeg2dec.c:
* gst-libs/gst/navigation/navigation.c:
(gst_navigation_send_key_event), (gst_navigation_send_mouse_event):
* gst-libs/gst/navigation/navigation.h:
* gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_handle_src_event):
* sys/ximage/ximagesink.c: (gst_ximagesink_handle_xevents):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_handle_xevents):
Super-simple first version of mouse and keyboard events. Clicking
on a DVD menu now works, although it may not take you where you
expected.

* gst/sine/gstsinesrc.c: (gst_sinesrc_src_fixate):
* gst/videotestsrc/gstvideotestsrc.c:
(gst_videotestsrc_src_fixate):
These fixate functions were broken - they never actually
fixated :)

20 years agoext/shout/gstshout.c: fix for new caps system.
Ronald S. Bultje [Tue, 6 Jan 2004 15:59:02 +0000 (15:59 +0000)]
ext/shout/gstshout.c: fix for new caps system.

Original commit message from CVS:
2004-01-06  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* ext/shout/gstshout.c: (gst_icecastsend_base_init),
(gst_icecastsend_init):
fix for new caps system.
* gst-libs/gst/mixer/mixertrack.h:
* sys/oss/gstossmixer.c: (gst_ossmixer_build_list):
Add 'master track' flag (for tools like ACME that only want to
change the main volume).

20 years agoifdef out ARGB type when it isn't available in xvidcore 1.0.0beta2
Jan Schmidt [Tue, 6 Jan 2004 14:34:52 +0000 (14:34 +0000)]
ifdef out ARGB type when it isn't available in xvidcore 1.0.0beta2

Original commit message from CVS:
ifdef out ARGB type when it isn't available in xvidcore 1.0.0beta2

20 years agogst/mpegstream/gstmpegparse.c: When we have received a new SCR right in the first...
Ronald S. Bultje [Tue, 6 Jan 2004 12:31:31 +0000 (12:31 +0000)]
gst/mpegstream/gstmpegparse.c: When we have received a new SCR right in the first buffer after we should handle the b...

Original commit message from CVS:
2004-01-06  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* gst/mpegstream/gstmpegparse.c: (gst_mpeg_parse_loop):
When we have received a new SCR right in the first buffer after
a seek (so in the same cycle that handles the discont), we should
handle the buffer instead of unreffing it, else we lose data.

20 years agoSet the buffer-frames on the int2floats caps
Iain Holmes [Tue, 6 Jan 2004 00:06:10 +0000 (00:06 +0000)]
Set the buffer-frames on the int2floats caps

Original commit message from CVS:
Set the buffer-frames on the int2floats caps
Make creating srcpads in the oneton smarter.

20 years agogst/mpegstream/gstmpegdemux.c: Add pad to element *after* setting functions such...
Ronald S. Bultje [Mon, 5 Jan 2004 11:17:23 +0000 (11:17 +0000)]
gst/mpegstream/gstmpegdemux.c: Add pad to element *after* setting functions such as event handler.

Original commit message from CVS:
2004-01-05  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_parse_syshead):
Add pad to element *after* setting functions such as event handler.
Without this, the scheduler (opt) will link pads, set the event
handler from the default event function (dispatcher in gstpad.c)
and *after* that, we will set our own event function, which will
thus never be used (and thus mpegdemux doesn't handle events).

20 years agoFix the fixate functions to handle new prototype:
David Schleef [Sun, 4 Jan 2004 23:46:39 +0000 (23:46 +0000)]
Fix the fixate functions to handle new prototype:

Original commit message from CVS:
Fix the fixate functions to handle new prototype:
* gst/sine/gstsinesrc.c: (gst_sinesrc_src_fixate):
* gst/videotestsrc/gstvideotestsrc.c:
(gst_videotestsrc_src_fixate):
* sys/oss/gstosssink.c: (gst_osssink_sink_fixate):
* sys/ximage/ximagesink.c: (gst_ximagesink_fixate):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_fixate):

20 years agosys/ximage/ximagesink.*: assorted fixes to make (re)embedding work
Benjamin Otte [Sun, 4 Jan 2004 18:53:53 +0000 (18:53 +0000)]
sys/ximage/ximagesink.*: assorted fixes to make (re)embedding work

Original commit message from CVS:
2004-01-04  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* sys/ximage/ximagesink.h:
* sys/ximage/ximagesink.c: (gst_ximagesink_xwindow_new),
(gst_ximagesink_xwindow_destroy), (gst_ximagesink_sinkconnect),
(gst_ximagesink_change_state), (gst_ximagesink_set_xwindow_id),
(gst_ximagesink_xoverlay_init):
assorted fixes to make (re)embedding work
* sys/ximage/ximagesink.c: (gst_ximagesink_sinkconnect),
(gst_ximagesink_get_desired_size):
implement desired size additions to XOverlay

20 years agogst-libs/gst/xoverlay/xoverlay.*: Add optional "desired size" signal and querying.
Benjamin Otte [Sun, 4 Jan 2004 18:02:30 +0000 (18:02 +0000)]
gst-libs/gst/xoverlay/xoverlay.*: Add optional "desired size" signal and querying.

Original commit message from CVS:
2004-01-04  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* gst-libs/gst/xoverlay/xoverlay.c: (gst_x_overlay_base_init),
(gst_x_overlay_got_xwindow_id), (gst_x_overlay_get_desired_size),
(gst_x_overlay_got_desired_size):
* gst-libs/gst/xoverlay/xoverlay.h:
Add optional "desired size" signal and querying.

20 years agoOops
Ronald S. Bultje [Sun, 4 Jan 2004 16:04:09 +0000 (16:04 +0000)]
Oops

Original commit message from CVS:
Oops

20 years agogst/matroska/matroska-demux.c: Fix EBML-laced block parsing. Diffs are relative to...
Ronald S. Bultje [Sun, 4 Jan 2004 15:23:03 +0000 (15:23 +0000)]
gst/matroska/matroska-demux.c: Fix EBML-laced block parsing. Diffs are relative to previous lace, not the first lace....

Original commit message from CVS:
2004-01-04  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* gst/matroska/matroska-demux.c:
Fix EBML-laced block parsing. Diffs are relative to previous
lace, not the first lace. Thanks to Mosu from the Matroska
team for detecting this.
(gst_matroska_demux_parse_blockgroup):
* gst/wavparse/gstwavparse.c: (gst_wavparse_init),
(gst_wavparse_parse_fmt), (gst_wavparse_getcaps),
(gst_wavparse_handle_sink_event), (gst_wavparse_loop),
(gst_wavparse_change_state):
* gst/wavparse/gstwavparse.h:
Quickfix for capsnego.

20 years agogst/wavenc/gstwavenc.c: Fix indenting, fix pad creation.
Ronald S. Bultje [Sun, 4 Jan 2004 12:14:37 +0000 (12:14 +0000)]
gst/wavenc/gstwavenc.c: Fix indenting, fix pad creation.

Original commit message from CVS:
2004-01-04  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* gst/wavenc/gstwavenc.c: (set_property), (gst_wavenc_init):
Fix indenting, fix pad creation.

20 years agoext/xvid/gstxviddec.c: Implement src_getcaps() so proper size caps is negotiated.
Ronald S. Bultje [Sun, 4 Jan 2004 09:55:16 +0000 (09:55 +0000)]
ext/xvid/gstxviddec.c: Implement src_getcaps() so proper size caps is negotiated.

Original commit message from CVS:
2004-01-04  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* ext/xvid/gstxviddec.c: (gst_xviddec_init),
(gst_xviddec_src_getcaps), (gst_xviddec_src_link),
(gst_xviddec_sink_link):
Implement src_getcaps() so proper size caps is negotiated.

20 years agoext/flac/gstflacdec.c: Finish flac decoder on EOS. See #116178.
Ronald S. Bultje [Sat, 3 Jan 2004 23:48:30 +0000 (23:48 +0000)]
ext/flac/gstflacdec.c: Finish flac decoder on EOS. See #116178.

Original commit message from CVS:
2004-01-04  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* ext/flac/gstflacdec.c: (gst_flacdec_loop):
Finish flac decoder on EOS. See #116178.

20 years agogst/matroska/: Add getcaps() function to fix capsnego...
Ronald S. Bultje [Sat, 3 Jan 2004 23:26:08 +0000 (23:26 +0000)]
gst/matroska/: Add getcaps() function to fix capsnego...

Original commit message from CVS:
2004-01-04  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* gst/matroska/matroska-demux.c: (gst_matroska_demux_src_getcaps),
(gst_matroska_demux_add_stream):
* gst/matroska/matroska-ids.h:
Add getcaps() function to fix capsnego...

20 years agogst/mpegstream/: Fix more integer overflows. Again, see #126967.
Ronald S. Bultje [Sat, 3 Jan 2004 23:07:19 +0000 (23:07 +0000)]
gst/mpegstream/: Fix more integer overflows. Again, see #126967.

Original commit message from CVS:
2004-01-04  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_parse_syshead),
(gst_mpeg_demux_parse_packet), (gst_mpeg_demux_parse_pes):
* gst/mpegstream/gstmpegparse.c: (gst_mpeg_parse_parse_packhead):
Fix more integer overflows. Again, see #126967.

20 years agoext/mpeg2dec/gstmpeg2dec.c: Add support for mpeg2dec-0.4.0 (released two weeks ago...
Ronald S. Bultje [Sat, 3 Jan 2004 22:17:15 +0000 (22:17 +0000)]
ext/mpeg2dec/gstmpeg2dec.c: Add support for mpeg2dec-0.4.0 (released two weeks ago). See #130416.

Original commit message from CVS:
2004-01-03  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* ext/mpeg2dec/gstmpeg2dec.c:
Add support for mpeg2dec-0.4.0 (released two weeks ago). See
#130416.

20 years agoUpdate xvid plugin to latest xvid (1.0.0-beta3) API.
Ronald S. Bultje [Sat, 3 Jan 2004 19:38:40 +0000 (19:38 +0000)]
Update xvid plugin to latest xvid (1.0.0-beta3) API.

Original commit message from CVS:
2004-01-03  Ronald Bultje  <rbultje@ronald.bitfreak.net>

reviewed by: <delete if not using a buddy>

* configure.ac:
* ext/xvid/gstxvid.c: (gst_xvid_init), (gst_xvid_error),
(gst_xvid_structure_to_csp), (gst_xvid_csp_to_caps):
* ext/xvid/gstxvid.h:
* ext/xvid/gstxviddec.c: (gst_xviddec_class_init),
(gst_xviddec_init), (gst_xviddec_setup), (gst_xviddec_chain),
(gst_xviddec_src_link), (gst_xviddec_sink_link),
(gst_xviddec_change_state):
* ext/xvid/gstxviddec.h:
* ext/xvid/gstxvidenc.c: (gst_xvidenc_profile_get_type),
(gst_xvidenc_base_init), (gst_xvidenc_class_init),
(gst_xvidenc_init), (gst_xvidenc_setup), (gst_xvidenc_chain),
(gst_xvidenc_link), (gst_xvidenc_set_property),
(gst_xvidenc_get_property), (gst_xvidenc_change_state):
* ext/xvid/gstxvidenc.h:
Update xvid plugin to latest xvid (1.0.0-beta3) API.

20 years agogst/rtp/rtp-packet.c: Add sys/types.h include, since OS X doesn't define in_addr_t...
Ronald S. Bultje [Sat, 3 Jan 2004 13:20:57 +0000 (13:20 +0000)]
gst/rtp/rtp-packet.c: Add sys/types.h include, since OS X doesn't define in_addr_t in netinet/in.h, like it does on L...

Original commit message from CVS:
2004-01-03  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* gst/rtp/rtp-packet.c:
Add sys/types.h include, since OS X doesn't define in_addr_t
in netinet/in.h, like it does on Linux (see #129600).

20 years agoOops, failed to add this file during previous OS X stuff commit
Ronald S. Bultje [Sat, 3 Jan 2004 13:14:20 +0000 (13:14 +0000)]
Oops, failed to add this file during previous OS X stuff commit

Original commit message from CVS:
Oops, failed to add this file during previous OS X stuff commit

20 years agoext/alsa/gstalsamixer.c: Correct logic of dispose function (see #129306).
Ronald S. Bultje [Sat, 3 Jan 2004 13:09:21 +0000 (13:09 +0000)]
ext/alsa/gstalsamixer.c: Correct logic of dispose function (see #129306).

Original commit message from CVS:
2004-01-03  Thomas Canty <tommydal@optushome.com.au>

reviewed by: Ronald Bultje  <rbultje@ronald.bitfreak.net>

* ext/alsa/gstalsamixer.c: (gst_alsa_mixer_dispose):
Correct logic of dispose function (see #129306).

20 years agogst/mpegstream/: and also fix integer overflows at high PTS values (see #126967).
Ronald S. Bultje [Sat, 3 Jan 2004 13:06:10 +0000 (13:06 +0000)]
gst/mpegstream/: and also fix integer overflows at high PTS values (see #126967).

Original commit message from CVS:
2004-01-03  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_parse_pes):
* gst/mpegstream/gstmpegparse.c: (gst_mpeg_parse_class_init),
(gst_mpeg_parse_init):
* gst/mpegstream/gstmpegparse.h:
Remove clock (which was never provided, i.e. dead code), and
also fix integer overflows at high PTS values (see #126967).

20 years agoext/: OS X fixes (see #126628).
Ronald S. Bultje [Sat, 3 Jan 2004 12:53:44 +0000 (12:53 +0000)]
ext/: OS X fixes (see #126628).

Original commit message from CVS:
2004-01-03  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* ext/flac/gstflacdec.c:
* ext/libpng/gstpngenc.h:
* ext/mikmod/gstmikmod.h:
OS X fixes (see #126628).

20 years agoChange sink pad template caps to "video/quicktime"
David Schleef [Sat, 3 Jan 2004 11:18:56 +0000 (11:18 +0000)]
Change sink pad template caps to "video/quicktime"

Original commit message from CVS:
Change sink pad template caps to "video/quicktime"