Commit graph

102 commits

Author SHA1 Message Date
David I. Lehn
78de55cc01 examples/switch/.cvsignore: Ignore generated file.
Original commit message from CVS:
* examples/switch/.cvsignore:
Ignore generated file.
2004-02-03 08:50:41 +00:00
David Schleef
e4be2582bc code cleanup. Change bzero() to memset(). Remove duplicate ; at ends of lines.
Original commit message from CVS:
code cleanup.  Change bzero() to memset().  Remove duplicate ; at ends
of lines.
* ext/cdparanoia/gstcdparanoia.c: (cdparanoia_event):
* ext/flac/gstflactag.c: (gst_flac_tag_chain):
* ext/xvid/gstxviddec.c: (gst_xviddec_src_link):
* gst-libs/gst/play/play.c: (gst_play_get_sink_element):
* gst/ac3parse/gstac3parse.c: (gst_ac3parse_chain):
* gst/effectv/gstedge.c: (gst_edgetv_sinkconnect):
* gst/effectv/gstvertigo.c: (gst_vertigotv_sinkconnect):
* gst/intfloat/float22int.c: (gst_float2_2_int_getcaps),
(gst_float2_2_int_link):
* gst/mpeg2sub/gstmpeg2subt.c: (gst_mpeg2subt_chain_subtitle):
* gst/rtjpeg/RTjpeg.c: (RTjpeg_init_mcompress):
* gst/tcp/gsttcpsink.c: (gst_tcpsink_init_send):
* gst/tcp/gsttcpsrc.c: (gst_tcpsrc_init_receive):
* gst/udp/gstudpsink.c: (gst_udpsink_init_send):
* gst/udp/gstudpsrc.c: (gst_udpsrc_init_receive):
* sys/v4l/gstv4lelement.c: (gst_v4lelement_init):
* sys/v4l2/v4l2src_calls.c: (gst_v4l2src_set_capture):
* testsuite/gst-lint: Add tests for bzero and ;;
2004-02-02 20:09:09 +00:00
Thomas Vander Stichele
e2469ac793 add error handling
Original commit message from CVS:
add error handling
2004-01-31 15:56:32 +00:00
David I. Lehn
70f6d8e0d4 examples/gstplay/player.c: s/gstplay.h/play.h/
Original commit message from CVS:
* examples/gstplay/player.c: s/gstplay.h/play.h/
2004-01-31 00:29:21 +00:00
Benjamin Otte
f0e41ec9ce add cvsignore file
Original commit message from CVS:
add cvsignore file
2004-01-25 16:12:14 +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
Benjamin Otte
3a64b7c99f 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
2004-01-14 00:53:52 +00:00
David Schleef
926ce51a28 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
2004-01-12 04:15:47 +00:00
Julien Moutte
36c13b82d8 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.
2004-01-11 17:32:37 +00:00
David Schleef
899b633288 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().
2004-01-09 01:53:31 +00:00
Julien Moutte
2a35e3393f 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
Julien Moutte
07b37e4c6d 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.
2004-01-07 15:33:42 +00:00
David Schleef
3b60021408 Merge CAPS branch
Original commit message from CVS:
Merge CAPS branch
2003-12-22 01:47:09 +00:00
Julien Moutte
6bb536ed65 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
99b2583820 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
Thomas Vander Stichele
124bfb7e3c superfluous space segregation
Original commit message from CVS:
superfluous space segregation
2003-12-19 14:39:03 +00:00
Julien Moutte
7be95c9499 Adding tag dumping support.
Original commit message from CVS:
Adding tag dumping support.
2003-12-16 14:56:06 +00:00
Thomas Vander Stichele
635c536180 build fix
Original commit message from CVS:
build fix
2003-12-14 18:07:35 +00:00
Julien Moutte
d271afc055 Fixing makefile. Smarter seek
Original commit message from CVS:
Fixing makefile. Smarter seek
2003-12-14 17:31:07 +00:00
Julien Moutte
6a6d62458d Adding a test app for libgstplay. It is a command line player.
Original commit message from CVS:
Adding a test app for libgstplay. It is a command line player.
2003-12-14 16:59:09 +00:00
Benjamin Otte
65f0bd8f69 fix for autoplug removal
Original commit message from CVS:
fix for autoplug removal
2003-12-13 21:12:17 +00:00
David Schleef
bbeb3eeca2 change _connect to _link
Original commit message from CVS:
change _connect to _link
2003-12-02 02:21:09 +00:00
Benjamin Otte
788acc4917 tagging stuff and build fixes. In detail:
Original commit message from CVS:
tagging stuff and build fixes. In detail:
- make gdk-pixbuf loader work when distchecking
- fix invalid syntax in ffmpeg Makefile. wildcards for EXTRA_DIST are not allowed. This broke builds where distdir != srcdir
- fix ffmpeg cvs grabbing when srcdir != distdir
- new id3tag plugin for id3 tag reading/writing (uses mad's libid3tag)
- mad and libid3tag require mad/libid3tag v0.15. Fixed configure to require that
- added ogg demuxer in ext/ogg. The demuxer does not handle events yet. Especially getting seeking right will require some effort or code copying from libvorbis.
- added raw vorbis detection to typefinding. oggdemux requires a typefind function to detect its contents.
- tags plugin in gst/tags. Provides API in <gst/tags/gsttagediting.h>. API includes tag matching GStreamer <=> ID3 and GStreamer <=> vorbis and writing/reading vorbiscomments or ID3v1 tags. Also included is a simple vorbiscomment reader/writer. Writing will not really work though until someone writes oggmux.
- various build fixes. Mostly missing (DIST)CLEANFILES.
- vorbisenc handles tag writing.

Now it's YOUR turn to fix and write more plugins that handle writing/reading of tags. :)
2003-11-24 04:08:48 +00:00
David Schleef
04d02e08b6 check g_signal_new() calls
Original commit message from CVS:
check g_signal_new() calls
2003-11-22 04:08:11 +00:00
David Schleef
728398ef22 Add check for (GstXxxx *) casts
Original commit message from CVS:
Add check for (GstXxxx *) casts
2003-11-11 18:53:12 +00:00
David Schleef
8ee5b40c0c er, that's g_type_class_ref()
Original commit message from CVS:
er, that's g_type_class_ref()
2003-11-11 00:44:20 +00:00
Ronald S. Bultje
3f9d4cbd08 Remove all config.h includes from header files, add it to each source file and remove duplicate config.h includes fro...
Original commit message from CVS:
Remove all config.h includes from header files, add it to each source file and remove duplicate config.h includes from several source files
2003-11-07 12:47:02 +00:00
David Schleef
da9273564d new checks
Original commit message from CVS:
new checks
2003-11-06 23:42:16 +00:00
David Schleef
d8c63eaf97 check for old typefinding code
Original commit message from CVS:
check for old typefinding code
2003-10-29 05:10:53 +00:00
David Schleef
7c57e02dcd compilation fixes
Original commit message from CVS:
compilation fixes
2003-10-13 23:29:42 +00:00
David Schleef
ec41842698 better check for printf
Original commit message from CVS:
better check for printf
2003-10-13 23:27:32 +00:00
Andy Wingo
dc35dbb595 /GstBuffer/GstData/ in the API where you can pass events. Fix the plugins to deal with that. Fixes #113488.
Original commit message from CVS:
/GstBuffer/GstData/ in the API where you can pass events. Fix the plugins to deal with that. Fixes #113488.
2003-10-08 16:08:22 +00:00
David Schleef
0228717f04 Remove redundant plugindir definition
Original commit message from CVS:
Remove redundant plugindir definition
2003-08-10 00:01:58 +00:00
David Schleef
29b1807eff Check Makefile.am's. Add a few more checks.
Original commit message from CVS:
Check Makefile.am's.  Add a few more checks.
2003-08-09 23:41:59 +00:00
David Schleef
190850342b fix installing into wrong dir
Original commit message from CVS:
fix installing into wrong dir
2003-07-29 00:01:30 +00:00
David Schleef
1b37091fbc fix initialization
Original commit message from CVS:
fix initialization
2003-07-26 04:23:32 +00:00
David Schleef
06956522a7 Nothing in this directory actually uses Freetype
Original commit message from CVS:
Nothing in this directory actually uses Freetype
2003-07-26 04:15:39 +00:00
David Schleef
c6386865ee Compilation fixes for 64-bit architectures
Original commit message from CVS:
Compilation fixes for 64-bit architectures
2003-07-25 21:31:58 +00:00
Leif Johnson
abe6f76b9f + the last of the float caps changes ... these are a bit more pervasive
Original commit message from CVS:
+ the last of the float caps changes ... these are a bit more pervasive
2003-07-19 23:47:42 +00:00
David Schleef
85791b987c Check for abuse of config.h
Original commit message from CVS:
Check for abuse of config.h
2003-07-17 04:30:09 +00:00
David Schleef
5d91be3043 de-linting tool for GStreamer source
Original commit message from CVS:
de-linting tool for GStreamer source
2003-07-15 03:29:56 +00:00
Wim Taymans
cbc3d8eca8 removed UNITS
Original commit message from CVS:
removed UNITS
2003-05-24 10:31:38 +00:00
David Schleef
695c3d18d9 Fix compilation errors
Original commit message from CVS:
Fix compilation errors
2003-04-16 07:23:02 +00:00
Benjamin Otte
28530ecdbe additions:
Original commit message from CVS:
additions:
- bugfixes
- 24bit format tests
- a new state change test
2003-03-24 03:40:21 +00:00
Benjamin Otte
02872d827d fix compile error
Original commit message from CVS:
fix compile error
2003-03-24 02:58:13 +00:00
Benjamin Otte
3d5a82364e make formats test go faster and add .cvsignore
Original commit message from CVS:
make formats test go faster and add .cvsignore
2003-03-10 21:44:08 +00:00
Benjamin Otte
91e18767bc started tests for alsa. Doesn't work yet due to scheduler bugs, but I commit it anyway so everyone has it in Norway ;)
Original commit message from CVS:
started tests for alsa. Doesn't work yet due to scheduler bugs, but I commit it anyway so everyone has it in Norway ;)
2003-03-03 23:15:21 +00:00
Wim Taymans
3b184849b1 - Cleanups
Original commit message from CVS:
- Cleanups
- remove old tracing API calls
2003-02-02 19:25:58 +00:00
Wim Taymans
bed0532cc5 Indexing patch from vishnu
Original commit message from CVS:
Indexing patch from vishnu
2003-01-20 19:36:46 +00:00
Thomas Vander Stichele
2f97061260 paranoid
Original commit message from CVS:
paranoid
2003-01-18 18:17:52 +00:00