platform/upstream/gstreamer.git
13 years agoext/jack/gstjackaudioclient.c: Don't need to take the connection lock, it will not...
Paul Davis [Sun, 18 Mar 2007 17:57:48 +0000 (17:57 +0000)]
ext/jack/gstjackaudioclient.c: Don't need to take the connection lock, it will not be used and could cause deadlocks.

Original commit message from CVS:
Based on patch by: Paul Davis <paul at linuxaudiosystems dot com>
* ext/jack/gstjackaudioclient.c: (gst_jack_audio_unref_connection):
Don't need to take the connection lock, it will not be used and could
cause deadlocks.

13 years agoext/jack/: Make an object to manage client connections to the jack server which we...
Paul Davis [Thu, 8 Mar 2007 15:24:52 +0000 (15:24 +0000)]
ext/jack/: Make an object to manage client connections to the jack server which we will use in the future to run sele...

Original commit message from CVS:
Includes patch by: Paul Davis <paul at linuxaudiosystems dot com>
* ext/jack/Makefile.am:
* ext/jack/gstjackaudioclient.c: (gst_jack_audio_client_init),
(jack_process_cb), (jack_sample_rate_cb), (jack_buffer_size_cb),
(jack_shutdown_cb), (connection_find),
(gst_jack_audio_make_connection), (gst_jack_audio_get_connection),
(gst_jack_audio_unref_connection),
(gst_jack_audio_connection_add_client),
(gst_jack_audio_connection_remove_client),
(gst_jack_audio_client_new), (gst_jack_audio_client_free),
(gst_jack_audio_client_get_client),
(gst_jack_audio_client_set_active):
* ext/jack/gstjackaudioclient.h:
Make an object to manage client connections to the jack server which we
will use in the future to run selected jack elements with the same jack
connection.
Make some stuff a bit more threadsafe.
Activate the jack client ASAP.
* ext/jack/gstjackaudiosink.c:
(gst_jack_audio_sink_allocate_channels),
(gst_jack_audio_sink_free_channels), (jack_process_cb),
(gst_jack_ring_buffer_open_device),
(gst_jack_ring_buffer_close_device),
(gst_jack_ring_buffer_acquire), (gst_jack_ring_buffer_release),
(gst_jack_audio_sink_class_init), (gst_jack_audio_sink_init),
(gst_jack_audio_sink_getcaps):
* ext/jack/gstjackaudiosink.h:
Use new client object to manage connections.
Don't remove and recreate all ports, try to reuse them.

13 years agoext/jack/gstjackaudiosink.*: Improve docs.
Wim Taymans [Fri, 12 Jan 2007 10:25:40 +0000 (10:25 +0000)]
ext/jack/gstjackaudiosink.*: Improve docs.

Original commit message from CVS:
* ext/jack/gstjackaudiosink.c: (jack_sample_rate_cb),
(jack_buffer_size_cb), (jack_shutdown_cb),
(gst_jack_ring_buffer_acquire):
* ext/jack/gstjackaudiosink.h:
Improve docs.

13 years agoext/jack/.cvsignore: Ignore old files as requested by the build slave.
Jan Schmidt [Wed, 6 Dec 2006 16:57:17 +0000 (16:57 +0000)]
ext/jack/.cvsignore: Ignore old files as requested by the build slave.

Original commit message from CVS:
* ext/jack/.cvsignore:
Ignore old files as requested by the build slave.

13 years agoext/Makefile.am: Fix build.
Wim Taymans [Thu, 30 Nov 2006 11:59:04 +0000 (11:59 +0000)]
ext/Makefile.am: Fix build.

Original commit message from CVS:
* ext/Makefile.am:
Fix build.
* ext/jack/gstjackaudiosink.c: (jack_process_cb),
(jack_sample_rate_cb), (jack_buffer_size_cb), (jack_shutdown_cb),
(gst_jack_ring_buffer_acquire):
Small cleanups.

13 years agoAdded fully functional jackaudiosink.
Wim Taymans [Thu, 30 Nov 2006 11:49:36 +0000 (11:49 +0000)]
Added fully functional jackaudiosink.

Original commit message from CVS:
* configure.ac:
* ext/Makefile.am:
* ext/jack/Makefile.am:
* ext/jack/gstjack.c: (plugin_init):
* ext/jack/gstjack.h:
* ext/jack/gstjackaudiosink.c: (gst_jack_ring_buffer_get_type),
(gst_jack_ring_buffer_class_init), (jack_process_cb),
(jack_sample_rate_cb), (jack_buffer_size_cb), (jack_shutdown_cb),
(gst_jack_ring_buffer_init), (gst_jack_ring_buffer_dispose),
(gst_jack_ring_buffer_finalize),
(gst_jack_ring_buffer_open_device),
(gst_jack_ring_buffer_close_device),
(gst_jack_ring_buffer_acquire), (gst_jack_ring_buffer_release),
(gst_jack_ring_buffer_start), (gst_jack_ring_buffer_pause),
(gst_jack_ring_buffer_stop), (gst_jack_ring_buffer_delay),
(gst_jack_connect_get_type), (gst_jack_audio_sink_base_init),
(gst_jack_audio_sink_class_init), (gst_jack_audio_sink_init),
(gst_jack_audio_sink_set_property),
(gst_jack_audio_sink_get_property), (gst_jack_audio_sink_getcaps),
(gst_jack_audio_sink_create_ringbuffer):
* ext/jack/gstjackaudiosink.h:
Added fully functional jackaudiosink.

13 years agoFix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
Stefan Kost [Sat, 8 Apr 2006 21:48:01 +0000 (21:48 +0000)]
Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)

Original commit message from CVS:
* ext/amrwb/gstamrwbdec.c: (gst_amrwbdec_class_init):
* ext/amrwb/gstamrwbenc.c: (gst_amrwbenc_class_init):
* ext/amrwb/gstamrwbparse.c: (gst_amrwbparse_class_init):
* ext/arts/gst_arts.c: (gst_arts_class_init):
* ext/artsd/gstartsdsink.c: (gst_artsdsink_class_init):
* ext/audiofile/gstafsink.c: (gst_afsink_class_init):
* ext/audiofile/gstafsrc.c: (gst_afsrc_class_init):
* ext/audioresample/gstaudioresample.c:
* ext/cdaudio/gstcdaudio.c: (gst_cdaudio_class_init):
* ext/directfb/dfbvideosink.c: (gst_dfbvideosink_class_init):
* ext/divx/gstdivxdec.c: (gst_divxdec_class_init):
* ext/hermes/gsthermescolorspace.c:
(gst_hermes_colorspace_class_init):
* ext/ivorbis/vorbisfile.c: (gst_ivorbisfile_class_init):
* ext/jack/gstjack.c: (gst_jack_class_init):
* ext/jack/gstjackbin.c: (gst_jack_bin_class_init):
* ext/lcs/gstcolorspace.c: (gst_colorspace_class_init):
* ext/libfame/gstlibfame.c: (gst_fameenc_class_init):
* ext/musicbrainz/gsttrm.c: (gst_musicbrainz_class_init):
* ext/nas/nassink.c: (gst_nassink_class_init):
* ext/shout/gstshout.c: (gst_icecastsend_class_init):
* ext/snapshot/gstsnapshot.c: (gst_snapshot_class_init):
* ext/sndfile/gstsf.c: (gst_sf_class_init):
* ext/swfdec/gstswfdec.c: (gst_swfdecbuffer_class_init),
(gst_swfdec_class_init):
* ext/tarkin/gsttarkindec.c: (gst_tarkindec_class_init):
* ext/tarkin/gsttarkinenc.c: (gst_tarkinenc_class_init):
* gst/cdxaparse/gstcdxastrip.c: (gst_cdxastrip_class_init):
* gst/chart/gstchart.c: (gst_chart_class_init):
* gst/colorspace/gstcolorspace.c: (gst_colorspace_class_init):
* gst/deinterlace/gstdeinterlace.c: (gst_deinterlace_class_init):
* gst/festival/gstfestival.c: (gst_festival_class_init):
* gst/filter/gstbpwsinc.c: (gst_bpwsinc_class_init):
* gst/filter/gstiir.c: (gst_iir_class_init):
* gst/filter/gstlpwsinc.c: (gst_lpwsinc_class_init):
* gst/librfb/gstrfbsrc.c: (gst_rfbsrc_class_init):
* gst/mixmatrix/mixmatrix.c: (gst_mixmatrix_class_init):
* gst/mpeg1sys/gstmpeg1systemencode.c:
(gst_system_encode_class_init):
* gst/mpeg1videoparse/gstmp1videoparse.c:
(gst_mp1videoparse_class_init):
* gst/mpeg2sub/gstmpeg2subt.c: (gst_mpeg2subt_class_init):
* gst/mpegaudioparse/gstmpegaudioparse.c:
(gst_mp3parse_class_init):
* gst/overlay/gstoverlay.c: (gst_overlay_class_init):
* gst/passthrough/gstpassthrough.c: (passthrough_class_init):
* gst/playondemand/gstplayondemand.c: (play_on_demand_class_init):
* gst/rtjpeg/gstrtjpegdec.c: (gst_rtjpegdec_class_init):
* gst/rtjpeg/gstrtjpegenc.c: (gst_rtjpegenc_class_init):
* gst/smooth/gstsmooth.c: (gst_smooth_class_init):
* gst/smoothwave/gstsmoothwave.c: (gst_smoothwave_class_init):
* gst/spectrum/gstspectrum.c: (gst_spectrum_class_init):
* gst/stereo/gststereo.c: (gst_stereo_class_init):
* gst/switch/gstswitch.c: (gst_switch_class_init):
* gst/tta/gstttadec.c: (gst_tta_dec_class_init):
* gst/tta/gstttaparse.c: (gst_tta_parse_class_init):
* gst/vbidec/gstvbidec.c: (gst_vbidec_class_init):
* gst/videocrop/gstvideocrop.c: (gst_video_crop_class_init):
* gst/virtualdub/gstxsharpen.c: (gst_xsharpen_class_init):
* gst/y4m/gsty4mencode.c: (gst_y4mencode_class_init):
* sys/cdrom/gstcdplayer.c: (cdplayer_class_init):
* sys/directsound/gstdirectsoundsink.c:
(gst_directsoundsink_class_init):
* sys/dxr3/dxr3audiosink.c: (dxr3audiosink_class_init):
* sys/dxr3/dxr3spusink.c: (dxr3spusink_class_init):
* sys/dxr3/dxr3videosink.c: (dxr3videosink_class_init):
* sys/qcam/gstqcamsrc.c: (gst_qcamsrc_class_init):
* sys/v4l2/gstv4l2colorbalance.c:
(gst_v4l2_color_balance_channel_class_init):
* sys/v4l2/gstv4l2tuner.c: (gst_v4l2_tuner_channel_class_init),
(gst_v4l2_tuner_norm_class_init):
* sys/ximagesrc/ximagesrc.c: (gst_ximagesrc_class_init):
Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)

13 years agorework build; add translations for v4l2
Thomas Vander Stichele [Sat, 1 Apr 2006 10:09:11 +0000 (10:09 +0000)]
rework build; add translations for v4l2

Original commit message from CVS:
rework build; add translations for v4l2

13 years agorenamed GST_FLAGS macros to GST_OBJECT_FLAGS moved bitshift from macro to enum definition
Stefan Kost [Wed, 12 Oct 2005 14:29:55 +0000 (14:29 +0000)]
renamed GST_FLAGS macros to GST_OBJECT_FLAGS moved bitshift from macro to enum definition

Original commit message from CVS:
* examples/indexing/indexmpeg.c: (main):
* ext/artsd/gstartsdsink.c: (gst_artsdsink_open_audio),
(gst_artsdsink_close_audio), (gst_artsdsink_change_state):
* ext/artsd/gstartsdsink.h:
* ext/audiofile/gstafparse.c: (gst_afparse_open_file),
(gst_afparse_close_file):
* ext/audiofile/gstafparse.h:
* ext/audiofile/gstafsink.c: (gst_afsink_open_file),
(gst_afsink_close_file), (gst_afsink_chain),
(gst_afsink_change_state):
* ext/audiofile/gstafsink.h:
* ext/audiofile/gstafsrc.c: (gst_afsrc_open_file),
(gst_afsrc_close_file), (gst_afsrc_change_state):
* ext/audiofile/gstafsrc.h:
* ext/cdaudio/gstcdaudio.c: (gst_cdaudio_init):
* ext/directfb/directfbvideosink.c: (gst_directfbvideosink_init):
* ext/dts/gstdtsdec.c: (gst_dtsdec_init):
* ext/jack/gstjack.h:
* ext/jack/gstjackbin.c: (gst_jack_bin_init),
(gst_jack_bin_change_state):
* ext/musepack/gstmusepackdec.c: (gst_musepackdec_init):
* ext/musicbrainz/gsttrm.c: (gst_musicbrainz_init):
* ext/nas/nassink.c: (gst_nassink_open_audio),
(gst_nassink_close_audio), (gst_nassink_change_state):
* ext/nas/nassink.h:
* ext/polyp/polypsink.c: (gst_polypsink_init):
* ext/sdl/sdlvideosink.c: (gst_sdlvideosink_change_state):
* ext/sdl/sdlvideosink.h:
* ext/smoothwave/gstsmoothwave.c: (gst_smoothwave_init):
* ext/sndfile/gstsf.c: (gst_sf_set_property),
(gst_sf_change_state), (gst_sf_release_request_pad),
(gst_sf_open_file), (gst_sf_close_file), (gst_sf_loop):
* ext/sndfile/gstsf.h:
* ext/swfdec/gstswfdec.c: (gst_swfdec_init):
* ext/tarkin/gsttarkindec.c: (gst_tarkindec_init):
* gst/apetag/apedemux.c: (gst_ape_demux_init):
* gst/cdxaparse/gstcdxaparse.c: (gst_cdxaparse_init):
* gst/cdxaparse/gstcdxastrip.c: (gst_cdxastrip_init):
* gst/festival/gstfestival.c: (gst_festival_change_state):
* gst/festival/gstfestival.h:
* gst/mpeg2sub/gstmpeg2subt.c: (gst_mpeg2subt_init):
* gst/multifilesink/gstmultifilesink.c: (gst_multifilesink_init),
(gst_multifilesink_set_location), (gst_multifilesink_open_file),
(gst_multifilesink_close_file), (gst_multifilesink_next_file),
(gst_multifilesink_pad_query), (gst_multifilesink_handle_event),
(gst_multifilesink_chain), (gst_multifilesink_change_state):
* gst/multifilesink/gstmultifilesink.h:
* gst/videodrop/gstvideodrop.c: (gst_videodrop_init):
* sys/cdrom/gstcdplayer.c: (cdplayer_init):
* sys/dxr3/dxr3audiosink.c: (dxr3audiosink_init),
(dxr3audiosink_open), (dxr3audiosink_close),
(dxr3audiosink_chain_pcm), (dxr3audiosink_chain_ac3),
(dxr3audiosink_change_state):
* sys/dxr3/dxr3audiosink.h:
* sys/dxr3/dxr3spusink.c: (dxr3spusink_init), (dxr3spusink_open),
(dxr3spusink_close), (dxr3spusink_chain),
(dxr3spusink_change_state):
* sys/dxr3/dxr3spusink.h:
* sys/dxr3/dxr3videosink.c: (dxr3videosink_init),
(dxr3videosink_open), (dxr3videosink_close),
(dxr3videosink_write_data), (dxr3videosink_change_state):
* sys/dxr3/dxr3videosink.h:
* sys/glsink/glimagesink.c: (gst_glimagesink_init):
* sys/qcam/gstqcamsrc.c: (gst_qcamsrc_change_state),
(gst_qcamsrc_open), (gst_qcamsrc_close):
* sys/qcam/gstqcamsrc.h:
* sys/v4l2/gstv4l2src.c: (gst_v4l2src_init):
* sys/vcd/vcdsrc.c: (gst_vcdsrc_set_property), (gst_vcdsrc_get),
(gst_vcdsrc_open_file), (gst_vcdsrc_close_file),
(gst_vcdsrc_change_state), (gst_vcdsrc_recalculate):
* sys/vcd/vcdsrc.h:
renamed GST_FLAGS macros to GST_OBJECT_FLAGS
moved bitshift from macro to enum definition

13 years agoFix up all the state change functions.
Jan Schmidt [Mon, 5 Sep 2005 17:20:29 +0000 (17:20 +0000)]
Fix up all the state change functions.

Original commit message from CVS:
Fix up all the state change functions.

13 years agofixes for G_DISABLE_ASSERT and friends
Benjamin Otte [Tue, 3 Aug 2004 14:28:12 +0000 (14:28 +0000)]
fixes for G_DISABLE_ASSERT and friends

Original commit message from CVS:
* examples/dynparams/filter.c: (ui_control_create):
* examples/gstplay/player.c: (print_tag):
* ext/alsa/gstalsa.c: (gst_alsa_request_new_pad):
* ext/gdk_pixbuf/gstgdkanimation.c:
(gst_gdk_animation_iter_may_advance):
* ext/jack/gstjack.c: (gst_jack_request_new_pad):
* ext/mad/gstid3tag.c: (gst_mad_id3_to_tag_list),
(tag_list_to_id3_tag_foreach), (gst_id3_tag_handle_event):
* ext/vorbis/oggvorbisenc.c: (gst_oggvorbisenc_get_tag_value):
* ext/vorbis/vorbisenc.c: (gst_vorbisenc_get_tag_value):
* ext/xine/xineaudiodec.c: (gst_xine_audio_dec_chain):
* gst-libs/gst/media-info/media-info-test.c: (print_tag):
* gst/sine/demo-dparams.c: (main):
* gst/tags/gstvorbistag.c: (gst_tag_to_vorbis_comments):
* testsuite/alsa/formats.c: (create_pipeline):
* testsuite/alsa/sinesrc.c: (sinesrc_force_caps), (sinesrc_get):
fixes for G_DISABLE_ASSERT and friends
* gst/typefind/gsttypefindfunctions.c: (aac_type_find),
(mp3_type_frame_length_from_header), (mp3_type_find),
(plugin_init):
require mp3 typefinding to have at least MIN_HEADERS valid headers
add typefinding for AAC adts files

13 years agosecond batch : remove ',' at end of enums as they could confuse older gcc, foreign...
Stéphane Loeuillet [Fri, 21 May 2004 23:28:57 +0000 (23:28 +0000)]
second batch : remove ',' at end of enums as they could confuse older gcc, foreign compilers (forte) and gtk-doc (in ...

Original commit message from CVS:
second batch :
remove ',' at end of enums as they could confuse older gcc, foreign compilers (forte) and gtk-doc
(in gst-plugins/ext/ this time)

13 years agodon't mix tabs and spaces
Thomas Vander Stichele [Mon, 15 Mar 2004 19:32:27 +0000 (19:32 +0000)]
don't mix tabs and spaces

Original commit message from CVS:
don't mix tabs and spaces

13 years ago*.h: Revert indenting
Johan Dahlin [Mon, 15 Mar 2004 16:32:54 +0000 (16:32 +0000)]
*.h: Revert indenting

Original commit message from CVS:
* *.h: Revert indenting

13 years agogst-indent
Thomas Vander Stichele [Sun, 14 Mar 2004 22:34:33 +0000 (22:34 +0000)]
gst-indent

Original commit message from CVS:
gst-indent

13 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().

13 years agoMerge CAPS branch
David Schleef [Mon, 22 Dec 2003 01:47:09 +0000 (01:47 +0000)]
Merge CAPS branch

Original commit message from CVS:
Merge CAPS branch

13 years agoremoved GST_*_CAST. Disabling of type checking is done in glib.
Benjamin Otte [Sat, 13 Dec 2003 16:59:51 +0000 (16:59 +0000)]
removed GST_*_CAST. Disabling of type checking is done in glib.

Original commit message from CVS:
removed GST_*_CAST. Disabling of type checking is done in glib.

13 years agoremove copyright field from plugins
Andy Wingo [Thu, 4 Dec 2003 10:37:38 +0000 (10:37 +0000)]
remove copyright field from plugins

Original commit message from CVS:
remove copyright field from plugins

13 years agoRemove all config.h includes from header files, add it to each source file and remove...
Ronald S. Bultje [Fri, 7 Nov 2003 12:47:02 +0000 (12:47 +0000)]
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

13 years agoJack fixed too
Iain Holmes [Sat, 1 Nov 2003 23:43:13 +0000 (23:43 +0000)]
Jack fixed too

Original commit message from CVS:
Jack fixed too

13 years agochange gst/bytestream.h to gst/bytestream/bytestream.h
David Schleef [Wed, 29 Oct 2003 03:15:55 +0000 (03:15 +0000)]
change gst/bytestream.h to gst/bytestream/bytestream.h

Original commit message from CVS:
change gst/bytestream.h to gst/bytestream/bytestream.h

13 years agomerge TYPEFIND branch. Major changes:
Benjamin Otte [Tue, 28 Oct 2003 20:52:41 +0000 (20:52 +0000)]
merge TYPEFIND branch. Major changes:

Original commit message from CVS:
merge TYPEFIND branch. Major changes:
- totally reworked type(find) system
- all typefind functions are in gst/typefind now
- more typefind functions then before
- some plugins might fail to compile now because I don't have them installed and they
a) require bytestream or
b) haven't had their typefind fixed.
Please fix those plugins and put the typefind functions into gst/typefind if they don't have dependencies

13 years ago/GstBuffer/GstData/ in the API where you can pass events. Fix the plugins to deal...
Andy Wingo [Wed, 8 Oct 2003 16:08:19 +0000 (16:08 +0000)]
/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.

13 years agoNew typefind system: bytestream is now part of the core all plugins have been modifie...
Ronald S. Bultje [Wed, 1 Oct 2003 13:14:50 +0000 (13:14 +0000)]
New typefind system: bytestream is now part of the core all plugins have been modified to use this new typefind syste...

Original commit message from CVS:
New typefind system:
* bytestream is now part of the core
* all plugins have been modified to use this new typefind system
* asf typefinding added
* mpeg video stream typefiding removed because it's broken
* duplicate typefind entries removed
* extra id3 typefinding added, because we've seen 4 types of files
(riff/wav, flac, vorbis, mp3) with id3 headers and each of these needs
to work. Instead, I've added an id3 element and let it redo typefiding
after the id3 header. this needs a hack because spider only typefinds
once. We can remove this hack once spider supports multiple typefinds.
* with all this, mp3 typefinding is semi-rewritten
* id3 typefinding in flac/vorbis is removed, it's no longer needed
* fixed spider and gst-typefind to use this, too.
* Other general cleanups

13 years agoconform to the buffer-frames props entry -- much nicer now...
Andy Wingo [Tue, 30 Sep 2003 12:56:27 +0000 (12:56 +0000)]
conform to the buffer-frames props entry -- much nicer now...

Original commit message from CVS:
conform to the buffer-frames props entry -- much nicer now...

13 years agoRemove redundant plugindir definition
David Schleef [Sun, 10 Aug 2003 00:01:58 +0000 (00:01 +0000)]
Remove redundant plugindir definition

Original commit message from CVS:
Remove redundant plugindir definition

13 years ago+ changes for new float caps without slope/intercept + some category changes for...
Leif Johnson [Sat, 19 Jul 2003 23:25:25 +0000 (23:25 +0000)]
+ changes for new float caps without slope/intercept + some category changes for plugins

Original commit message from CVS:
+ changes for new float caps without slope/intercept
+ some category changes for plugins

13 years agoNew mimetypes gone into effect today - this commit changes all old mimetypes over...
Ronald S. Bultje [Sun, 6 Jul 2003 20:49:52 +0000 (20:49 +0000)]
New mimetypes gone into effect today - this commit changes all old mimetypes over to the new mimetypes spec as descri...

Original commit message from CVS:
New mimetypes gone into effect today - this commit changes all old mimetypes over to the new mimetypes spec as described in the previous commit's document. Note: some plugins will break, some pipelines will break, expect HEAD to be broken or at least not 100% working for a few days, but don't forget to report bugs

13 years agofix type punning
David Schleef [Tue, 1 Jul 2003 02:27:06 +0000 (02:27 +0000)]
fix type punning

Original commit message from CVS:
fix type punning

13 years agocompatibility fix for new GST_DEBUG stuff.
Benjamin Otte [Sun, 29 Jun 2003 19:46:13 +0000 (19:46 +0000)]
compatibility fix for new GST_DEBUG stuff.

Original commit message from CVS:
compatibility fix for new GST_DEBUG stuff.
Includes fixes for missing includes for config.h and unistd.h

I only ensured for plugins I can build that they work, so if some of them are still broken, you gotta fix them yourselves unfortunately.

13 years agoRemoved ugly caps fixed flag hack, will be done automatically in core soon
Wim Taymans [Fri, 13 Jun 2003 21:21:17 +0000 (21:21 +0000)]
Removed ugly caps fixed flag hack, will be done automatically in core soon

Original commit message from CVS:
Removed ugly caps fixed flag hack, will be done automatically in
core soon

13 years agoupdate for the latest jack cvs and non-cothreaded gst scheduler
Andy Wingo [Tue, 4 Mar 2003 15:34:20 +0000 (15:34 +0000)]
update for the latest jack cvs and non-cothreaded gst scheduler

Original commit message from CVS:
update for the latest jack cvs and non-cothreaded gst scheduler

13 years agoChanged caps->fixed to use FLAG_SET
Jan Schmidt [Wed, 5 Feb 2003 20:38:41 +0000 (20:38 +0000)]
Changed caps->fixed to use FLAG_SET

Original commit message from CVS:
Changed caps->fixed to use FLAG_SET

13 years agoPadConnect -> PadLink
Thomas Vander Stichele [Fri, 10 Jan 2003 13:38:32 +0000 (13:38 +0000)]
PadConnect -> PadLink

Original commit message from CVS:
PadConnect -> PadLink

13 years agoanother batch of connect->link fixes please let me know about issues and please refra...
Thomas Vander Stichele [Fri, 10 Jan 2003 10:22:25 +0000 (10:22 +0000)]
another batch of connect->link fixes please let me know about issues and please refrain of making them yourself, so t...

Original commit message from CVS:
another batch of connect->link fixes
please let me know about issues
and please refrain of making them yourself, so that I don't spend double
the time resolving conflicts

13 years agoparallel install fixes
Thomas Vander Stichele [Sun, 8 Dec 2002 14:50:10 +0000 (14:50 +0000)]
parallel install fixes

Original commit message from CVS:
parallel install fixes

13 years agolicenses again
Andy Wingo [Sun, 29 Sep 2002 18:12:18 +0000 (18:12 +0000)]
licenses again

Original commit message from CVS:
licenses again

13 years agoplugins part of license field patch
Christian Schaller [Wed, 18 Sep 2002 19:02:52 +0000 (19:02 +0000)]
plugins part of license field patch

Original commit message from CVS:
plugins part of license field patch

13 years agoThis updates all plugins to the new API for gst_pad_try_set_caps
Ronald S. Bultje [Tue, 10 Sep 2002 09:31:40 +0000 (09:31 +0000)]
This updates all plugins to the new API for gst_pad_try_set_caps

Original commit message from CVS:
This updates all plugins to the new API for gst_pad_try_set_caps

13 years agoremoving warnings as approved by wim
Thomas Vander Stichele [Mon, 9 Sep 2002 23:27:38 +0000 (23:27 +0000)]
removing warnings as approved by wim

Original commit message from CVS:
removing warnings as approved by wim

13 years agofix jack input port connection
Andy Wingo [Fri, 23 Aug 2002 04:04:11 +0000 (04:04 +0000)]
fix jack input port connection

Original commit message from CVS:
fix jack input port connection

13 years agocompile fixen, and prepare to move MAINTAINER_MODE to as-version.m4
Andy Wingo [Tue, 9 Jul 2002 17:39:17 +0000 (17:39 +0000)]
compile fixen, and prepare to move MAINTAINER_MODE to as-version.m4

Original commit message from CVS:
compile fixen, and prepare to move MAINTAINER_MODE to as-version.m4

13 years agomake jack work in all its full duplex glory
Andy Wingo [Tue, 2 Jul 2002 23:35:07 +0000 (23:35 +0000)]
make jack work in all its full duplex glory

Original commit message from CVS:
make jack work in all its full duplex glory

13 years agoworking jack elements (fixed a problem in upstream jack) random other fixen...
Andy Wingo [Wed, 12 Jun 2002 03:32:02 +0000 (03:32 +0000)]
working jack elements (fixed a problem in upstream jack) random other fixen...

Original commit message from CVS:
* working jack elements (fixed a problem in upstream jack)
* random other fixen...

13 years agouse new bytestream api
Steve Baker [Wed, 15 May 2002 19:08:49 +0000 (19:08 +0000)]
use new bytestream api

Original commit message from CVS:
use new bytestream api

13 years agoupdate to new jack api
Andy Wingo [Mon, 13 May 2002 18:08:33 +0000 (18:08 +0000)]
update to new jack api

Original commit message from CVS:
update to new jack api

13 years agoadd some includes
Andy Wingo [Sun, 5 May 2002 19:39:17 +0000 (19:39 +0000)]
add some includes

Original commit message from CVS:
add some includes

13 years agobetter initialization. it doesn't work over here, though.
Andy Wingo [Sun, 5 May 2002 01:08:05 +0000 (01:08 +0000)]
better initialization. it doesn't work over here, though.

Original commit message from CVS:
better initialization. it doesn't work over here, though.

13 years agoa commit so that jack will build without errors on Uraeus's system ;)
Andy Wingo [Sat, 4 May 2002 21:38:56 +0000 (21:38 +0000)]
a commit so that jack will build without errors on Uraeus's system ;)

Original commit message from CVS:
a commit so that jack will build without errors on Uraeus's system ;)

13 years agoset caps once we know the sample rate of the system
Andy Wingo [Sat, 4 May 2002 20:53:35 +0000 (20:53 +0000)]
set caps once we know the sample rate of the system

Original commit message from CVS:
set caps once we know the sample rate of the system

13 years agosome jack fixes, alsa touchups, and add rtp by default to the build if there are...
Andy Wingo [Sat, 4 May 2002 18:57:44 +0000 (18:57 +0000)]
some jack fixes, alsa touchups, and add rtp by default to the build if there are any problems building rtp, we're mov...

Original commit message from CVS:
some jack fixes, alsa touchups, and add rtp by default to the build

if there are any problems building rtp, we're moving it back to experimental ;)

13 years agoa hack to work around intltool's brokenness a current check for mpeg2dec details...
Andy Wingo [Sat, 20 Apr 2002 21:42:51 +0000 (21:42 +0000)]
a hack to work around intltool's brokenness a current check for mpeg2dec details->klass reorganizations an element br...

Original commit message from CVS:
* a hack to work around intltool's brokenness
* a current check for mpeg2dec
* details->klass reorganizations
* an element browser that uses details->klass
* separated cdxa parse out from the avi directory

13 years agoFinally we're on to a proper jack setup, with a specialized bin and elements that...
Andy Wingo [Tue, 16 Apr 2002 17:14:05 +0000 (17:14 +0000)]
Finally we're on to a proper jack setup, with a specialized bin and elements that can only go in a jack bin. I had to...

Original commit message from CVS:
Finally we're on to a proper jack setup, with a specialized bin and elements
that can only go in a jack bin. I had to fix the parser first to do this, but
to run it, the syntax is like so:

gst-launch jackbin.( filesrc ! mad ! jacksink )

But of course it's not fully functional yet. Sigh.

13 years agoGstPadTemplate <-> gst_pad_template <-> GST_PAD_TEMPLATE same with *factory and typefind.
Andy Wingo [Thu, 11 Apr 2002 20:42:26 +0000 (20:42 +0000)]
GstPadTemplate <-> gst_pad_template <-> GST_PAD_TEMPLATE same with *factory and typefind.

Original commit message from CVS:
GstPadTemplate <-> gst_pad_template <-> GST_PAD_TEMPLATE

same with *factory and typefind.

also, some -Werror fixes.

13 years agoalphabetization fixen a jack caps fix
Andy Wingo [Sat, 30 Mar 2002 21:07:51 +0000 (21:07 +0000)]
alphabetization fixen a jack caps fix

Original commit message from CVS:
* alphabetization fixen
* a jack caps fix

13 years agoadd notify back to filesrc, it's needed for MVC applications remove notify printouts...
Andy Wingo [Sat, 30 Mar 2002 19:31:13 +0000 (19:31 +0000)]
add notify back to filesrc, it's needed for MVC applications remove notify printouts from gst-launch cleanup in gst-p...

Original commit message from CVS:
* add notify back to filesrc, it's needed for MVC applications
* remove notify printouts from gst-launch
* cleanup in gst-plugins configure.ac
* some jack updates
* remove SELF_ITERATING flag in favor of SEF_SCHEDULABLE (not a clear name,
but it's what we have for the moment)
* improve parsing of request pad names, no more sscanf
* fixes to the fastscheduler Makefile.am

13 years agos/Gnome-Streamer/GStreamer/
Andy Wingo [Wed, 20 Mar 2002 21:45:04 +0000 (21:45 +0000)]
s/Gnome-Streamer/GStreamer/

Original commit message from CVS:
s/Gnome-Streamer/GStreamer/

13 years agoremoval of //-style comments don't link plugins to core libs -- the versioning is...
Andy Wingo [Tue, 19 Mar 2002 04:10:06 +0000 (04:10 +0000)]
removal of //-style comments don't link plugins to core libs -- the versioning is done internally to the plugins with...

Original commit message from CVS:
* removal of //-style comments
* don't link plugins to core libs -- the versioning is done internally to the plugins with the plugin_info struct,
and symbol resolution is lazy, so we can always know if a plugin can be loaded by the plugin_info data. in theory.

13 years agos/@GST_PLUGIN_LDFLAGS@/$(GST_PLUGIN_LDFLAGS)/ @-substitued variables variables are...
Andy Wingo [Tue, 19 Mar 2002 01:39:43 +0000 (01:39 +0000)]
s/@GST_PLUGIN_LDFLAGS@/$(GST_PLUGIN_LDFLAGS)/ @-substitued variables variables are defined as make variables automagi...

Original commit message from CVS:
s/@GST_PLUGIN_LDFLAGS@/$(GST_PLUGIN_LDFLAGS)/

@-substitued variables variables are defined as make variables automagically,
and this gives the user the freedom to say make GST_PLUGIN_LDFLAGS=-myflag

13 years agos/gst_element_install_std_props/gst_element_class_install_std_props/ -- it just makes...
Andy Wingo [Mon, 18 Mar 2002 04:41:35 +0000 (04:41 +0000)]
s/gst_element_install_std_props/gst_element_class_install_std_props/ -- it just makes more sense that way added jack ...

Original commit message from CVS:
* s/gst_element_install_std_props/gst_element_class_install_std_props/ -- it just makes more sense that way
* added jack element, doesn't quite work right yet but i didn't want to lose the work -- it does build, register,
and attempt to run though
* imposed some restrictions on the naming of request pads to better allow for reverse parsing
* added '%s' to reverse parsing
* added new bin flag to indicate that it is self-iterating, and some lame code in gst-launch to test it out
* fixen on launch-gui
* added pkg-config stuff for the editor's libs

13 years agov4l2: mark v4l2sink as experimental and build only if --enable-experimental is passed
Tim-Philipp Müller [Sun, 2 Jan 2011 11:37:14 +0000 (11:37 +0000)]
v4l2: mark v4l2sink as experimental and build only if --enable-experimental is passed

It's not really of 'good' quality yet, but there's a lot of
code shared with v4l2src, so not so easy to move it elswhere.

https://bugzilla.gnome.org/show_bug.cgi?id=612244

13 years agoRevert "v4l2: add norm property"
Tim-Philipp Müller [Sun, 2 Jan 2011 01:24:21 +0000 (01:24 +0000)]
Revert "v4l2: add norm property"

This reverts commit 9e1d419d07337e6db2cc3936472be205ce927e54.

Reverting this since it adds unreviewed and bad API to v4l2src
(property of type enum, with seemingly random and unsorted values).

13 years agotools: remove unused left-over directory
Tim-Philipp Müller [Sat, 1 Jan 2011 23:26:33 +0000 (23:26 +0000)]
tools: remove unused left-over directory

These are all in -base/tools.

13 years agomp4adepay: improve timestamps on outgoing packets
Wim Taymans [Fri, 31 Dec 2010 12:57:05 +0000 (13:57 +0100)]
mp4adepay: improve timestamps on outgoing packets

Improve parsing of the samplerate.
Parse the framelen so that we can calculate timestamps.
When interpollate the incomming timestamp on outgoing buffers when there are
multiple subframes.

fixes #625825

13 years agocairo, videofilter: use gst/math-compat.h header for rint
Tim-Philipp Müller [Fri, 31 Dec 2010 02:16:54 +0000 (02:16 +0000)]
cairo, videofilter: use gst/math-compat.h header for rint

13 years agovideobalance: Check for HAVE_RINT instead
David Schleef [Thu, 30 Dec 2010 22:30:27 +0000 (14:30 -0800)]
videobalance: Check for HAVE_RINT instead

Also change M_PI to G_PI for giggles.

13 years agocairo: Don't use #ifdefs inside macros
David Schleef [Thu, 30 Dec 2010 22:21:37 +0000 (14:21 -0800)]
cairo: Don't use #ifdefs inside macros

13 years agoChange M_PI to G_PI
David Schleef [Thu, 30 Dec 2010 22:20:52 +0000 (14:20 -0800)]
Change M_PI to G_PI

13 years agovideobalance: use G_OS_WIN32 for windows check
David Schleef [Thu, 30 Dec 2010 20:07:52 +0000 (12:07 -0800)]
videobalance: use G_OS_WIN32 for windows check

13 years agomp4adepay: fix timestamps on buffers
Wim Taymans [Thu, 30 Dec 2010 15:24:16 +0000 (16:24 +0100)]
mp4adepay: fix timestamps on buffers

13 years agompvpay: fix flushing and discont
Wim Taymans [Thu, 30 Dec 2010 15:22:48 +0000 (16:22 +0100)]
mpvpay: fix flushing and discont

Fix flushing and disconts.
Clean up in state changes.

13 years agomatroska-demux: increase allowed max. block size for push mode from 10M to 15M
Tim-Philipp Müller [Wed, 29 Dec 2010 23:38:18 +0000 (23:38 +0000)]
matroska-demux: increase allowed max. block size for push mode from 10M to 15M

It was an arbitrary limit from the start, meant as a basic sanity check,
so may just as well increase it a little. Would be good to provide
progress reporting while completing the block in any case..

https://bugzilla.gnome.org/show_bug.cgi?id=637060

13 years agomatroska-demux: assume matroska if no doctype is specified
Tim-Philipp Müller [Wed, 29 Dec 2010 23:09:04 +0000 (23:09 +0000)]
matroska-demux: assume matroska if no doctype is specified

https://bugzilla.gnome.org/show_bug.cgi?id=638019

13 years agov4l2: add interlaced support
Rob Clark [Sat, 4 Dec 2010 19:43:11 +0000 (13:43 -0600)]
v4l2: add interlaced support

13 years agov4l2sink: add navigation support
Rob Clark [Sat, 2 Oct 2010 19:45:14 +0000 (14:45 -0500)]
v4l2sink: add navigation support

13 years agov4l2: add norm property
Rob Clark [Sun, 4 Apr 2010 11:43:41 +0000 (06:43 -0500)]
v4l2: add norm property

Based on a patch by Guennadi Liakhovetski.

13 years agov4l2: cleanup get/set input/output
Rob Clark [Tue, 13 Jul 2010 15:03:51 +0000 (10:03 -0500)]
v4l2: cleanup get/set input/output

output devices should use get/set output, and in either case we should
not print a warning message if the ioctl fails but the device does not
claim to support the tuner interface

13 years agov4l2xoverlay: add support to create window
Rob Clark [Thu, 10 Jun 2010 16:15:46 +0000 (11:15 -0500)]
v4l2xoverlay: add support to create window

If xoverlay is available, v4l2sink should create a window for the overlay to
display in.

The window automatically tries to make itself as large as possible.
This works well on a small screen, but perhaps should first attempt to use
the size of the video that is played (no scaling).

13 years agov4l2sink: special handling for cases gst_buffer_make_metadata_writable()
Rob Clark [Sun, 4 Apr 2010 11:41:28 +0000 (06:41 -0500)]
v4l2sink: special handling for cases gst_buffer_make_metadata_writable()

Special case check for sub-buffers:  In certain cases, places like
GstBaseTransform, which might check that the buffer is writable before copying
metadata, timestamp, and such, will find that the buffer has more than one
reference to it.  In these cases, they will create a sub-buffer with an offset=0
and length equal to the original buffer size.

This could happen in two scenarios: (1) a tee in the pipeline, and (2) because
the refcnt is incremented in gst_mini_object_free() before the finalize function
is called, and decremented after it returns..  but returning this buffer to the
buffer pool in the finalize function, could wake up a thread blocked in
_buffer_alloc() which could run and get a buffer w/ refcnt==2 before the thread
originally unref'ing the buffer returns from finalize function and decrements
the refcnt back to 1!

This is related to issue #545501

13 years agov4l2: fix race condition
Rob Clark [Sun, 4 Apr 2010 11:39:52 +0000 (06:39 -0500)]
v4l2: fix race condition

The size of the buffer would be zero'd out in gst_v4l2_buffer_finalize()
after the buffer is qbuf'd or pushed onto the queue of available buffers..
leaving a race condition where the thread waiting for the buffer could awake
and set back a valid size before the finalizing thread zeros out the length.
This would result that the newly allocated buffer has length of zero.

13 years agov4l2sink: add properties to control crop
Rob Clark [Sun, 4 Apr 2010 11:39:08 +0000 (06:39 -0500)]
v4l2sink: add properties to control crop

13 years agov4l2: re-enable x-overlay support
Rob Clark [Sun, 4 Apr 2010 11:37:16 +0000 (06:37 -0500)]
v4l2: re-enable x-overlay support

13 years agov4l2sink: fix for PAUSED->READY->PAUSED state transitions
Rob Clark [Sat, 25 Dec 2010 17:52:36 +0000 (11:52 -0600)]
v4l2sink: fix for PAUSED->READY->PAUSED state transitions

When v4l2sink goes to PAUSED->READY it only stops streaming, so the state
should be set to STATE_PENDING_STREAMON in case the element transitions
back to PLAYING.

13 years agov4l2sink: add "min-queued-bufs" property
Rob Clark [Sun, 4 Apr 2010 11:28:51 +0000 (06:28 -0500)]
v4l2sink: add "min-queued-bufs" property

13 years agov4l2sink: Add support for blocking dequeue.
Rob Clark [Sun, 4 Apr 2010 11:26:50 +0000 (06:26 -0500)]
v4l2sink: Add support for blocking dequeue.

We'd prefer to throttle the decoder if we run out of buffers, to keep a bound
on memory usage.  Also, for OMAP4 it is a requirement of the decoder to not
alternate between memory alloced by the display driver and malloc'd userspace
memory.

13 years agov4l2: clear flags before reusing buffer from buffer pool
Rob Clark [Sun, 4 Apr 2010 11:24:41 +0000 (06:24 -0500)]
v4l2: clear flags before reusing buffer from buffer pool

note: this really only affects v4l2sink since gst_v4l2_buffer_pool_get() is
only called once per buffer in the v4l2src case (in
gst_v4l2src_buffer_pool_activate())

13 years agov4l2sink: don't render preroll buffers
Rob Clark [Sun, 4 Apr 2010 11:23:31 +0000 (06:23 -0500)]
v4l2sink: don't render preroll buffers

Most v4l2 drivers will get upset when you queue the same buffer twice in a
row without first dequeueing it.

Rendering of pre-roll buffers can be re-introduced later, but will require
tracking the state of the buffer, and avoiding to re-QBUF if the buffer has
already been passed to the driver.

13 years agov4l2sink: Improve behavior for shared buffers.
Rob Clark [Sun, 4 Apr 2010 11:22:43 +0000 (06:22 -0500)]
v4l2sink: Improve behavior for shared buffers.

When the decoder is using pad_alloc(), v4l2sink would behave badly if
the number of buffers ('queue-size' property) was not high enough to
account for all the buffers needed by the decoder, and other elements
(such as queues) between the decoder and v4l2sink.  This patch
slightly increases the default number of buffers, and changes v4l2sink
to drop frames rather than return an error in case the number of
buffers is not high enough.

13 years agoadd "client" property
Andy Wingo [Mon, 15 Nov 2010 14:58:28 +0000 (15:58 +0100)]
add "client" property

* ext/pulse/pulsesrc.c (gst_pulsesrc_class_init, gst_pulsesrc_init)
  (gst_pulsesrc_set_property, gst_pulsesrc_get_property)
  (gst_pulsesrc_open): Add a "client" property, as in pulsesink.

Fixes #634914

13 years agortspsrc: serialise/deserialise floats without changing locale
Tim-Philipp Müller [Wed, 29 Dec 2010 15:54:46 +0000 (15:54 +0000)]
rtspsrc: serialise/deserialise floats without changing locale

Use g_ascii_dtostr() and g_ascii_strtod() to serialise/deserialise
floating point numbers, instead of ugly hacks that switch locale
before and after calling libc functions (which is not a good idea
in a multi-threaded application).

13 years agortpjpegdepay: fix framerate parsing for locales that use a comma as floating point
Tim-Philipp Müller [Wed, 29 Dec 2010 14:40:05 +0000 (14:40 +0000)]
rtpjpegdepay: fix framerate parsing for locales that use a comma as floating point

atof() converts strings according to the current locale, but the
framerate string will likely always use a dot as floating point
separator, so use g_ascii_strtod() instead (but also canonicalise
the string before, so we can handle both formats as input).

13 years agortpsource: use the right variable
Wim Taymans [Mon, 27 Dec 2010 12:11:59 +0000 (13:11 +0100)]
rtpsource: use the right variable

Use the right variable for specifying that we sent a receiver report.

13 years agov4l2: fix typo
Rob Clark [Thu, 23 Dec 2010 22:42:29 +0000 (16:42 -0600)]
v4l2: fix typo

13 years agomatroska-demux: add stream-format and alignment properties for h264
Rob Clark [Thu, 23 Dec 2010 22:03:00 +0000 (16:03 -0600)]
matroska-demux: add stream-format and alignment properties for h264

13 years agogstpay: fix klass, add RTP as a use case
Wim Taymans [Wed, 22 Dec 2010 10:41:59 +0000 (11:41 +0100)]
gstpay: fix klass, add RTP as a use case

13 years agogstdepay: cleanup the cache
Wim Taymans [Sun, 12 Dec 2010 14:10:47 +0000 (15:10 +0100)]
gstdepay: cleanup the cache

13 years agogstpay/depay: add generic gstreamer payloader
Wim Taymans [Sun, 12 Dec 2010 04:10:01 +0000 (05:10 +0100)]
gstpay/depay: add generic gstreamer payloader

Add the beginnings of a generic GStreamer buffers payloader.

13 years agomp4gpay: reset state on flush-stop
Wim Taymans [Thu, 23 Dec 2010 16:06:58 +0000 (17:06 +0100)]
mp4gpay: reset state on flush-stop

13 years agomp4gdepay: flush state on flush-stop
Wim Taymans [Thu, 23 Dec 2010 15:26:07 +0000 (16:26 +0100)]
mp4gdepay: flush state on flush-stop