Stefan Kost
8909b106f0
Do not use short_description in section docs for elements. We extract them from element details and there will be war...
...
Original commit message from CVS:
* ext/dc1394/gstdc1394.c:
* ext/ivorbis/vorbisdec.c:
* ext/jack/gstjackaudiosink.c:
* ext/metadata/gstmetadatademux.c:
* ext/mythtv/gstmythtvsrc.c:
* ext/theora/theoradec.c:
* gst-libs/gst/app/gstappsink.c:
* gst/bayer/gstbayer2rgb.c:
* gst/deinterlace/gstdeinterlace.c:
* gst/rawparse/gstaudioparse.c:
* gst/rawparse/gstvideoparse.c:
* gst/rtpmanager/gstrtpbin.c:
* gst/rtpmanager/gstrtpclient.c:
* gst/rtpmanager/gstrtpjitterbuffer.c:
* gst/rtpmanager/gstrtpptdemux.c:
* gst/rtpmanager/gstrtpsession.c:
* gst/rtpmanager/gstrtpssrcdemux.c:
* gst/selector/gstinputselector.c:
* gst/selector/gstoutputselector.c:
* gst/videosignal/gstvideoanalyse.c:
* gst/videosignal/gstvideodetect.c:
* gst/videosignal/gstvideomark.c:
* sys/oss4/oss4-mixer.c:
* sys/oss4/oss4-sink.c:
* sys/oss4/oss4-source.c:
Do not use short_description in section docs for elements. We extract
them from element details and there will be warnings if they differ.
Also fixing up the ChangeLog order.
2011-01-02 14:30:06 +00:00
Wim Taymans
102b2e3fc4
ext/jack/gstjackaudiosink.c: Include the element name in the port name to avoid duplicate port names.
...
Original commit message from CVS:
* ext/jack/gstjackaudiosink.c:
(gst_jack_audio_sink_allocate_channels):
Include the element name in the port name to avoid duplicate port names.
2011-01-02 14:30:06 +00:00
Tim-Philipp Müller
d418db9aed
ext/jack/gstjackaudiosink.c: Work around missing bits of thread-safety on older GLibs some more to avoid assertions w...
...
Original commit message from CVS:
* ext/jack/gstjackaudiosink.c: (gst_jack_audio_sink_class_init):
Work around missing bits of thread-safety on older GLibs some
more to avoid assertions when starting up multiple playbin
objects concurrently (see #512382 ).
2011-01-02 14:30:06 +00:00
Sebastian Dröge
459484bc4d
Use GST_LICENSE, GST_PACKAGE_NAME and GST_PACKAGE_ORIGIN instead of hardcoding values where possible. Fixes bug #522212 .
...
Original commit message from CVS:
* ext/alsaspdif/alsaspdifsink.c:
* ext/gsm/gstgsm.c:
* ext/jack/gstjack.c:
* ext/libmms/gstmms.c:
* ext/neon/gstneonhttpsrc.c:
* ext/shout/gstshout.c:
* ext/timidity/gsttimidity.c:
* ext/timidity/gstwildmidi.c:
* gst/nuvdemux/gstnuvdemux.c:
* gst/tta/gsttta.c:
Use GST_LICENSE, GST_PACKAGE_NAME and GST_PACKAGE_ORIGIN instead
of hardcoding values where possible. Fixes bug #522212 .
2011-01-02 14:30:06 +00:00
Stefan Kost
be5f69be58
ext/jack/gstjackaudiosink.c: Add stdlib include here too.
...
Original commit message from CVS:
* ext/jack/gstjackaudiosink.c: (gst_jack_ring_buffer_open_device),
(gst_jack_ring_buffer_acquire):
Add stdlib include here too.
2011-01-02 14:30:06 +00:00
Stefan Kost
5b2d689774
ext/jack/gstjackaudiosink.c: Try t better name clients. properly handle return codes when re- establishing links.
...
Original commit message from CVS:
* ext/jack/gstjackaudiosink.c: (gst_jack_ring_buffer_open_device),
(gst_jack_ring_buffer_acquire):
Try t better name clients. properly handle return codes when re-
establishing links.
2011-01-02 14:30:06 +00:00
Paul Davis
a70ffeed7c
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.
2011-01-02 14:30:06 +00:00
Paul Davis
60bcffa5ef
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.
2011-01-02 14:30:06 +00:00
Wim Taymans
b0bfe6fcdd
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.
2011-01-02 14:30:06 +00:00
Jan Schmidt
8beff1f58c
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.
2011-01-02 14:30:06 +00:00
Wim Taymans
e2546f8275
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.
2011-01-02 14:30:06 +00:00
Wim Taymans
32aaf1e95d
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.
2011-01-02 14:30:06 +00:00
Stefan Kost
8fa70e3622
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)
2011-01-02 14:30:05 +00:00
Thomas Vander Stichele
cef77bfc9c
rework build; add translations for v4l2
...
Original commit message from CVS:
rework build; add translations for v4l2
2011-01-02 14:30:05 +00:00
Stefan Kost
c038b32b44
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
2011-01-02 14:30:05 +00:00
Jan Schmidt
473a76d221
Fix up all the state change functions.
...
Original commit message from CVS:
Fix up all the state change functions.
2011-01-02 14:30:05 +00:00
Benjamin Otte
567ac42d7e
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
2011-01-02 14:30:04 +00:00
Stéphane Loeuillet
da195d3211
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)
2011-01-02 14:30:04 +00:00
Thomas Vander Stichele
f88ab240e5
don't mix tabs and spaces
...
Original commit message from CVS:
don't mix tabs and spaces
2011-01-02 14:30:04 +00:00
Johan Dahlin
44f714a5fd
*.h: Revert indenting
...
Original commit message from CVS:
* *.h: Revert indenting
2011-01-02 14:30:04 +00:00
Thomas Vander Stichele
c2bcfc8446
gst-indent
...
Original commit message from CVS:
gst-indent
2011-01-02 14:30:04 +00:00
David Schleef
d952e72d42
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().
2011-01-02 14:30:04 +00:00
David Schleef
9d2631e7d6
Merge CAPS branch
...
Original commit message from CVS:
Merge CAPS branch
2011-01-02 14:30:04 +00:00
Benjamin Otte
93cb77d0f0
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.
2011-01-02 14:30:04 +00:00
Andy Wingo
d8b76118bd
remove copyright field from plugins
...
Original commit message from CVS:
remove copyright field from plugins
2011-01-02 14:30:03 +00:00
Ronald S. Bultje
56906e2c2e
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
2011-01-02 14:30:03 +00:00
Iain Holmes
04c63f1f5c
Jack fixed too
...
Original commit message from CVS:
Jack fixed too
2011-01-02 14:30:03 +00:00
David Schleef
bc5b62d938
change gst/bytestream.h to gst/bytestream/bytestream.h
...
Original commit message from CVS:
change gst/bytestream.h to gst/bytestream/bytestream.h
2011-01-02 14:30:03 +00:00
Benjamin Otte
bbc133ec8f
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
2011-01-02 14:30:03 +00:00
Andy Wingo
45aedd595e
/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 .
2011-01-02 14:30:03 +00:00
Ronald S. Bultje
fc1b8b479f
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
2011-01-02 14:30:03 +00:00
Andy Wingo
b5802bdbb6
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...
2011-01-02 14:30:03 +00:00
David Schleef
b87729bd69
Remove redundant plugindir definition
...
Original commit message from CVS:
Remove redundant plugindir definition
2011-01-02 14:30:03 +00:00
Leif Johnson
25dd7cc50c
+ 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
2011-01-02 14:30:03 +00:00
Ronald S. Bultje
8bdd27fd62
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
2011-01-02 14:30:03 +00:00
David Schleef
9a04390288
fix type punning
...
Original commit message from CVS:
fix type punning
2011-01-02 14:30:03 +00:00
Benjamin Otte
c28be5c967
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.
2011-01-02 14:30:03 +00:00
Wim Taymans
c48b1d6653
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
2011-01-02 14:30:03 +00:00
Andy Wingo
c357ceba44
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
2011-01-02 14:30:02 +00:00
Jan Schmidt
a75afe6604
Changed caps->fixed to use FLAG_SET
...
Original commit message from CVS:
Changed caps->fixed to use FLAG_SET
2011-01-02 14:30:02 +00:00
Thomas Vander Stichele
5781a1a912
PadConnect -> PadLink
...
Original commit message from CVS:
PadConnect -> PadLink
2011-01-02 14:30:02 +00:00
Thomas Vander Stichele
79806375c4
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
2011-01-02 14:30:02 +00:00
Thomas Vander Stichele
e2c03f4e9c
parallel install fixes
...
Original commit message from CVS:
parallel install fixes
2011-01-02 14:30:02 +00:00
Andy Wingo
cc1c7106c1
licenses again
...
Original commit message from CVS:
licenses again
2011-01-02 14:30:02 +00:00
Christian Schaller
c7692e1fbe
plugins part of license field patch
...
Original commit message from CVS:
plugins part of license field patch
2011-01-02 14:30:02 +00:00
Ronald S. Bultje
3d25650da7
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
2011-01-02 14:30:02 +00:00
Thomas Vander Stichele
bec3f5c03d
removing warnings as approved by wim
...
Original commit message from CVS:
removing warnings as approved by wim
2011-01-02 14:30:02 +00:00
Andy Wingo
31295406d4
fix jack input port connection
...
Original commit message from CVS:
fix jack input port connection
2011-01-02 14:30:02 +00:00
Andy Wingo
925babbf2a
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
2011-01-02 14:30:01 +00:00
Andy Wingo
c2880b1c6d
make jack work in all its full duplex glory
...
Original commit message from CVS:
make jack work in all its full duplex glory
2011-01-02 14:30:01 +00:00
Andy Wingo
af472ca88b
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...
2011-01-02 14:30:01 +00:00
Steve Baker
5789a18e0a
use new bytestream api
...
Original commit message from CVS:
use new bytestream api
2011-01-02 14:30:01 +00:00
Andy Wingo
f11d85cec4
update to new jack api
...
Original commit message from CVS:
update to new jack api
2011-01-02 14:30:01 +00:00
Andy Wingo
b2ef7f9411
add some includes
...
Original commit message from CVS:
add some includes
2011-01-02 14:30:01 +00:00
Andy Wingo
e166e85ec1
better initialization. it doesn't work over here, though.
...
Original commit message from CVS:
better initialization. it doesn't work over here, though.
2011-01-02 14:30:01 +00:00
Andy Wingo
d9d5b97653
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 ;)
2011-01-02 14:30:01 +00:00
Andy Wingo
35a88934f5
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
2011-01-02 14:30:01 +00:00
Andy Wingo
fdd942826a
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 ;)
2011-01-02 14:30:01 +00:00
Andy Wingo
1613f0e514
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
2011-01-02 14:30:01 +00:00
Andy Wingo
6ef5499ab5
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.
2011-01-02 14:30:01 +00:00
Andy Wingo
a9161e1882
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.
2011-01-02 14:30:00 +00:00
Andy Wingo
2d8f33b3e4
alphabetization fixen a jack caps fix
...
Original commit message from CVS:
* alphabetization fixen
* a jack caps fix
2011-01-02 14:30:00 +00:00
Andy Wingo
b3ce1be554
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
2011-01-02 14:30:00 +00:00
Andy Wingo
2f2a02b8a9
s/Gnome-Streamer/GStreamer/
...
Original commit message from CVS:
s/Gnome-Streamer/GStreamer/
2011-01-02 14:30:00 +00:00
Andy Wingo
fe8058a641
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.
2011-01-02 14:30:00 +00:00
Andy Wingo
3b8cad1d49
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
2011-01-02 14:30:00 +00:00
Andy Wingo
90ee1e400a
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
2011-01-02 14:30:00 +00:00
Tim-Philipp Müller
cfa7225898
cairo, videofilter: use gst/math-compat.h header for rint
2010-12-31 02:16:54 +00:00
David Schleef
954a04e2b5
cairo: Don't use #ifdefs inside macros
2010-12-30 14:21:37 -08:00
Andy Wingo
82ee35372b
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
2010-12-29 17:02:40 +01:00
Thiago Santos
dcbba0932d
jpegenc: sink pad's getcaps shouldn't use the src pad getcaps
...
Instead of using get_allowed_caps on the srcpad, the sinkpad getcaps
should use the getcaps of the srcpad's peer. This way the srcpad
can keep using fixed_caps and sinkpad getcaps exposes all caps
that can be negotiated
https://bugzilla.gnome.org/show_bug.cgi?id=637686
2010-12-21 15:23:11 -03:00
Mark Nauwelaerts
53b9f87436
pulsesink: flush remaining buffered samples on EOS
...
... which can make a difference between all or nothing when dealing
with short streams and relatively large ringbuffer segment.
2010-12-16 15:16:54 +01:00
Tim-Philipp Müller
addbc3c4ca
jpegdec: add "max-errors" property to ignore decoding errors
...
Add property to ignore decoding errors. Default is to ignore a few
decoding errors if the input is packetized, but error out immediately
if the input is not packetized.
Ignoring errors for packetized input most likely doesn't work
properly yet, so don't do that for now.
https://bugzilla.gnome.org/show_bug.cgi?id=623063
2010-12-11 20:36:45 +00:00
Tim-Philipp Müller
100673bf14
jpegenc: free/malloc instead of realloc, avoids memcpy
2010-12-11 17:03:45 +00:00
Jan Schmidt
bead93ab7b
pulsemixer: Implement MIXER_FLAG_AUTO_NOTIFICATIONS
...
Add the mixer flag and send notifications when either the volume or muted
status changes.
https://bugzilla.gnome.org/show_bug.cgi?id=618389
2010-12-11 16:08:40 +11:00
Wim Taymans
8ca094795a
pulsesink: don't uncork in _start
...
Don't uncork in the _start method just yet but wait until we have written some
samples to pulseaudio. This avoid underruns on pulseaudio and less crackling
noises when starting.
2010-12-07 12:39:27 +01:00
Mark Nauwelaerts
9ee2e9ede5
jpegdec: add debug to notify when skipping to jpeg header
2010-12-06 19:14:52 +01:00
Mark Nauwelaerts
04fae48d1d
jpegdec: discard incomplete image
...
... as determined when finding SOI next image before an EOI.
Based on patch by David Hoyt <david.hoyt@llnl.gov>
Fixes #635734 .
2010-12-06 19:14:52 +01:00
Mark Nauwelaerts
c50695c14b
jpegdec: avoid infinite loop when resyncing
...
Fixes #635734 (partly).
2010-12-06 19:14:41 +01:00
Edward Hervey
ca9a3806b5
pngenc: Use proper framerate range in caps
2010-12-03 15:06:19 +01:00
Stefan Kost
a513a7be75
pngdec: use png_error() as recommended by libpng docs to signal an error
...
Without that the element loops endlessly on broekn pngs. Fixes #634314
2010-12-03 09:49:26 +02:00
Sebastian Dröge
6a93725292
souphttpsrc: Don't send seeks behind the end of file to the server
...
Also improve debug output, re-initialize the content size and let the
seek handler error out on invalid seek segments.
Fixes bug #632977 .
2010-12-02 19:18:02 +01:00
Stefan Kost
45f6707784
various (ext): add a missing G_PARAM_STATIC_STRINGS flags
2010-10-13 17:39:36 +03:00
Stefan Kost
2975307f86
various: wrap property registration and add a single fixme for long desc.
2010-10-13 17:39:21 +03:00
Tim-Philipp Müller
d65eb2b91a
ext, gst: canonicalise property names where this wasn't the case
...
ie. "foo_bar" -> "foo-bar"
2010-10-12 16:04:21 +01:00
Sebastian Dröge
5c1f6c890b
switchsrc: Set the GST_ELEMENT_IS_SOURCE flag
2010-10-11 14:24:52 +02:00
Edward Hervey
9481c8a1a0
raw1394: Don't compile hdv1394src if libiec61883 isn't available
...
Fixes #629896
2010-10-04 22:31:32 +02:00
Tim-Philipp Müller
c0bd590ce3
soup: init debug category before using it
2010-09-24 14:06:31 +01:00
David Hoyt
9f8619e5ca
speex: Fix crashes with MSVC
...
Using the symbols for the different Speex modes results
in crashes when using MSVC. Use the library functions to
get the modes instead.
Fixes bug #630378 .
2010-09-23 21:57:18 +02:00
Wim Taymans
7f48fb37e9
pulse: fix device_description in READY
...
Make the is_dead check more clear and add an option to check for the status of
the stream in addition to the context.
We don't need a stream to get the device_description string.
Fixes #630317
2010-09-22 19:02:35 +02:00
Edward Hervey
bc9fb6ad83
souphttpsrc: Fix debug statement
2010-09-21 11:52:54 +02:00
Stefan Kost
ae8d210fdb
pulsesink: move the shared mainloop from class to static var
...
Just have one static var for the shared mainloop instead of one class variable
and copies in the instance.
2010-09-14 10:10:27 +03:00
Stefan Kost
f62dc6976b
pulsesink: rework context sharing
...
We also need to share the main-loop threads as this owns the context. Thus have
a class wide main-loop thread. From this we create a context per client-name.
Instead of always looking up the context, we keep this with the instance. The
reverse mapping is only needed in pulse singal handlers. This saves a lot of
locking. Also one signal handler becomes simpler as ther eis only one mainloop
to notify.
Now valgind happy - no leaks, no bad reads/writes.
This reverts major parts of commit 69a397c32f
.
Fixes #628996
2010-09-13 16:59:22 +03:00
Tim-Philipp Müller
020e0dcc1e
soup: hook up i18n bits for plugin
...
Call bindtextdomain() etc.
2010-09-12 14:54:20 +01:00
Tim-Philipp Müller
9dfad52a79
soup: fix error messages
...
Error messages should be translated. URIs and filenames should not
be part of the error message string that's shown to the user.
soup_message->reason_phrase is not translated and not suitable as
error message for users (see libsoup documentation). Also fix up
error codes a bit, as far as possible with the existing codes.
2010-09-12 14:54:20 +01:00
Tim-Philipp Müller
66a783fd01
jpegdec: don't post an error message if buffer alloc fails with NOT_LINKED flow
...
This is not fatal, let upstream handle it.
2010-09-12 14:54:20 +01:00
Stefan Kost
fbab577ab8
aasink: fix context initialisation and freeing to not leak
2010-09-09 21:49:43 +03:00
Thiago Santos
418bca8c0f
id3v2mux: Adds mapping for album artist
...
Maps GST_TAG_ALBUM_ARTIST to TPE2 in id3v2mux
2010-09-08 17:07:53 -03:00
Stefan Kost
6490c4eb3d
pulsesink: remove unused code
2010-09-08 17:43:47 +03:00
Stefan Kost
9fd0adc7dc
pulsesink: fixup last commit
...
We need to prevent the eventual leak better.
2010-09-08 14:36:48 +03:00
Stefan Kost
f6892b81ae
pulsesink: code cleanups
...
Use g_slist_prepend as we don't care about the order. Check for list == NULL
instead of iterating the list to see if it is empty. Move ctx allocation down
to prevent leak in case of failure.
2010-09-08 14:19:34 +03:00
Wim Taymans
2148b2db0a
pulsesink: simplify clock provide code
...
Don't leak the pulsesink element by having the clock keep a ref to the sink.
Create the clock only once in the constructor and use the baseaudiosink clock
cleanup code.
2010-09-07 19:03:33 +02:00
Stefan Kost
7fd77c07d5
pulsesink: move the context table init to _get_type phase
...
This seems to fix the invalid reads on context shutdown better, altough
I can't really explain.
2010-09-07 18:09:28 +03:00
Wim Taymans
2b81f913a4
jpegdec: avoid invalid adapter flush on QoS
...
First store the available data in the adapter in the rem_img_len instance field
before trying to flush the adapter with that value on QoS.
2010-09-07 16:49:16 +02:00
Stefan Kost
f604e20499
pulse: allow setting stream properties
...
Add a "properties" property to the elements to allow setting extra stream
properties.
Fixes #537544
2010-09-07 14:20:21 +03:00
Tim-Philipp Müller
fff0e878bf
cmmldec: fix flow return handling
...
Fix buggy GST_FLOW_IS_FATAL substitution, and 'make check':
- if (!GST_FLOW_IS_FATAL (dec->flow_return) && !dec->sent_root) {
+ if (dec->flow_return != GST_FLOW_OK && !dec->sent_root) {
2010-09-07 09:21:51 +01:00
Stefan Kost
a313bc7524
pulsesink: don't free the context multiple times
...
Apparently the close function of the ring-buffer can be called multiple times.
2010-09-07 00:27:07 +03:00
Wim Taymans
95270dc2fb
pulsesrc: use _get_caps_reffed() when we can
...
Use _get_caps_reffed()
Add some more debug when opening the server connection.
2010-09-06 10:23:07 +02:00
Stefan Kost
fc73dd210d
pulsesink: add since docs for new property.
2010-09-06 09:57:58 +03:00
Stefan Kost
f83f7fafad
pulsesrc: move the property-setter to the getter.
2010-09-06 09:53:00 +03:00
David Schleef
75d0795e53
dvdemux: Parse SMPTE time codes
2010-09-04 12:39:25 -07:00
Sebastian Dröge
8fa6504d34
wavpackparse: Don't use GST_FLOW_IS_FATAL()
2010-09-04 14:52:11 +02:00
Sebastian Dröge
58427ee02d
pngdec: Don't use GST_FLOW_IS_FATAL()
...
And don't post an error message if downstream returns UNEXPECTED.
2010-09-04 14:52:11 +02:00
Sebastian Dröge
0cf904f0bb
dvdemux: Don't use GST_FLOW_IS_FATAL()
2010-09-04 14:52:11 +02:00
Sebastian Dröge
b606ab06e5
jpegdec: Don't use GST_FLOW_IS_FATAL()
...
And don't post an error message if buffer allocation failed because
of UNEXPECTED, which only means that downstream wants us to EOS now.
2010-09-04 14:52:10 +02:00
Sebastian Dröge
2f7c0d21b6
flacenc/dec: Don't use GST_FLOW_IS_FATAL()
...
And properly handle UNEXPECTED and WRONG_STATE.
2010-09-04 14:52:10 +02:00
Sebastian Dröge
0753d9fee3
cmmldec/enc: Don't use GST_FLOW_IS_FATAL()
...
And as a result, don't ignore WRONG_STATE and NOT_LINKED.
Both mean that it's a good idea to pass them upstream instead
of pretending that everything is good.
2010-09-04 14:52:10 +02:00
Sebastian Dröge
37ee281d13
pulsesink: Fail gracefully if no threaded PA mainloop can be created
...
Fixes bug #628020 .
2010-09-04 14:52:09 +02:00
Sebastian Dröge
998adeb974
pulsesink: Only include the server name in the context name if it's not NULL
2010-09-04 14:52:07 +02:00
Philippe Normand
7116fff3c5
pulsesink: Add "client" property to set the PA client name
...
Allows the application to modify the client name used to connect when
connecting to the PulseAudio daemon. Note however that updating the
property after the element reached the READY state will have no
effect until the next NULL->READY transition.
Fixes bug #627174 .
2010-09-04 14:52:07 +02:00
David Hoyt
d011e96028
souphttpsrc: Improve error messages
...
Before they contained the URL before the actual failure. The other
way around makes more sense and we do the same in other elements
like filesrc.
Fixes bug #627289 .
2010-09-04 14:52:07 +02:00
Sebastian Dröge
03f2e81f69
pulsesink: Free the clock on state change failures too
2010-09-04 14:52:07 +02:00
Philippe Normand
39d2ef5136
pulseutil: include pid value in gst_pulse_client_name() fallback return value
...
Fixes bug #627162
2010-09-04 14:52:06 +02:00
Sebastian Dröge
bc5345bbd3
pulsesink: Free the GstPulseContext after usage
2010-09-04 14:52:06 +02:00
Philippe Normand
69a397c32f
pulsesink: share the PA context between all clients with the same name
...
Avoid to create a new PA context for each new client by using a hash
table containing the list of ring-buffers and the shared PA context
for each client. Doing this will improve application memory usage in
the cases where multiple pipelines involving multiple pulsesink
elements are used.
Fixes bug #624338 .
2010-09-04 14:52:06 +02:00
Philippe Normand
2c5976d355
pulsesink: clear the PA mainloop if baseaudiosink failed to open the ring_buffer
...
If the application requests a state-change and pulsesink fails to open
the ring_buffer device the mainloop attribute of the sink should be
cleaned up to avoid future state-change (NULL->READY) failures.
2010-09-04 14:52:06 +02:00
Thiago Santos
95d1b932ab
jpegdec: Prevent crash when reading image with problems
...
Check if we have data on the adapter and fail if not.
Fixes #627413
2010-08-19 18:30:05 -03:00
Tim-Philipp Müller
74b2af63fd
pulse: fix printf format in some debugging messages
2010-08-09 00:36:36 +01:00
Jonathan Matthew
debe2d5634
id3v2mux: write beats-per-minute tag using TBPM frame
...
https://bugzilla.gnome.org/show_bug.cgi?id=621520
2010-08-05 00:04:48 +01:00
Philippe Normand
864a52d8aa
pulsesink: use G_TYPE_DEFINE to define ring buffer type
...
The existing get_type() implementation is racy, and the
g_type_class_ref() workaround didn't actually work because
it was in the wrong function. Since class creation in GObject
is thread-safe these days (since 2.16), the class_ref workaround
is no longer needed and it is sufficient to ensure the _get_type()
function is thread-safe, which G_TYPE_DEFINE does.
https://bugzilla.gnome.org/show_bug.cgi?id=624338
2010-08-04 16:19:09 +01:00
Sebastian Dröge
f6240a4773
pulsesink: Post CLOCK-LOST/CLOCK-PROVIDE when going to/from READY
...
Otherwise the clocks are redistributed every time the pipeline
goes to PAUSED, which is quite expensive.
2010-08-04 15:21:26 +02:00
Tim-Philipp Müller
7055264e2e
pulsesink: correctly check what version of gst-plugins-base we're compiling against
...
We need to check the gst-plugins-base version, not the core version
(even if both should be the same in any sane setup).
2010-07-26 18:18:02 +02:00
Sebastian Dröge
d1754f05c4
Revert "gdkpixbuf: Add a gdkpixbuf3 plugin that uses gdkpixbuf3"
...
This reverts commit b678815316
.
There's no gdk-pixbuf3 anymore. gdk-pixbuf was separated from GTK+
and will stay at version 2.0 for GTK+ 3.0.
2010-07-24 10:26:32 +02:00
Mark Nauwelaerts
eb4afca554
flacdec: fix event leak
2010-07-22 16:25:38 +02:00
Thiago Santos
da1c816358
jpegdec: Fix regression on markers parsing
...
Fixes a regression introduced when fixing bug #583047 in
commit a391bf52cc
Skip the data when libjpeg asks it to be skipped on
one of its callbacks.
2010-07-19 15:21:04 -03:00
Sebastian Dröge
10424a4064
pulsesink: Only use gst_audio_clock_new() when compiling against newer base
2010-07-16 17:53:55 +02:00
Sebastian Dröge
415b205be3
dv1394src: Post clock-provide and clock-lost messages when going from/to PLAYING
...
In PAUSED and below the clock is not working.
2010-07-16 17:45:39 +02:00
Sebastian Dröge
f25420323a
gconf: Fix ref handling of new child elements and minor cleanup
2010-07-16 17:45:39 +02:00
Sebastian Dröge
40a2cdb154
gconfvideosrc: Use correct GConf key
2010-07-16 17:45:39 +02:00
Sebastian Dröge
18cbdf50e7
gconf: Port gconfaudiosrc to GstSwitchSrc
2010-07-16 17:45:39 +02:00
Sebastian Dröge
b7900161f2
gconf: Port gconfvideosrc to GstSwitchSrc
2010-07-16 17:45:38 +02:00
Sebastian Dröge
cb5c185804
gconf: Add GstSwitchSrc base class
2010-07-16 17:45:38 +02:00
Sebastian Dröge
13b636e7fd
gconf: Create the ghostpad of the switchsink from the template
2010-07-16 17:45:38 +02:00
Sebastian Dröge
9e92bd7b1a
pulsesink: Post clock-provide/clock-lost when going to/from PAUSED
...
Also use gst_audio_clock_new_full() to prevent crashes when the
clock is used after the element was destroyed.
2010-07-16 17:45:38 +02:00
Mark Nauwelaerts
6f84bbe34e
jpegdec: fix skipping extra 0xff markers
...
Fixes #623585 .
2010-07-05 13:20:08 +02:00
Tim-Philipp Müller
7cbfe3eae1
jpegdec: fix memory leak
...
Don't leak result of gst_adapter_take(). There are most likely
smarter things we can do, but let's keep things simple for the
release.
Fixes #623172 .
2010-07-02 15:10:24 +01:00
Sebastian Dröge
0df55f42e6
jpeg: Explicitely link with libgstbase
2010-06-27 06:39:14 +02:00
Tim-Philipp Müller
f9c4d5315c
gdkpixbufdec: bump rank to SECONDARY
...
Bump gdkpixbufdec's rank to SECONDARY to give it an edge over misc.
image decoders in gst-ffmpeg that also have a MARGINAL rank.
Fixes #620162 .
2010-06-24 13:02:04 +01:00
Thiago Santos
0b37991344
taglib: Use newly added gst_tag_list_peek_string_index
...
Replace calls to gst_tag_list_get_string_index with
gst_tag_list_peek_string_index to avoid a string copy
2010-06-18 14:13:58 -03:00
Sebastian Dröge
8b2a6a8c74
flactag: Fix possible NULL pointer dereference
2010-06-16 19:28:04 +02:00
Sebastian Dröge
8883421b0d
wavpackdec: Initialize uninitialized variable and don't unref it if it's NULL
2010-06-15 20:06:17 +02:00
Sebastian Dröge
5a4ecc5b6f
flacenc: Fix NEWSEGMENT parsing logic and don't use uninitialized variables
2010-06-15 19:45:36 +02:00
Marc-André Lureau
f7bf4cc905
raw1394: remove useless last_time
...
It seems to me this code is useless: removing it.
https://bugzilla.gnome.org/show_bug.cgi?id=618871
2010-06-15 01:25:32 +01:00
Mark Nauwelaerts
a391bf52cc
jpegdec: use libjpeg scatter-gather operation to avoid data copying
...
Fixes #583047 (more).
2010-06-14 15:17:16 +02:00
Mark Nauwelaerts
58fbcf01e5
jpegdec: optimize buffer handling when parsing
...
Use an adapter to collect incoming data, and use adapter API to scan and peek.
Fixes #583047 .
2010-06-14 15:17:16 +02:00
Andoni Morales Alastruey
2061fc0ccb
dv1394: Fix the internal clock even more
...
The cycleCount register is 13 bits long and the cycleOffset one
is 12 bits long. To read the cycleCount register we need to shift
12 bits and not 13. Fixes #615461
2010-06-10 11:04:38 +01:00
Sebastian Dröge
4113a1dad1
pulsesink: Don't request more shared memory than needed
2010-06-09 20:53:06 +02:00
Sebastian Dröge
bb72770c03
switchsink: Set the GST_ELEMENT_IS_SINK flag on the sink
2010-06-09 20:46:19 +02:00
Sebastian Dröge
088495af12
gconfvideosink: Use GstSwitchSink as base class
2010-06-09 20:46:14 +02:00
Sebastian Dröge
ad1fc246ad
gconfaudiosink: Use G_PARAM_STATIC_STRINGS
2010-06-09 20:30:31 +02:00
Sebastian Dröge
89227af407
gconfaudiosink: Rename instance variable to be more descriptive
2010-06-09 20:29:02 +02:00
Sebastian Dröge
bd5987a3d2
pulsesink: Flush shm buffer immediately if it's full
2010-06-09 16:22:27 +02:00
Sebastian Dröge
57813d469f
pulsesink: Fix writing of buffers larger than segsize
...
Fixes bug #620540 .
2010-06-09 16:21:55 +02:00
Sebastian Dröge
b78a27beb2
pulsesink: Fix playback if PA doesn't give us a large enough shared memory buffer
2010-06-09 15:46:59 +02:00
Sebastian Dröge
1346068b5f
cmmlenc: Remove hack to let oggmux start a new page for every CMML buffer
...
oggmux does this for CMML by its own now
2010-06-08 07:35:00 +02:00
Tim-Philipp Müller
3486f49808
pulse: log message printf format fixes
2010-06-06 17:25:36 +01:00
Sebastian Dröge
dcae55852e
ext: Don't use GST_DEBUG_FUNCPTR for GObject vfuncs
2010-06-06 18:00:22 +02:00
Sebastian Dröge
5072c47624
Revert "pulsesink: Add comments to remove the provide-clock message posting once we depend on base 0.10.30"
...
This reverts commit 8f3708f38a
.
The baseaudiosink commit was reverted
2010-06-03 13:45:32 +02:00
Sebastian Dröge
8f3708f38a
pulsesink: Add comments to remove the provide-clock message posting once we depend on base 0.10.30
...
baseaudiosink does all this for us now.
2010-06-03 10:28:08 +02:00
Benjamin Otte
9715238056
pulse: Style fix: use g_strdup() instead of printf()ing a simple string
2010-06-02 14:20:26 +02:00
Pierre-Louis Bossart
66a76d1f65
pulsesink: optimize communication with PulseAudio using pa_stream_begin_write
2010-06-02 13:47:06 +02:00
Sebastian Dröge
f5057a9fae
pulsesink: Post provide-clock message on the bus if the clock appears/disappears
...
Fixes bug #620277 .
2010-06-02 10:52:56 +02:00
Mark Nauwelaerts
fb3a8cd47f
jpegdec: fix variable init
2010-06-01 15:56:41 +02:00
Thiago Santos
ca0652a572
pngenc: Support 8 bit grayscale
...
Adds support to 8 bit grayscale input
2010-06-01 09:06:04 -03:00
Thiago Santos
bca4ca631f
jpegdec: Adds 8bit grayscale support
...
Adds decoding support for jpeg images in 8 bit grayscale format.
2010-06-01 09:06:04 -03:00
Thiago Santos
d7a25fd109
jpegenc: Accept grayscale as input
...
Adds video/x-raw-grayscale (8 bit) support to jpegenc
2010-06-01 09:05:29 -03:00
Sebastian Dröge
b678815316
gdkpixbuf: Add a gdkpixbuf3 plugin that uses gdkpixbuf3
2010-06-01 11:21:28 +02:00
Thiago Santos
e0c49a7590
jpegenc: Keep variables in sane state after _reset
...
When reseting, keep 'row' variables at a sane state after
freeing to avoid it being freed again on _resync realloc
when the element is reused.
Fixes #619943
2010-05-28 10:43:36 -03:00
Tristan Matthews
6628d20eac
speex: fix latency query
...
Speex should report 30 ms latency for narrowband mode, 34 otherwise.
Fixes #619018
2010-05-20 14:30:26 +02:00
Sebastian Dröge
a8103facc5
pulse: Don't lock the mainloop in NULL
2010-05-17 17:17:01 +02:00
Tim-Philipp Müller
035aead2d7
jpegenc: fix two leaks
...
Don't leak othercaps or jpegenc ref.
2010-05-14 17:30:40 +01:00
Wim Taymans
3cfd7968b4
jpegdec: increase acceptable output sizes
...
We can perfectly decode 1x1 images so lower the min width and height to 1.
Fixes #618392
2010-05-13 12:16:59 +02:00
Stefan Kost
c46642523c
pulsesrc: reflow to truncate caps just once
...
We get writable cpas from the intersection (unless it failed). As we truncate
those anyway, we don't need to manyaly copy the first structure.
2010-05-06 15:43:53 +03:00
Stefan Kost
226deb9b38
gdkpixbuf: don't leak template caps
2010-05-06 15:43:53 +03:00
Stefan Kost
566bd22435
jpegenc: also lift the arbitrary restrictions for width and height
...
This was already done for jpegdec.
2010-05-06 15:43:53 +03:00
Sebastian Dröge
4a492f2c8a
pulsesrc: Allocate/free PA mainloop during state changes
...
...also destroy the stream and context during state changes.
2010-05-06 14:03:11 +02:00
Sebastian Dröge
e69ba0f94f
pulsesink: Allocate and free the custom clock in NULL<->READY
2010-05-06 13:57:01 +02:00
Sebastian Dröge
5332287e2d
pulsesink: Create and free the PA mainloop in NULL->READY/READY->NULL
...
This fixes a race condition, when stopping the mainloop during finalization
is done from a mainloop callback.
Fixes bugs #614765 and #590662 .
2010-05-06 13:51:59 +02:00
Sebastian Dröge
ef8d113a73
pulse: Don't compare values of two different enum types
2010-04-30 22:22:25 +02:00
Mark Nauwelaerts
52c71352e0
jpegdec: optimise buffer scanning
...
Specifically, when needing more data, do not rescan from start next time
around, but resume from last position.
See also #583047 .
2010-04-30 17:49:24 +02:00
Mark Nauwelaerts
761b883f2c
jpegdec: disregard superfluous lines when indirect decoding
2010-04-30 17:49:15 +02:00
Mark Nauwelaerts
78a2b22ed5
jpegdec: add support for RGB and grayscale color space
...
Also refactor src caps negotiation and setting.
2010-04-30 17:49:11 +02:00
Mark Nauwelaerts
b0ac4a4560
jpegenc: support more colour spaces and some cleanups
2010-04-30 17:49:09 +02:00
Mark Nauwelaerts
c5614dbb40
jpegenc: more generic sink getcaps
2010-04-30 17:49:05 +02:00
Mark Nauwelaerts
cec48383b1
jpegdec: more sanity checks on input
...
Specifically, verify input components / colour space is as code
subsequently expects, thereby avoiding crashes or otherwise bogus output.
Presently, that means 3 components YCbCr colour space, and somewhat
limited sampling factors.
Fixes #600553 .
2010-04-30 17:49:03 +02:00
Tim-Philipp Müller
6b2a0c7c46
jpegdec: don't crash if jpeg image contains more than three components
...
Our code currently only handles a maximum of 3 components, so error
out for now if the image has more components than that.
Fixes #604106 .
2010-04-25 23:15:42 +01:00
Tim-Philipp Müller
1351af141d
flactag: fix adapter assertion when used directly after flacenc
...
Unlike filesrc, flacenc outputs the flac blocks neatly aligned one in
each buffer. This means that when we switch from metadata mode to
audio data passthrough mode, there's no data left in the adapter to
push out at this point, so check if there's data in the adapter
before requesting buffers from it (also needed in case we get input
buffers of 0 size).
Fixes #615793 .
2010-04-15 09:44:51 +01:00
Benjamin Otte
59f2cb3cb9
shout2: Don't wait if we're late
...
In fact, due to signedness issues, a negative delay would be changed to
an almost infinite wait causing shout2send to "lock up".
Reported by Christopher Montgomery.
2010-04-08 15:57:36 +02:00
Stefan Kost
7e5d4b0fa9
jpegdec: move macro to c source
...
One less semi public symbol without namespace prefix in the headers.
2010-04-08 13:40:36 +03:00
Stefan Kost
8695f5a8a5
speexenc: remove unused defines
2010-04-08 13:40:09 +03:00
Stefan Kost
e032fd753e
speex: remove unused define
2010-04-08 13:16:53 +03:00
Stefan Kost
7cf9967e0b
pulsesink: fix racy shutdown
...
Keep a ref of pulsesink for deferred mainloop invocation. Fixes #614765
2010-04-06 17:22:03 +02:00
Thiago Santos
b1984b72bb
jpegenc: Fix getcaps function
...
When creating the caps allowed to upstream using downstream
restrictions, use gst_pad_get_allowed_caps as that has the
usable formats and puts into it the width, height and framerate
fields. This avoids getting errors about getcaps returning
non subset caps of its pad template.
This error showed up on the metadata plugin unit test in -bad.
2010-04-05 16:09:58 -03:00
André Dieb Martins
74ac172bc2
jpegenc: should not return caps ANY based on downstream
...
When downstream has a sink pad with ANY caps, jpegenc should
treat it the same as NULL and return its template caps.
Fixes #614842
2010-04-04 21:30:06 -03:00
Tim-Philipp Müller
d756bab488
build: build plugins and examples in parallel where possible
2010-03-29 11:00:57 +01:00
Sebastian Dröge
e9b267ae02
flacdec: Improve debugging and add some FIXMEs
2010-03-26 14:55:53 +01:00
Sebastian Dröge
b139cad3aa
flacdec: Sample rate markers 0x01, 0x02 and 0x03 are valid
...
They are for 88.2kHz, 176.4kHz and 192kHz.
2010-03-26 14:42:06 +01:00
Sebastian Dröge
2e42e82037
flacdec: Take samplerate, width and number of channels from the STREAMINFO
...
...and update it from the frame headers if it should change for some reason.
This allows playback of files with odd sample rates.
2010-03-26 14:16:39 +01:00
Raimo Järvi
10f092dc61
jpegenc: Set correct getcaps/setcaps functions on srcpads and simplify them
...
This fixes downstream negotiation, upstream negotiation isn't really
supported by jpegenc yet.
Fixes bug #613789 .
2010-03-26 13:34:17 +01:00
Edward Hervey
9d77bcfb29
souphttpsrc: Set the Content-Type HTTP header on the caps.
...
First step to fixing ShoutCast (NSV) streaming.
2010-03-23 19:48:24 +01:00
Stefan Kost
f1a75adcbc
i18n: build fixes: #if -> #ifdef for ENABLE_NLS
2010-03-22 17:26:37 +02:00
Benjamin Otte
412cc10314
Add -Wold-style-definition flag
...
And fix the warnings
2010-03-21 15:17:46 +01:00
Benjamin Otte
3f511ec361
Add -Wwrite-strings to the configure flags
...
... and fix all warnings
2010-03-21 14:17:47 +01:00
Andoni Morales Alastruey
63624f966e
dv1394src: Fix internal clock
...
Fixes #593910 .
2010-03-18 21:37:51 +00:00
Tim-Philipp Müller
073201b329
build: Makefile.am cleanups
...
Mostly add $(GST_BASE_CFLAGS) where it was missing, but also fix up
order of flags and libs if needed (see docs/random/moving-plugins).
2010-03-18 21:34:24 +00:00
Benjamin Otte
cccfeaa59c
gst_element_class_set_details => gst_element_class_set_details_simple
2010-03-18 14:32:00 +01:00
Mark Nauwelaerts
5a082af3aa
pulse: use #ifdef rather than #if conditionals
2010-03-18 12:44:53 +01:00
Benjamin Otte
c76e72a7f5
Add -Wundef to configure flags
...
and fix the resulting warnings
2010-03-17 21:33:28 +01:00
Benjamin Otte
1055aaa9cb
Add -Wredundant-decls warning flag
...
Also fix compile issues
2010-03-17 19:35:10 +01:00
Benjamin Otte
3342b1679e
Add -Wmissing-declarations -Wmissing-prototypes warning flags
...
And fix all the warnings.
2010-03-17 18:23:28 +01:00
Stefan Kost
b892d23090
soup: also use g_value_set_static_string() here for static strings
2010-03-16 23:41:43 +02:00
Руслан Ижбулатов
bc873f7133
pngenc: Use png_get_io_ptr() instead of accessing io_ptr directly
...
Fixes #612700 (for the last time!)
2010-03-16 15:20:21 +01:00
Sebastian Dröge
fdc7b73675
speexdec: Use speex_stereo_state_init() instead of the deprecated initialization macro
...
Fixes bug #612777 .
2010-03-15 14:16:58 +01:00
Sebastian Dröge
a7a0afa5c4
cairotextoverlay: Don't render text outside the frame boundaries
...
Fixes bug #611986 .
2010-03-15 13:41:56 +01:00
Руслан Ижбулатов
43e3e5c0d7
pngenc: Call png_jmpbuf() instead of accessing png_struct_ptr directly
...
Fixes #612700 (again)
2010-03-14 20:09:32 +01:00
Руслан Ижбулатов
0ce782383f
pngenc: Call png_error() instead of using longjmp() directly.
...
Fixes #612700
2010-03-13 06:13:00 +01:00
Tim-Philipp Müller
954064a8d6
souphttpsrc: fix metadata writable warnings
...
Set metadata on buffer first, when the refcount is still 1, and only
ref again afterwards.
2010-03-11 15:25:55 +00:00
Mark Nauwelaerts
4abf31067f
speexdec: adapt to new oggdemux
...
Remove all granulepos hacks and simply use upstream timestamps.
2010-03-10 11:48:06 +01:00
Mark Nauwelaerts
972ce3006b
speexdec: refactor granulepos hacks
2010-03-10 11:48:06 +01:00
Benjamin Otte
2a5f368bc7
png: fractions don't allow doubles
2010-03-09 19:15:07 +01:00
Tim-Philipp Müller
de56a874ae
flacdec: don't send second newsegment event in framed mode, fixes long playback delay
...
Don't send another newsegment event if the upstream muxer/parser has already
sent one (otherwise the sink will wait for $duration before starting playback).
Fixes long delay until playback starts with flac-in-ogg files.
Fixes #610959 .
2010-03-08 17:10:31 +00:00
David Hoyt
ad05705afb
jpegdec: Fix invalid memory access by first checking and then reading
...
Fixes bug #610483 .
2010-02-22 20:55:29 +01:00
Philippe Normand
3ab666762f
pulsesink: gst_pulsesink_get_mute: set result earlier.
...
In the cases where no buffer was process yet or the index is not
available, get_pulsesink_get_mute() would unconditionally return
FALSE.
https://bugzilla.gnome.org/show_bug.cgi?id=610337
2010-02-22 20:49:03 +01:00
Stefan Kost
45522aab46
jpegenc: add a fixme for handling other YUV variants
2010-02-16 10:15:22 +02:00
Tim-Philipp Müller
63c86ac3d8
raw1394, matroska, rtpmanager: remove padding from structures
...
None of these element and class structures are in public headers,
so don't need padding.
2010-02-15 00:50:10 +00:00
Tim-Philipp Müller
3f2a803c48
pulsesink: add comment for translators for 'x by y' message
...
Fixes #609724 .
2010-02-15 00:45:51 +00:00
Sebastian Dröge
c78b3b1332
cairorender: Fix leaking of pad templates
2010-02-15 01:28:44 +01:00
Stefan Kost
f70dbd0eb7
speex: add missing include
2010-02-12 15:35:30 +02:00
Wim Taymans
55b5e2e3f3
pulsesink: avoid segfault when shutting down
...
when we are shutting down, we might still receive state updates from pulseaudio
but since we are unparented we should not do anything with the NULL parent
anymore.
2010-02-12 13:53:57 +01:00
Sebastian Dröge
27b203b030
flacdec: Only flush the FLAC decoder if it wasn't created right before
...
If the FLAC decoder is flushed, its state will be set to frame-sync mode,
which will sync to the next *audio* frame and makes it ignore all headers.
This prevented tags and everything else to show up when using flacdec
in push mode.
Fixes bug #608843 .
2010-02-12 10:54:18 +01:00
Mark Nauwelaerts
c2eedfcceb
speexdec: initialize stereo decoding state
2010-02-02 16:54:09 +01:00
Stefan Kost
a9f5bbe1ff
jpeg: don't directly access message, some message have args
...
This caused bogus messages, such as reported in bug #607471 .
2010-02-02 17:23:49 +02:00
David Hoyt
2514421c13
png: fix compilation with libpng 1.4
...
png_set_gray_1_2_4_to_8() has been deprecated for a while and was
finally removed in libpng 1.4.x. Use png_set_expand_gray_1_2_4_to_8()
instead.
Fixes #608629 .
2010-02-02 00:04:34 +00:00
Mark Nauwelaerts
77509c80c9
speexdec: free some more when resetting
...
Fixes #608255 .
2010-01-27 17:05:52 +01:00
Mark Nauwelaerts
c529145e4b
speexenc: prevent invalid arithmetic if not setup yet
...
Fixes #608255 .
2010-01-27 17:05:04 +01:00
Stefan Kost
8576a11dae
Revert "v4l2src: don't deref NULL"
...
This reverts commit 3d9d34bd60
.
2010-01-25 17:21:13 +02:00
Stefan Kost
3d9d34bd60
v4l2src: don't deref NULL
...
Error out when the pool gets shutdown.
2010-01-25 14:16:22 +02:00
Michael Smith
e5b6c1324b
jpegenc: when creating an overflow buffer, copy timestamps.
2010-01-23 15:32:48 -08:00
Peter van Hardenberg
701c7d4b2a
jpegenc: enlarge buffer if libjpeg tells us it's out of space. Fixes buffer
...
overflow on some high-quality, low-resolution jpeg encodes.
2010-01-21 17:26:23 -08:00
Sebastian Dröge
34d9da8a02
apev2mux: Don't call constructors directly, this leads to compiler errors with gcc 4.5
2010-01-13 09:18:27 +01:00
Mark Nauwelaerts
47dc716790
flacenc: fix seekpoints property copy-and-paste documentation
2010-01-08 18:04:35 +01:00
Mark Nauwelaerts
fe1128e40b
flacenc: optionally add a seek table
...
API: GstFlacEnc:seekpoints
Fixes #351595 .
2010-01-08 17:43:37 +01:00
Mark Nauwelaerts
a76af918d0
flacdec: really use upstream timestamp if there is one
...
See/fixes #603471 .
2010-01-06 14:14:28 +01:00
Robert Weidlich
5479255130
shout2send: Add 'public' property
...
Adds a property to set 'public' flag on libshout, making
the stream listed on the server's stream directory.
Fixes #605269
2010-01-04 09:28:36 -03:00
Mark Nauwelaerts
636738d9f2
flacdec: use a single decoder field for both push and pull mode
2009-12-23 19:39:56 +01:00
Mark Nauwelaerts
d6633d6edc
flacdec: fix possible hanging in pull mode seeking
...
A seek in multi-sink pipeline typically leads to several seek events in a row,
which could lead to sending several newsegments in a row without intermediate
flushing. These would then accumulate, distort rendering times and as such
lead to 'hanging'.
2009-12-23 19:39:54 +01:00
Sebastian Dröge
648f0f0b50
ladspa: Remove the sources from gst-plugins-good
...
It's disabled anyway and the latest version of it is in
gst-plugins-bad. Fixes bug #603779 .
2009-12-04 14:43:41 +01:00
Thiago Santos
8cb3452ac4
shout2: Convert delay correctly
...
Use GST_MSECOND to convert delay in msecs to nanosecs
Fixes #603547
2009-12-02 13:33:20 -03:00
Wim Taymans
384c4a2495
jpegdec: reset segment info after flush
...
Reset the segment info after a flush. We use the segment for handling QoS and if
we don't reset the segment, QoS is basically disabled after a flushing seek.
2009-12-01 19:25:04 +01:00
Wim Taymans
4519bdc983
shout2: use gstpoll for timeouts
...
Use our own GstPoll based timeout instead of the shout sleep so that we can
interrupt when doing a state change and shutting down.
Fixes #602887
2009-11-28 19:23:26 +01:00
Stefan Kost
b753e177fb
jpegenc: fix spelling in comment
2009-11-24 15:51:21 +02:00
Sebastian Dröge
59a53cfd36
wavpackparse: After pushing a frame, update last_stop to the end of the frame
...
This improves position reporting, especially because of the fact that
WavPack frames are usually 0.5-1.0 seconds long.
2009-11-19 16:10:55 +01:00
Sebastian Dröge
9f5adb2ca3
wavpackparse: Allow pulling the last WavPack frame of a file
...
Because of a >= instead of a >, that last frame of a WavPack file
would never be parsed in pull mode.
2009-11-19 16:10:55 +01:00
Wim Taymans
0694be2a82
pulsesink: use acquired flag when checking valid state
...
Use the acquired field of the ringbuffer in get_time to know when we are in an
invalid state. We don't clear the rate flag when releasing the ringbuffer so
this values is not usable.
Avoids some error messages being posted because the pulseaudio connection is
down.
2009-11-18 17:27:19 +01:00
Wim Taymans
f85cf3e200
pulsesink: implement some more callbacks
...
Implement some more callbacks for debugging purposes.
2009-11-18 12:01:52 +01:00
Tim-Philipp Müller
7af7d93b27
jpegdec: free temporary buffer when changing state to NULL
...
Free temporary allocations in the state change function and not
only when the object is finalised.
2009-11-09 15:20:00 +00:00
Tim-Philipp Müller
26e7fe27d7
jpegdec: only allocate as much temporary memory as needed for indirect decoding
...
When we can't decode directly into the output buffer, make our temp buffers
only as big as needed instead of allocating for the worst case scenario (well,
we still alloc more than strictly needed for some cases, but significantly
less than before).
2009-11-09 15:18:58 +00:00
Tim-Philipp Müller
2270d3359a
pulsesink: printf format fix
2009-11-05 23:46:58 +00:00
Tim-Philipp Müller
f50f516eca
raw1394: printf format fixes
2009-11-05 23:44:27 +00:00
Stefan Kost
e3e910e971
jpegdec: don't allocate big arrays on the stack
...
Add the arrays to the instance data and allocate on first use.
2009-11-03 17:49:24 +02:00
Sebastian Dröge
3f541452c4
pulsesink: Only set the volume on stream connection if pulse >= 0.9.20 is available
...
In older versions the volume set during stream connection had
no defined sematic and usually it was a relative volume. What
was needed for our use case is an absolute volume though, otherwise
the volume will be always decreased on stream connection if it's
less than 100%.
Since pulse 0.9.20 that volume is always an absolute volume if
flat volumes are used and relative otherwise, which is the same
as for pa_context_set_sink_input_volume().
Relevant pulse changesets:
http://git.0pointer.de/?p=pulseaudio.git;a=commit;h=f27a50691c8fe45bac7dd6b21fac91a359def3a1
http://git.0pointer.de/?p=pulseaudio.git;a=commit;h=2501687579e359d5032a4d165b2ffc8f5b1b8ba6
2009-10-30 09:27:59 +01:00
Priit Laes
34a7a90f57
cacasink: minor cleanups for header.
...
Use G_BEGIN_DECLS macros, remove unused variables and fix typo.
See #599018 .
2009-10-22 02:03:12 +01:00
Priit Laes
45042dffbc
cacasink: exit properly when invalid driver has been selected.
...
See #599018 .
2009-10-22 02:03:01 +01:00
Bastien Nocera
a1ac55c7a5
Fix the StreamVolume interface not being advertised
...
gst_pulsesink_interface_supported() was missing a check for it.
https://bugzilla.gnome.org/show_bug.cgi?id=598933
2009-10-19 15:36:20 +01:00
Lennart Poettering
e4d6a2aa2c
pulse: never apply volume more than once
...
Generally decisions on the volume of the stream should be done inside of
PA, not inside of Gst. Only PA knows how volumes translate between
devices and s on.
This patch makes sure that all volumes set via the volume property are
only applied *once* to the underlying stream. After applying them the
client side will not store them anymore. This should make sure that
really only user-triggered volume changes are forwarded to server, but
the client never tries to save/restore the volume internally.
Fixes bug #595231 .
2009-10-18 10:15:59 +02:00
Sebastian Dröge
92fd59024b
pulsesink: Initialize gettext for the translated strings in plugin_init()
2009-10-17 09:00:00 +02:00
Lennart Poettering
89b0c2fc4f
pulse: use 'performer' as a fallback for 'artist' tag
2009-10-17 08:48:23 +02:00
Lennart Poettering
76c8ca4b00
pulse: when constructing a stream title from tag data make sure it is translatable
2009-10-17 08:48:23 +02:00
Lennart Poettering
fd75286dd1
pulse: loop while connecting to server
...
pthread does not guarantee that there are no spurious condition variable
wakeups, neither does pa_threaded_mainloop_xxx() which is a wrapper
around it. So we need to loop around the _wait() function to make sure
we get the right wakeup.
Also, unify the order of the wait loops across the file.
2009-10-17 08:48:23 +02:00
Lennart Poettering
48c3bd303f
pulse: mainloop creation can fail too, so handle that
2009-10-17 08:48:23 +02:00
Lennart Poettering
3188f5699b
pulse: adjust CHECK_DEAD_GOTO macro to glib style
2009-10-17 08:48:23 +02:00
Lennart Poettering
d64200f46b
pulse: make a few things smaller by making them bitfields
2009-10-17 08:48:21 +02:00
Tim-Philipp Müller
c83ea23a03
jpegdec: fix branch hints
...
Remove inappropriate branching hints and add some new ones.
2009-10-16 13:41:45 +01:00
Tim-Philipp Müller
4fb3f2519c
jpegdec: fix regression in indirect decode path
...
Revert variable name back to what it was before the G_LIKELY was
added (in commit 69c24fb9
). The code works better that way.
2009-10-16 13:36:42 +01:00
Tim-Philipp Müller
0c92e70f6c
jpegdec: fix regression with certain formats
...
Fix regression introduced by previous commit (#598517 ).
2009-10-16 13:00:12 +01:00
Tim-Philipp Müller
30cb82da96
jpegdec: don't use decompress structure members we shouldn't be using
2009-10-16 13:00:12 +01:00
Tim-Philipp Müller
19b4f66014
jpegdec: remove some unused members from jpegdec instance structure
2009-10-16 13:00:12 +01:00
René Stadler
f9274226e8
pulsesink: set desired minreq value to segsize/latency-time
...
If we let the daemon decide freely by passing -1, we end up always getting 20ms.
We want to set this value because in some cases we want to select a higher
latency-time in order to save power.
Fixes #597601
2009-10-14 12:05:14 +02:00
Tim-Philipp Müller
87bd79f4ba
jpegdec: fix bogus warning about discont flag on first buffer
...
The very first buffer should always have the DISCONT flag set, no
need to warn about that. Only warn if we get a DISCONT buffer in
non-packetised mode and we already have some data.
2009-10-13 01:10:59 +01:00
Tim-Philipp Müller
6ae6af9dab
jpegdec: fix crash for unusual vertical chroma subsampling factors
...
Fixes #597351 .
2009-10-13 01:10:59 +01:00
Josep Torra
c581e6f205
jpegdec: fixes warning building in snow leopard
2009-10-10 00:37:08 +02:00
Stefan Kost
f1fe1f52fd
flac: apparently on some platforms a FLAC__uint64!=guint64
2009-10-09 14:37:32 +03:00
Stefan Kost
f41d7e7bd5
build: don't cast, but use the right format specified instead
...
This correct some of the previous macos fixes.
2009-10-09 13:54:24 +03:00
Josep Torra
696e350c7b
dv: fix warnings on macosx
2009-10-09 12:40:47 +02:00
Josep Torra
133ebe76a3
flac: fix warnings on macosx
2009-10-09 12:25:19 +02:00
Josep Torra
6320de853b
annodex: fix warnings in macosx
2009-10-09 12:19:35 +02:00
Stefan Kost
e0cdd879b4
build: fprintf, sprintf, sscanf need stdio.h
2009-10-07 14:03:20 +03:00
René Stadler
15c6175044
pulsesrc: guard fragment size with a lower limit based on latency-time
...
In case that the pulse daemon runs the source device at a relatively low fixed
fragment size compared to the requested latency-time, configure the ring buffer
segsize to the largest integer multiple of the fragment size that is still
smaller than or equal to the requested latency-time.
Fixes bug #597463 .
2009-10-06 20:54:20 +03:00
Stefan Kost
86b8935b07
jpegdec: comment/logging cleanups and more branch guides
2009-10-06 17:46:49 +03:00
René Stadler
ccddf0643d
pulse: rename pa_buffer_attr variables
...
Makes it much easier to see what is going on and is a lot less error prone.
2009-10-02 23:21:02 +03:00
Christian F.K. Schaller
e2623815d1
Update makefile with missing header file
2009-09-30 18:06:07 +01:00
Stefan Kost
b1feeee166
jpegdec: don't leak output buffers on decoding errors
...
The setjmp handles libjpeg error. Free the outputbffer if we don't need it.
2009-09-30 09:19:48 +03:00
Tim-Philipp Müller
477cb58640
jpegdec: fix 'unused variable' compiler warning when compiling with GST_DISABLE_GST_DEBUG
2009-09-29 00:01:59 +01:00
Stefan Kost
69c24fb991
jpeg: handle more libjpeg return values, add some more branch hints
...
Also remove unused size variable in _chain().
2009-09-28 17:25:35 +03:00
Alessandro Decina
195883b30a
Fix compile warnings with gcc 4.0.1.
2009-09-22 15:04:36 +02:00
Stefan Kost
253f43203d
jpegdec: add a G_UNLIKELY and put perf-cat log to code path that copies
2009-09-21 16:07:50 +03:00
Mark Nauwelaerts
50c41acdff
speexdec: allow for unknown varying number of frames per buffer
...
In particular, this caters for RTP payloads with multiple frames
per packet.
2009-09-18 14:46:38 +02:00
Mark Nauwelaerts
35f9efac88
speexdec: use correct sample size in conversions
2009-09-18 14:46:38 +02:00
Mark Nauwelaerts
f4482e4ae3
speexenc: fix buffer time and duration for multiple frames per packet
2009-09-18 14:46:38 +02:00
Sebastian Dröge
317d6e18a2
pulsesrc: Don't dereference NULL pointers
...
pa_stream_get_timing_info() can return NULL.
Fixes bug #595220 .
2009-09-15 10:05:51 +02:00
David Henningsson
bb787f1030
pulsesink: Don't dereference NULL pointers
...
pa_stream_get_timing_info() can return NULL.
Fixes bug #595220 .
2009-09-15 10:05:51 +02:00
Wim Taymans
ccda761562
pulsesink: handle stream events
...
Handle stream events and request a PAUSE/PLAY state change from the application
when we receive a CORK/UNCORK event.
2009-09-14 16:05:30 +02:00
David Schleef
903c79e767
dvdemux: Use values from decoder structure directly
...
Don't store the same values in the GstDvDemux. This
fixes a bug where dvdemux would detect a stream as PAL
instead of NTSC, and silently parse it wrong.
2009-09-13 19:59:45 -07:00
David Schleef
29173242bb
dvdemux: Add code to parse SMPTE time codes
...
Code to convert time codes to/from timestamps and frame numbers.
2009-09-13 13:22:35 -07:00
David Schleef
1b57f19509
dvdemux: Fix detection of new media
...
There are 5 or 6 AAUX source control packs in a frame, and any
of them could have REC_ST cleared, indicating a recording start
point. libdv only checks the first.
2009-09-13 12:34:07 -07:00
Edward Hervey
b1dab0fce1
dvdemux: Set DISCONT flag on buffers when REC_ST flag is set.
...
Also add a few branch prediction macros
2009-09-12 19:26:56 +02:00
Sebastian Dröge
0c50816aaa
pulsesink: Implement GstStreamVolume interface
2009-09-11 16:38:03 +02:00
Sebastian Dröge
7fb6ad6d4c
pulsesink: Implement mute property
2009-09-11 16:38:03 +02:00
Wim Taymans
d4316e74fc
gdkpixbufsink: fix docs refering to send-messages
2009-09-11 13:33:31 +02:00
Wim Taymans
9fb92af2df
pixbufsink: add post-messages property
...
Add post-messages and deprecate send-messages as the former is more
descriptive of what actually happens.
2009-09-11 13:20:06 +02:00
David Schleef
3dc2c2472c
dv1394src: Add a clock based on isochronous cycle counter
...
Partial fix for #169383 .
2009-09-09 18:19:56 -07:00
Wim Taymans
42ee5e22a2
pulsesink: remove ringbuffer reset compensation
...
Remove the code to deal with a ringbuffer reset as this code is now in the base
class.
Bump the -base requirement as we need the new baseaudiosink code to function
properly.
2009-09-09 16:25:06 +02:00
Wim Taymans
75a48e238a
pulsesink: whitespace fixes
2009-09-09 16:24:49 +02:00
Wim Taymans
ca7bec0d65
pulse: small cleanups
...
Add some debug info
Fix the state changes
2009-09-08 19:34:09 +02:00
David Schleef
55d2754098
Remove Ronald Bultje from Authors field
...
Replaced with "GStreamer maintainers
<gstreamer-devel@lists.sourceforge.net>" or just removed,
depending on the number of other authors.
2009-09-05 20:53:10 -07:00
Edward Hervey
65d90baf84
jpegdec: Avoid unnecessary processing until we have a full picture.
...
This is for non-packetized mode, when we know the upstream size in bytes.
2009-09-03 17:40:20 +02:00
Stefan Kost
0541c44add
speexenc: small taglist handling cleanup
...
Don't eventualy leak the list and instead assert (like in other elements).
2009-09-03 14:48:14 +03:00
Stefan Kost
e82e16480d
pulsesink: also guard reseting subscribe callback with ifdefs
...
It is conditionaly set, so do the same when unsetting.
2009-09-02 23:14:20 +03:00
Tim-Philipp Müller
d875e72b02
flactag, wavparse: GstAdapter is not a GstObject
2009-08-31 13:07:53 +01:00
Wim Taymans
abee4f1d64
pulsesink: don't use relative seeks
...
Don't use relative seeks, it's too hard to track where we are after a flush
etc.
fixes #593015
2009-08-25 17:33:04 +02:00
Wim Taymans
08808f7f32
pulsesrc: don't discard the result of _set_caps()
...
Use the result of gst_pad_set_caps() instead of assuming success.
See #590678
2009-08-24 16:22:47 +02:00
Tim-Philipp Müller
68c4019057
smokeenc: don't crash when compiled against libjpeg7
...
Set parameters so that we don't crash with libjpeg7. Based on
Stefan Kost's fix for jpegenc. Fixes #591951 .
2009-08-17 17:08:45 +01:00
Zaheer Merali
8dd9583357
dvdec: set bottom field first on PAL interlaced content, not top field first
...
DV interlaced content is always bottom field first. Fixes #591712 .
2009-08-14 13:34:53 +01:00
Edward Hervey
d522f94f98
dv1394src: Fix element for live usage... which has been broken for 2 years :(
...
This is a live source, therefore:
* Use GST_FORMAT_TIME as the default format
* set_timestamp to True
* properly implement query latency.
This allows expected live usage like : playbin2 uri=dv://
2009-08-10 09:58:34 +02:00
Edward Hervey
3fd4cdcc43
raw1394: Remove unneeded variable
2009-08-10 09:58:34 +02:00
Sebastian Dröge
153ae910a0
wavpack: Use GLib GChecksum instead of our own MD5 implementation
...
This requires GLib 2.16 but that version is already required by core anyway.
2009-08-10 09:54:16 +02:00
Sebastian Dröge
c42f0ad5b6
souphttpsrc: Use SOUP_METHOD_GET instead of "GET" string
...
Fixes bug #590970 .
2009-08-06 21:24:14 +02:00
Wim Taymans
b32ef1d51e
pulsesrc: set the default slave method to skew
...
Set the default slave method to the much better skew algorithm. This is the
default in the new base class but we override this here as well for the
upcomming release.
2009-08-06 13:03:13 +02:00
Tim-Philipp Müller
1425c46e20
pulsesrc: fix compilation with --disable-gst-debug
2009-08-06 10:21:38 +01:00
Jonathan Tellier
dbf4d8a910
pulsesrc: initialize the probe with the server
...
When creating a new probe, pass the server instead of the device string.
fixes #590401
2009-08-03 13:32:12 +02:00
Tim-Philipp Müller
a3c393248a
pulsesink: don't do logic within g_assert() statements
...
Otherwise that code will just be expanded to nothing when compiled
-DG_DISABLE_ASSERT (PS: why is mainloop_start() called in the init
function and not when changing state to READY?)
2009-08-02 11:49:17 +01:00
Tim-Philipp Müller
cee10cb439
flacdec: send newsegment event when operating push-based and unframed
...
For some reason flac doesn't call our metadata callback when we operate
in push mode with unframed input, but that's where we set up the
newsegment event (since that's where we'd get the duration from the
stream info header), so we didn't send a newsegment event at all in this
case. Hack around this by storing a generic newsegment event for now
which will be used if we don't replace it with a better one that
includes the duration.
2009-08-01 17:07:42 +01:00
Tim-Philipp Müller
3cf8790906
flacdec: small cleanups
...
Remove some callback indirections which are no longer needed because
there's only one decoder object type now. Also remove unused variable.
2009-08-01 16:48:36 +01:00
Tim-Philipp Müller
e8badc0686
flacdec: use gst_adapter_copy() to avoid unnecessary buffer merges
...
gst_adapter_peek() will merge buffers as needed, which we can avoid
here since we're doing a memcpy anyway and then flush the copied
data from the adapter right away.
2009-08-01 15:22:49 +01:00
Tim-Philipp Müller
33b686974e
flacdec: repair some broken indenting
2009-08-01 12:30:32 +01:00
Edward Hervey
4e6fcd2345
soup: Use "GET" instead of SOUP_METHOD_GET. Fixes build with libsoup-2.7.*
...
This is due to a quality API change in libsoup 2.7. SOUP_METHOD_* are now
integers and not strings... they could have changed the names.
2009-07-31 18:35:12 +02:00
Stefan Kost
a07a575209
jpeg: use longer macro names to not clash with some stupid windows defines
...
libjpeg headers pull some windows system inlcudes (on windows) that contain a
define for DEFAULT_QUALITY.
2009-07-30 17:57:53 +03:00
Wim Taymans
9c341347ba
pulse: conditionally compile newer stuff
...
configured_sink/source_usec in the timing_info is only since 0.9.11 so
conditionally compile this information.
fixes #590038
2009-07-29 12:13:20 +02:00
Wim Taymans
2d88251d9d
pulsesrc: cleanups
...
Keep track of the paused state of the source and leave the read function when
paused.
don't wait for a latency update when the delay is not yet known but simply
return 0 instead of blocking.
Keep track of the corked state of the stream.
Fix the state changes.
2009-07-28 18:34:15 +02:00
Wim Taymans
19233e9671
pulsesrc: set maxlength always to -1
2009-07-28 18:34:15 +02:00
Wim Taymans
1a89388f97
pulsesrc; cleanups, report real latency
...
Add some more debug info
Avoid some type casts
Report the real latency to the application.
2009-07-28 18:34:15 +02:00
Mark Nauwelaerts
7a89fb0468
jpegdec: when scanning for 0xff marker ends, ensure desired result
...
Otherwise, any non 0xff byte at end of data would be mistaken for
a tag byte, and in case of a frame_len 0 tag subsequently lead to an
infinite loop.
2009-07-28 16:18:38 +02:00
Wim Taymans
2308999849
pulsesink: avoid using ivalid stream indexes
...
when we get an invalid stream index from pulse because we were just starting,
avoid using it for getting and setting the volume.
Fixes #589365
2009-07-27 11:51:39 +02:00
Stefan Kost
23967b03a7
jpeg: make encoder work with libjpeg v7
...
We have to specify do_fancy_downsampling = FALSE in the encoder with did not exist before.
2009-07-24 10:50:13 +03:00
Sebastian Dröge
169283dfc2
flacdec: Implement SEEKING query
...
Fixes bug #589423 .
2009-07-23 12:07:33 +02:00
Colin Guthrie
4efca7b68e
pulsesink: Fix a couple error messages that mentioned incorrect function names.
...
Fixes #589459 .
2009-07-23 10:54:45 +01:00
Tim-Philipp Müller
375976c847
flacdec: fix intermittent FLAC__STREAM_DECODER_ABORTED errors when seeking
...
When seeking in a local flac file (ie. operating pull-based), the decoder
would often just error out after the loop function sees a DECODER_ABORTED
status. This, however, is the read callback's way of telling our loop
function that pull_range failed and streaming should stop, in this case
because of the flush-start event that the seek handler pushed upstream
from the seeking thread. Handle this slightly better by storing the last
flow return from pull_range, so the loop function can evaluate it properly
when it encounters a DECODER_ABORTED and take the right action.
Fixes #578612 .
2009-07-21 19:58:04 +01:00
Stefan Kost
11c93fc1df
jpeg: code cleanups for encoder
...
Remove some disabled code in encoder. Try #if 0'ed code and add comments about
why it is disabled. Move idct-method enum to jpeg.c and use in both encoder and
decoder. Add idct-method property to encoder.
2009-07-21 10:04:36 +03:00
Wim Taymans
b3c55f5ce5
pulsesink: set some values to their defaults
...
Set the minreq and maxlength buffer attributes to -1 to let puleseaudio select a
sensible value.
2009-07-20 19:09:19 +02:00
Wim Taymans
8bfd80e5a2
pulsesink: don't wait for posted message
...
We can't wait for the ENTER/LEAVE messages to be be posted because the base
class sometimes calls the start method with the object lock, which would block
the message posting.
Instead, just assume that the message will be posted soon and continue. We'll
have to fix this in the base class.
2009-07-20 19:07:19 +02:00
Wim Taymans
e914f5254a
pulsesink: use relative seeks
...
Use relative seeks because I was told that absolute seeks don't work.
2009-07-20 19:07:19 +02:00
Sebastian Dröge
9d9d08622b
cairorender: Add support for ARGB/BGRA input
...
Note that videotestsrc outputs 100% transparent video
which will result in white output from cairorender.
2009-07-20 08:08:22 +02:00
Sebastian Dröge
bdb1e59d77
cairorender: Add to the documentation
2009-07-17 13:49:21 +02:00
Sebastian Dröge
7ba6ef6672
cairorender: Return not-negotiated if we have no caps
2009-07-17 13:42:49 +02:00
Sebastian Dröge
52f17631d9
cairorender: Fix caps and colorspace handling
2009-07-17 13:41:19 +02:00
Sebastian Dröge
12fbfabb6a
cairorender: Use correct mimetypes for PDF and SVG
2009-07-17 13:30:02 +02:00
Sebastian Dröge
644e113064
cairorender: Remove pull mode, it only adds complexity but not advantages
2009-07-17 13:24:28 +02:00
Sebastian Dröge
5d0787aa20
cairorender: Fix caps negotiation and cairo surface creation
2009-07-16 21:55:31 +02:00
Sebastian Dröge
28bee12728
cairorender: Correctly set srccaps
2009-07-16 21:42:21 +02:00
Sebastian Dröge
13f23f81e8
cairorender: Move instance/class struct definitions to the header
2009-07-16 21:31:43 +02:00
Sebastian Dröge
0b990f3f6c
cairorender: Add Lutz' copyright to the file header
2009-07-16 21:30:00 +02:00
Lutz Mueller
596f53c84a
cairo: Add cairo-based PDF/PS/SVG encoder element
...
Fixes bug #331420 .
2009-07-16 21:27:45 +02:00
Sebastian Dröge
598e0c8cc6
flacenc: Optionally write a PADDING block
...
The size of the PADDING block is specified by a new
"padding" property.
Fixes bug #588483 .
2009-07-16 20:44:40 +02:00
Sebastian Dröge
226a125056
souphttpsrc: Only assume seekability if the server provides Content-Length
...
Previously seekability way always assumed until the first seek actually
failed. Now we assume that all servers are not seekable unless they provide
a Content-Length header. If a seek fails after that we continue to
assume no seekability. Fixes bug #585576 .
2009-07-16 19:35:44 +02:00
Arnout Vandecappelle
07c454d61e
souphttpsrc: don't try to authenticate if no username/password is set.
2009-07-16 17:14:15 +02:00
Olivier Crête
dbb8a331de
pulsesink: Emit stream-status leave message
...
Fixes #587695
2009-07-14 18:52:15 +02:00
Olivier Crête
b2e9f0a7c9
pulsesink: Emit stream-status enter message
...
Emit stream-status messages for the pulse thread.
Don't use our own GCond for signaling but simply use the pulse mainloop
mechanisms for synchronisation.
See #587695
2009-07-14 18:44:21 +02:00
Wim Taymans
b0643b745a
pulsesink: debug the latency update values
2009-07-14 18:15:59 +02:00
Wim Taymans
ab3bed81a5
pulsesink: add 24bit sample formats
...
Add check for pulseaudio 0.9.15 and enable 24bits samples in that case.
2009-07-14 16:14:34 +02:00
Edward Hervey
f2ba1229ba
flacdec: Don't send empty string tags
2009-07-01 08:40:40 +02:00
Stefan Kost
6d0007372b
pulsesink: include "1.0=100%" in volume and change upper limit
...
Upper volume limmit was 1000. That appear unneceasrily high. It would also cause
sever distortion if accidentialy used. Now its 10 (~ +15db) which is also in
sync with volume and playbin2.
2009-06-30 14:53:25 +03:00
Wim Taymans
ce7a24cbd9
pulse: some more trivial cleanups
2009-06-29 15:39:43 +02:00
Wim Taymans
53e19e71f1
pulse: trivial cleanups
2009-06-29 15:38:49 +02:00
Wim Taymans
1e98580204
pulsesink: clear ringbuffer when asked to
...
Since we map the ringbuffer to the pulseaudio internal ringbuffer, flush the
pulseaudio buffer when we are asked to clear the ringbuffer.
This avoids some leftover audio after a seek.
2009-06-29 15:21:37 +02:00
Stefan Kost
d260a92dce
souphttpsrc: free memory in finalize
...
finalize is called only once. no need to clear pointers there. dispose is for
unreffing.
2009-06-24 17:45:42 +03:00
Edward Hervey
ef02d1da1d
raw1394: sprinkle branch likeliness macros accross the code.
2009-06-24 12:37:38 +02:00
Tim-Philipp Müller
d0056049d3
dvdemux: post container-format tag
...
Also merge the two almost identical _add_*_pad() functions into one.
2009-06-22 10:49:02 +01:00
Tim-Philipp Müller
42936a73e6
dvdemux: don't screw up first audio buffer
...
Query the audio format, esp. dvdemux->num_channels, before we use that
variable to allocate the initial buffer. That way we don't accidentally
push a zero-sized buffer as first audio buffer.
2009-06-22 10:49:02 +01:00
Wim Taymans
b8e88710e1
pulseink: don't leak device_description
...
don't leak the device_description.
some cleanups.
2009-06-19 16:00:51 +02:00
Tim-Philipp Müller
e2ac5edc4b
souphttpsrc: reset session state when stopping
...
Increases the chances that the element is actually reusable.
2009-06-16 08:58:31 +01:00
Tim-Philipp Müller
185957c98b
souphttpsrc: log response and request headers and fix some broken indenting
2009-06-16 08:58:31 +01:00
Tim-Philipp Müller
dea67f3d96
pulsesink: ref custom ring buffer class and type in class_init
...
Hack around thread-safety issues in GObject and our racy _get_type()
functions (we could easily fix the _get_type() functions, but we still
need to hack around the GObject class races until we require a newer
GLib version, I think).
2009-06-15 15:51:32 +01:00
Tim-Philipp Müller
7ade32216f
Remove a few old example apps from the 0.8 days
...
Some have been replaced by newer ones, others are demoing elements that
don't exist any longer (not in -good anyway), and others have not been
touched in many years and it seem pointless to keep them around.
Removing these files makes sure we don't have any code in our repository
that uses Gtk+ symbols which are to be removed for GNOME3, and as such
will make some script that greps for this kind of stuff give us a clean
bill of code health. Fixes #585757 .
2009-06-14 19:19:19 +01:00
Wim Taymans
0bd984c52f
pulsesink: handle border cases in resampler
2009-06-11 19:18:52 +02:00
Stefan Kost
85ba1b3e6a
pulsesink: only notify if all checks passed
...
Replace goto done: with return, as those are checks when we don't want to flag a
pending notify.
2009-06-04 17:43:15 +03:00
Stefan Kost
44956f98d7
pulsesink: check pointer before accessing
...
Move existing check a few lines up, so that we check before accessing fields.
2009-06-03 18:23:53 +03:00
Stefan Kost
f77650c024
pulsesink: rename gst_pulse_sink_get_time to gst_pulsesink_get_time
...
Rename internal method for consistency.
2009-06-03 18:21:12 +03:00
Stefan Kost
2af7977e1d
pulsesink: use values from pa_stream_get_buffer_attr()
...
We were putting the requested values back into ringbuffer spec, instead of
using the queried values.
2009-06-03 18:19:22 +03:00
Jan Schmidt
d9544bcc44
pngdec: Avoid possible overflow in calculations
...
A malformed (or simply huge) PNG file can lead to integer overflow in
calculating the size of the output buffer, leading to crashes or buffer
overflows later. Fixes SA35205 security advisory.
2009-06-02 13:44:39 +01:00
Tim-Philipp Müller
552793473f
flacenc: some more logging - dump header packets
...
Also, the final fixing up of the headers is expected and not something
we should warn about.
2009-06-02 00:48:00 +01:00
Tim-Philipp Müller
53be1d33ca
flacenc: never ever pass values >36bits to _set_total_samples_estimate()
...
Let's be paranoid and make sure we never pass a number that takes up
more than 36 bits to _set_total_samples_estimate(), since libFLAC
expects all the other bits to be zero, and if this is not the case
neighbouring fields in the global stream info header may get messed
up inadvertently, so that flac -d refuses to decode the stream.
See #584455 .
2009-06-02 00:46:42 +01:00
Thomas Vander Stichele
0de1f5357d
Address bad FLAC sample length encoding of #5844455
...
Commit df707c6664
introduced an obvious bug in the sample length calculation,
using the wrong macro for conversion.
2009-06-01 22:33:02 +02:00
John Keeping
32491d5a51
pngdec: match g_malloc() with g_free()
...
Matching g_malloc() with a g_free() is important when a custom allocator is
installed.
Fixes #583803
2009-05-25 16:33:35 +02:00
Zeeshan Ali (Khattak)
1d6fd4b6dd
souphttpsrc: Set caps for audio/L16 content-type
...
When "Content-Type" header is "audio/L16", we need to set the caps on the
outgoing buffers so that downstream elements can have means to detect the
stream type and handle it appropriately. Tested with HTTP stream provided
by pulse-audio's http module (git master).
2009-05-22 00:55:08 +03:00
Zeeshan Ali (Khattak)
cd0e75ac1a
souphttpsrc: Rename icy_caps to src_caps
2009-05-22 00:55:08 +03:00
Philippe Normand
a0de8567ca
jpegdec: bump max size to 65535x65535
...
Remove artificial jpeg image limits.
Fixes #583048 .
2009-05-21 23:39:13 +02:00
Jan Schmidt
cf584105c6
pulsesink: Convert an erroneous assertion
...
Occasionally, we get a change callback for an old stream, triggering
the assertion unnecessarily. Just ignore such callbacks.
2009-05-21 21:16:14 +01:00
Olivier Crête
ca25de8f77
pulse: Print a warning on under/overflows
2009-05-21 22:05:11 +02:00
Tim-Philipp Müller
8accf2704b
flacdec: fix buffer leak
...
gst_buffer_replace() will take its own ref, so we still have
to unref the buffer if we don't need it any longer.
2009-05-13 09:18:07 +01:00
Tim-Philipp Müller
2e67ccde81
raw1394: include stdlib.h for strtol()
...
Fixes compiler warning when compiling with xml stuff in core disabled.
2009-05-08 19:42:10 +01:00
Edward Hervey
e8cbbd22f8
flacdec: Actually output the pending buffer.. and not a blank one.
...
It was previously sending the bogus buffer which was returned from
the bufferalloc (required for reverse negotiation apparently) instead
of the pending buffer.
2009-05-08 16:40:57 +02:00
Sebastian Dröge
9bf294c310
souphttpsrc: Allow non-string fields in the extra-headers property
2009-05-08 12:02:36 +02:00
Sebastian Dröge
1e34187973
souphttpsrc: Add support for extra-headers appended to the HTTP request
...
This allows to set the Referer header among other things by
adding a "extra-headers" property that takes a GstStructure
with field=string pairs.
Fixes bug #581806 .
2009-05-08 11:30:44 +02:00
Christian Schaller
bdf1698f35
Add RANKS for various encoders and muxers
2009-05-07 18:10:08 +01:00
Jan Schmidt
c41d3d87fa
flac: Make buffers created during seek act like normal buffers.
...
Store the offset and caps when allocating a buffer during seeking, and then
allocate a new buffer with buffer_alloc before we push it out. This ensures
that in all respects the first buffer decoded during seeking behaves like
all other buffers, including allowing downstream re-negotiation.
2009-05-06 14:24:20 +01:00
Thomas Vander Stichele
71acf2e900
flacdec: don't use pad_alloc when decoding while seeking. Fixes #579422
2009-05-06 15:28:46 +02:00
Arnout Vandecappelle
99efbfcf4d
jpegdec: refactored gst_jpeg_dec_parse_image_data
...
Fixes #579808
2009-05-06 13:22:51 +02:00
Arnout Vandecappelle
788986e269
jpegdec: support additional 0xff before end marker.
...
JPEG markers may be preceded by additional 0xff. jpegdec should
skip over these, even before the end marker.
See #579808
2009-05-06 13:11:53 +02:00
Wim Taymans
4606188039
jpegenc: set colorspace before _set_defaults()
...
The libjpeg api says that we need to set the colorspace before we call
_set_defaults(). Indeed, if we don't do that we end up with some very freaky
non-standard quant table and huffman table indexes.
2009-05-05 16:24:16 +02:00
Tim-Philipp Müller
3d9f6d9615
configure: make gdk-pixbuf plugin depend only on gdk-pixbuf, not gtk+
2009-05-05 13:20:47 +01:00
Alessandro Decina
434d20862b
speexdec: make speex_dec_convert work with same-format values when no data has been decoded.
2009-05-04 14:24:14 +02:00
Sebastian Dröge
9da04cd6af
flac: Implement preset interface
2009-05-04 12:43:42 +02:00
Sebastian Dröge
6e9d728249
speex: Implement preset interface
2009-05-04 12:41:56 +02:00
Sebastian Dröge
9bb965430f
wavpack: Implement preset interface
2009-05-04 12:40:36 +02:00
Wim Taymans
28afc6e591
pulsesink: make sure we always signal waiters
...
Always signal the waiters in the async callbacks. Especially for the volume
callbacks since this might cause deadlocks.
2009-04-30 10:32:39 +02:00
Sebastian Dröge
5a7edcbd81
flacenc: Use the tag merge mode that was set on the interface for merging tag events
2009-04-29 11:13:11 +02:00
Tim-Philipp Müller
8d8e9af0a8
jpegdec: fix warning for still images by not trying to divide by 0
...
Don't pass a 0 divisor to gst_util_uint64_scale(), or it will complain
in the single image case where fps=0/1 (are we supposed to differentiate
between no fps=still image and fps=0/1=variable rate here btw?)
2009-04-20 19:42:13 +01:00
Andy Wingo
034a4a771e
fix format string in pngdec
...
* ext/libpng/gstpngdec.c: Fix size_t vs unsigned int format in error message.
2009-04-20 15:54:31 +02:00
Edward Hervey
0cb5b42d54
Remove trivial unused variables detected by CLang static analyzer.
2009-04-18 18:51:28 +02:00
Edward Hervey
cdb03bdc2b
Remove blank {set|get}_property/change_state/finalize methods.
2009-04-18 18:51:27 +02:00
Edward Hervey
4a9e80720a
Remove unused variables in _class_init
...
Detected by LLVM's CLang static analyzer
2009-04-18 18:51:27 +02:00
Wim Taymans
c052906590
pulsesink: fix sample offset calculation again
2009-04-16 22:51:54 +02:00
Wim Taymans
776b0ae8cb
pulsesink: handle NULL timing info
...
Don't crash when the timing info is not yet available.
2009-04-10 21:32:54 +02:00
Stefan Kost
b3d66d5e8d
pulse: make it work on 0.9.12
...
First we ignore request to fill the ringbuffer which are less then a segment.
The small request where causing stutter.
Then we disable flushing the stream when running against pa 0.9.12 as this
triggers an assertiong in the sound server and terminates it. It does not happen
with 0.9.10 and 0.9.14.
2009-04-10 21:42:13 +03:00
Wim Taymans
963b343548
pulsesink: handle server disconnect in get_time
...
When the server is disconnected or when we are shut down, make our clock return
an invalid time instead of erroring out.
2009-04-10 14:18:48 +02:00
Wim Taymans
20a6908dfd
pulsesink: bps is signed int to avoid overflow
...
Keep bps as gint instead of guint because we will be doing signed math with it
later on and we don't want weird results.
2009-04-10 12:01:27 +02:00
Wim Taymans
7d438518fb
pulsesink: check for a stream
...
Don't try to change the stream volume (and other things) when we don't have a
stream yet. Just store the values for later.
2009-04-09 23:43:58 +02:00
Wim Taymans
ae83945349
pulsesink: fix compilation for newer pulseaudio
2009-04-09 18:07:38 +02:00
Wim Taymans
8d58de128d
pulsesink: uncork fixes and use prebuf = 0
...
We can use prebuf = 0 to instruct pulse to not pause the stream on underflows.
This way we can remove the underflow callback. We however have to manually
uncork the stream now when we have no available space in the buffer or when we
are writing too far away from the current read_index.
2009-04-09 17:26:21 +02:00
Wim Taymans
d849340e64
pulsesink: handle write errors
2009-04-09 17:26:20 +02:00
Wim Taymans
81c5fb9e48
pulsesink: write silence on underflow
...
Start filling up the buffer with empty samples when an underflow happens. We
need to do this to keep pulseaudio reporting the right time for us.
2009-04-09 17:26:20 +02:00
Wim Taymans
2e2f1d73ca
pulsesink: handle pull-based scheduling
...
Use the default basesink methods for implementing pull based scheduling, it
works fine for us.
2009-04-09 17:26:20 +02:00
Wim Taymans
8855ed90c0
pulsesink: add beginnings of pull-based scheduling
2009-04-09 17:26:20 +02:00
Wim Taymans
236baa5a13
pulsesink: keep track of clock reset
...
when we switch streams, the clock will reset to 0. Make sure that the provided
clock doesn't get stuck when this happens by keeping an initial offset. We also
need to make sure that we subtract this offset in samples when writing to the
ringbuffer.
2009-04-09 17:26:20 +02:00
Wim Taymans
6bc6cafcc6
pulsesink: rewrite pulsesink
...
Derive from BaseAudioSink and implement our custom ringbuffer that maps to the
internal pulseaudio ringbuffer.
2009-04-09 17:26:20 +02:00
Wim Taymans
28d733d53b
pulse: remove some stray debug lines
2009-04-09 17:26:20 +02:00
Tim-Philipp Müller
e14bae6637
jpegdec: use slightly more adaptive formula for QoS
...
Should work at least a tad better if the decoder can't keep up, and
should also spread dropped frames a bit more evenly over time.
2009-04-09 11:34:19 +01:00
Thomas Vander Stichele
8009fcf547
add pending_samples so that we only update segment's last stop after really sending the samples
2009-04-04 15:14:32 +02:00
Thomas Vander Stichele
fb4953a68d
add debugging
2009-04-04 15:14:31 +02:00
Thomas Vander Stichele
5e19fc1058
clipping should also work if it's done on the first buffer starting at 0
2009-04-04 15:14:31 +02:00