Commit graph

2469 commits

Author SHA1 Message Date
Tim-Philipp Müller
feecf1b666 ext/cdparanoia/gstcdparanoiasrc.c: Don't try to free NULL pointers.
Original commit message from CVS:
* ext/cdparanoia/gstcdparanoiasrc.c: (gst_cd_paranoia_src_close),
(gst_cd_paranoia_paranoia_callback):
Don't try to free NULL pointers.
2006-01-10 18:06:56 +00:00
Edward Hervey
927b499e9d gst/audiorate/gstaudiorate.c: Add debugging category.
Original commit message from CVS:
* gst/audiorate/gstaudiorate.c: (gst_audio_rate_chain),
(gst_audio_rate_change_state), (plugin_init):
Add debugging category.
Fix type issues.
Add case for incoming buffers without valid offset/offset_end.
2006-01-10 15:47:48 +00:00
Michael Smith
b0c21cab17 gst-libs/gst/audio/gstaudiosrc.c: Don't leak GCond in audio sources.
Original commit message from CVS:
* gst-libs/gst/audio/gstaudiosrc.c: (gst_audioringbuffer_dispose):
Don't leak GCond in audio sources.
2006-01-10 12:25:59 +00:00
Jan Schmidt
c65c75abe8 gst/playback/gstplaybin.c: Don't leak an autoaudiosink/alsasink when we generate a new audio element. (old code, I gu...
Original commit message from CVS:
* gst/playback/gstplaybin.c: (gen_audio_element):
Don't leak an autoaudiosink/alsasink when we generate
a new audio element. (old code, I guess)
2006-01-10 11:49:28 +00:00
Michael Smith
2c155599a1 gst/audiorate/gstaudiorate.c: Support float audio in audiorate.
Original commit message from CVS:
* gst/audiorate/gstaudiorate.c: (gst_audio_rate_setcaps):
Support float audio in audiorate.
Use width rather than depth for selecting sample width.
2006-01-10 11:04:21 +00:00
Tim-Philipp Müller
0e349ed810 gst/videotestsrc/videotestsrc.h: Use GLib types here (that way we don't have to include the generated _stdint.h heade...
Original commit message from CVS:
* gst/videotestsrc/videotestsrc.h:
Use GLib types here (that way we don't have to include the
generated _stdint.h header, which makes life easier for win32
folks that don't use autotools for the build) (#325990, patch
by: Sergey Scobich).
2006-01-10 10:06:53 +00:00
Tim-Philipp Müller
8ec22e812b gst-libs/gst/audio/gstringbuffer.*: Name (private) union, makes Forte compiler happy (this time for real) (#324900).
Original commit message from CVS:
* gst-libs/gst/audio/gstringbuffer.c: (gst_ring_buffer_init),
(gst_ring_buffer_set_flushing), (gst_ring_buffer_start),
(gst_ring_buffer_pause), (wait_segment):
* gst-libs/gst/audio/gstringbuffer.h:
Name (private) union, makes Forte compiler happy (this time
for real) (#324900).
2006-01-10 09:38:44 +00:00
Tim-Philipp Müller
3b96467f63 gst-libs/gst/audio/Makefile.am: Link against libgstinterfaces, needed for mixer and property probe stuff.
Original commit message from CVS:
* gst-libs/gst/audio/Makefile.am:
Link against libgstinterfaces, needed for mixer
and property probe stuff.
2006-01-09 10:52:33 +00:00
Edward Hervey
8a273afec0 gst-libs/gst/Makefile.am:
Original commit message from CVS:
* gst-libs/gst/Makefile.am:
2006-01-09 10:46:52 +00:00
Tim-Philipp Müller
e737f441d3 gst-libs/gst/audio/: Add gst_audio_default_registry_mixer_filter() utility function.
Original commit message from CVS:
* gst-libs/gst/audio/Makefile.am:
* gst-libs/gst/audio/mixerutils.c:
(gst_audio_mixer_filter_do_filter),
(gst_audio_mixer_filter_check_element),
(gst_audio_mixer_filter_probe_feature),
(element_factory_rank_compare_func),
(gst_audio_default_registry_mixer_filter):
* gst-libs/gst/audio/mixerutils.h:
Add gst_audio_default_registry_mixer_filter() utility
function.
2006-01-09 09:38:34 +00:00
Michael Smith
f6e5a1a9f2 gst/audioresample/resample.h: As before, but for o_buf
Original commit message from CVS:

* gst/audioresample/resample.h:
As before, but for o_buf
2006-01-03 17:33:16 +00:00
Michael Smith
1250ac066e gst/audioresample/resample.h: Declare struct _ResampleState.buffer as unsigned char *, not void *, since we do arithm...
Original commit message from CVS:
* gst/audioresample/resample.h:
Declare struct _ResampleState.buffer as unsigned char *, not void *,
since we do arithmetic on it.
2006-01-03 17:27:13 +00:00
Tim-Philipp Müller
be8f055317 gst-libs/gst/audio/gstringbuffer.*: Sun's Forte compiler doesn't seem to like anonymous structs, so use same setup as...
Original commit message from CVS:
* gst-libs/gst/audio/gstringbuffer.c: (gst_ring_buffer_init),
(gst_ring_buffer_set_flushing), (gst_ring_buffer_start),
(gst_ring_buffer_pause), (wait_segment):
* gst-libs/gst/audio/gstringbuffer.h:
Sun's Forte compiler doesn't seem to like anonymous structs,
so use same setup as in GstBaseSrc (fixes #324900).
2006-01-02 23:37:38 +00:00
Stefan Kost
f2092fc757 move old example to tests/examples/volume/volune.c
Original commit message from CVS:
* configure.ac:
* gst/volume/Makefile.am:
* gst/volume/demo.c:
move old example to tests/examples/volume/volune.c
* tests/examples/Makefile.am:
* tests/examples/seek/seek.c: (main):
change window-close event from "delete-event" to "destroy"
* tests/examples/volume/Makefile.am:
* tests/examples/volume/volume.c: (value_changed_callback),
(setup_gui), (message_received), (eos_message_received), (main):
fix event handling and bus usage
2005-12-30 14:54:06 +00:00
Stefan Kost
0d85e2cc15 gst/audiotestsrc/gstaudiotestsrc.*: update to basesrc changes, implement segmented seeking and eos handling, add a 's...
Original commit message from CVS:
* gst/audiotestsrc/gstaudiotestsrc.c:
(gst_audiostestsrc_wave_get_type), (gst_audio_test_src_class_init),
(gst_audio_test_src_init), (gst_audio_test_src_src_fixate),
(gst_audio_test_src_query), (gst_audio_test_src_create_sine),
(gst_audio_test_src_create_square),
(gst_audio_test_src_create_saw),
(gst_audio_test_src_create_triangle),
(gst_audio_test_src_create_silence),
(gst_audio_test_src_create_white_noise),
(gst_audio_test_src_create_pink_noise),
(gst_audio_test_src_init_sine_table),
(gst_audio_test_src_create_sine_table),
(gst_audio_test_src_change_wave),
(gst_audio_test_src_change_volume), (gst_audio_test_src_do_seek),
(gst_audio_test_src_create), (gst_audio_test_src_set_property):
* gst/audiotestsrc/gstaudiotestsrc.h:
update to basesrc changes, implement segmented seeking and eos handling,
add a 'sine-tab' waveform for performance critical playback
2005-12-29 20:37:23 +00:00
Tim-Philipp Müller
cd55b742dd po/POTFILES.in: ... and this time the other modified file that I missed last time.
Original commit message from CVS:
* po/POTFILES.in:
... and this time the other modified file that I missed last time.
2005-12-29 16:17:55 +00:00
Michael Smith
f447d9a6d9 gst/playback/gstdecodebin.c: Fix non-C89 variable declaration not at the start of a block. Should help some compilers.
Original commit message from CVS:
* gst/playback/gstdecodebin.c: (new_pad):
Fix non-C89 variable declaration not at the start of a block. Should
help some compilers.
2005-12-29 14:31:49 +00:00
Tim-Philipp Müller
097f448b19 tests/check/Makefile.am: And now fix 'make distcheck' (builddir != srcdir)
Original commit message from CVS:
* tests/check/Makefile.am:
And now fix 'make distcheck' (builddir != srcdir)
2005-12-29 12:43:22 +00:00
Tim-Philipp Müller
a8937ea36e New cdparanoiasrc element based on cddabasesrc; enable cdparanoia plugin again (there are still fixes required to pla...
Original commit message from CVS:
* configure.ac:
* ext/cdparanoia/Makefile.am:
* ext/cdparanoia/gstcdparanoia.c:
* ext/cdparanoia/gstcdparanoia.h:
* ext/cdparanoia/gstcdparanoiasrc.c:
(gst_cd_paranoia_mode_get_type), (gst_cd_paranoia_src_base_init),
(gst_cd_paranoia_src_init), (gst_cd_paranoia_src_class_init),
(gst_cd_paranoia_src_open), (gst_cd_paranoia_src_close),
(gst_cd_paranoia_paranoia_callback),
(gst_cd_paranoia_src_read_sector), (gst_cd_paranoia_src_finalize),
(gst_cd_paranoia_src_set_property),
(gst_cd_paranoia_src_get_property), (plugin_init):
* ext/cdparanoia/gstcdparanoiasrc.h:
New cdparanoiasrc element based on cddabasesrc; enable cdparanoia
plugin again (there are still fixes required to playbin to make
cdda:// uris work there).
2005-12-29 12:22:24 +00:00
Tim-Philipp Müller
0d0dd13a71 tests/check/Makefile.am: Fix test case compilation.
Original commit message from CVS:
* tests/check/Makefile.am:
Fix test case compilation.
2005-12-29 12:13:57 +00:00
Tim-Philipp Müller
1068588993 gst-libs/gst/cdda/gstcddabasesrc.c: An integer is not a string. Fix access to uninitialised variable.
Original commit message from CVS:
* gst-libs/gst/cdda/gstcddabasesrc.c:
(gst_cdda_base_src_update_duration),
(gst_cdda_base_src_calculate_cddb_id):
An integer is not a string. Fix access to uninitialised variable.
* tests/check/Makefile.am:
Add cddabasesrc unit test; also actually enable the vorbis test.
* tests/check/generic/states.c:
Blacklist new cd audio elements as well.
* tests/check/libs/cddabasesrc.c:
Unit test for GstCddaBaseSrc (discid calculation mostly).
2005-12-29 11:49:11 +00:00
Tim-Philipp Müller
27af2b5ddc docs/libs/: Add docs for libgstcdda/GstCddaBaseSrc.
Original commit message from CVS:
* docs/libs/Makefile.am:
* docs/libs/gst-plugins-base-libs-docs.sgml:
* docs/libs/gst-plugins-base-libs-sections.txt:
* docs/libs/gst-plugins-base-libs.types:
Add docs for libgstcdda/GstCddaBaseSrc.
* gst-libs/gst/interfaces/mixertrack.h:
Do one struct member per line with a semicolon at the end, that way
even gtk-doc might parse it without complaining.
2005-12-28 18:19:25 +00:00
Tim-Philipp Müller
d129bea2be Add new libgstcdda with GstCddaBaseSrc class.
Original commit message from CVS:
* configure.ac:
* gst-libs/gst/Makefile.am:
* gst-libs/gst/cdda/Makefile.am:
* gst-libs/gst/cdda/base64.c:
* gst-libs/gst/cdda/base64.h:
* gst-libs/gst/cdda/gstcddabasesrc.c:
(gst_cdda_base_src_mode_get_type), (gst_cdda_base_src_base_init),
(gst_cdda_base_src_class_init), (gst_cdda_base_src_init),
(gst_cdda_base_src_finalize), (gst_cdda_base_src_set_property),
(gst_cdda_base_src_get_property),
(gst_cdda_base_src_get_track_from_sector),
(gst_cdda_base_src_get_query_types), (gst_cdda_base_src_convert),
(gst_cdda_base_src_query), (gst_cdda_base_src_is_seekable),
(gst_cdda_base_src_do_seek), (gst_cdda_base_src_handle_track_seek),
(gst_cdda_base_src_handle_event), (gst_cdda_base_src_uri_get_type),
(gst_cdda_base_src_uri_get_protocols),
(gst_cdda_base_src_uri_get_uri), (gst_cdda_base_src_uri_set_uri),
(gst_cdda_base_src_uri_handler_init),
(gst_cdda_base_src_setup_interfaces),
(gst_cdda_base_src_add_track), (gst_cdda_base_src_update_duration),
(cddb_sum), (gst_cddabasesrc_calculate_musicbrainz_discid),
(lba_to_msf), (gst_cdda_base_src_calculate_cddb_id),
(gst_cdda_base_src_add_tags),
(gst_cdda_base_src_add_index_associations),
(gst_cdda_base_src_set_index), (gst_cdda_base_src_get_index),
(gst_cdda_base_src_track_sort_func), (gst_cdda_base_src_start),
(gst_cdda_base_src_clear_tracks), (gst_cdda_base_src_stop),
(gst_cdda_base_src_create):
* gst-libs/gst/cdda/gstcddabasesrc.h:
* gst-libs/gst/cdda/sha1.c:
* gst-libs/gst/cdda/sha1.h:
Add new libgstcdda with GstCddaBaseSrc class.
2005-12-28 18:06:50 +00:00
Tim-Philipp Müller
ab828f340f ext/gnomevfs/gstgnomevfssink.h: Use GstBaseSinkClass as parent_class member for class struct, not
Original commit message from CVS:
* ext/gnomevfs/gstgnomevfssink.h:
Use GstBaseSinkClass as parent_class member for class struct, not
GstBaseSink.
2005-12-28 14:59:41 +00:00
Tim-Philipp Müller
4a63fb1ae2 gst/videotestsrc/gstvideotestsrc.c: Add start method to reset running time and number of frames sent
Original commit message from CVS:
* gst/videotestsrc/gstvideotestsrc.c:
(gst_video_test_src_class_init), (gst_video_test_src_start):
Add start method to reset running time and number of frames sent
when starting up (fixes #324696; patch by: Michal Benes).
2005-12-27 22:29:43 +00:00
Tim-Philipp Müller
0eb4eff8aa docs/plugins/: Add docs stuff for gnomevfssrc and gnomevfssink.
Original commit message from CVS:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-base-plugins-docs.sgml:
* docs/plugins/gst-plugins-base-plugins-sections.txt:
* docs/plugins/gst-plugins-base-plugins.args:
* docs/plugins/gst-plugins-base-plugins.hierarchy:
* docs/plugins/gst-plugins-base-plugins.signals:
Add docs stuff for gnomevfssrc and gnomevfssink.
* ext/gnomevfs/gstgnomevfssrc.c:
Fix example pipeline in gtk-doc blurb.
2005-12-27 21:58:28 +00:00
Tim-Philipp Müller
ae2ff99728 ext/gnomevfs/: Port gnomevfssink; add gtk-doc blurb.
Original commit message from CVS:
* ext/gnomevfs/Makefile.am:
* ext/gnomevfs/gstgnomevfs.c: (gst_gnome_vfs_uri_get_type),
(gst_gnome_vfs_handle_copy), (gst_gnome_vfs_handle_free),
(gst_gnome_vfs_handle_get_type), (plugin_init):
* ext/gnomevfs/gstgnomevfs.h:
* ext/gnomevfs/gstgnomevfssink.c: (gst_gnome_vfs_sink_do_init),
(gst_gnome_vfs_sink_base_init), (gst_gnome_vfs_sink_class_init),
(gst_gnome_vfs_sink_finalize), (gst_gnome_vfs_sink_init),
(gst_gnome_vfs_sink_set_property),
(gst_gnome_vfs_sink_get_property), (gst_gnome_vfs_sink_open_file),
(gst_gnome_vfs_sink_close_file), (gst_gnome_vfs_sink_start),
(gst_gnome_vfs_sink_stop), (gst_gnome_vfs_sink_handle_event),
(gst_gnome_vfs_sink_query), (gst_gnome_vfs_sink_render),
(gst_gnome_vfs_sink_uri_get_type),
(gst_gnome_vfs_sink_uri_get_protocols),
(gst_gnome_vfs_sink_uri_get_uri), (gst_gnome_vfs_sink_uri_set_uri),
(gst_gnome_vfs_sink_uri_handler_init):
* ext/gnomevfs/gstgnomevfssink.h:
Port gnomevfssink; add gtk-doc blurb.
* ext/gnomevfs/gstgnomevfssrc.c: (gst_gnome_vfs_src_get_type),
(gst_gnome_vfs_src_base_init), (gst_gnome_vfs_src_class_init),
(gst_gnome_vfs_src_init), (gst_gnome_vfs_src_finalize),
(gst_gnome_vfs_src_uri_get_type),
(gst_gnome_vfs_src_uri_get_protocols),
(gst_gnome_vfs_src_uri_get_uri), (gst_gnome_vfs_src_uri_set_uri),
(gst_gnome_vfs_src_uri_handler_init),
(gst_gnome_vfs_src_set_property), (gst_gnome_vfs_src_get_property),
(gst_gnome_vfs_src_unicodify), (audiocast_thread_run),
(gst_gnome_vfs_src_send_additional_headers_callback),
(gst_gnome_vfs_src_received_headers_callback),
(gst_gnome_vfs_src_push_callbacks),
(gst_gnome_vfs_src_pop_callbacks),
(gst_gnome_vfs_src_get_icy_metadata), (gst_gnome_vfs_src_create),
(gst_gnome_vfs_src_is_seekable), (gst_gnome_vfs_src_get_size),
(gst_gnome_vfs_src_start), (gst_gnome_vfs_src_stop):
* ext/gnomevfs/gstgnomevfssrc.h:
s/gst_gnomevfssrc/gst_gnome_vfs_src/; move header stuff to header
file; add gtk-doc blurb with example pipelines.
2005-12-27 21:42:23 +00:00
Thomas Vander Stichele
f0e32eedc4 releasing 0.10.1
Original commit message from CVS:
releasing 0.10.1
2005-12-23 18:08:39 +00:00
Edgard Lima
a2eab82164 iLBC30 and iLBC20 added to typefind.
Original commit message from CVS:
iLBC30 and iLBC20 added to typefind.
2005-12-21 20:59:52 +00:00
Thomas Vander Stichele
751b91e26c prereleasing
Original commit message from CVS:
prereleasing
2005-12-20 15:57:06 +00:00
Thomas Vander Stichele
b4b2b62a74 gst-libs/gst/audio/: update strings, values are in microseconds change the default sink buffer time to something that...
Original commit message from CVS:

* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_class_init):
* gst-libs/gst/audio/gstbaseaudiosrc.c:
(gst_base_audio_src_class_init):
update strings, values are in microseconds
change the default sink buffer time to something that is smaller
(to help software volume mixing have a slightly lower delay) but
still be acceptable on Wim's laptop
2005-12-20 12:00:26 +00:00
Edward Hervey
ffc33e35d9 gst-libs/gst/riff/riff-media.c: Made a quack, forgot to add DUCK to the riff video template.
Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_video_template_caps):
Made a quack, forgot to add DUCK to the riff video template.
2005-12-20 10:13:05 +00:00
Edward Hervey
e54ffc2c5f ext/ogg/gstogmparse.c: Make sure pads are initialized correctly.
Original commit message from CVS:
* ext/ogg/gstogmparse.c: (gst_ogm_text_parse_base_init),
(gst_ogm_parse_init), (gst_ogm_audio_parse_init),
(gst_ogm_video_parse_init), (gst_ogm_text_parse_init),
(gst_ogm_parse_chain):
Make sure pads are initialized correctly.
* gst-libs/gst/riff/riff-ids.h:
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_video_caps),
(gst_riff_create_video_template_caps):
Add a whole bunch of FOURCC <=> MimeType.
Extend the riff video pad template to support the newly added fourcc.
2005-12-19 15:00:38 +00:00
Jan Schmidt
0efd7381c4 ext/ogg/gstoggdemux.c: Extra debug output when activating/deactivating chains.
Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_deactivate_current_chain),
(gst_ogg_demux_activate_chain):
Extra debug output when activating/deactivating chains.

* gst/playback/gstdecodebin.c: (gst_decode_bin_factory_filter),
(is_demuxer_element), (try_to_link_1), (remove_element_chain),
(unlinked):
Remove a queue from our list when it becomes unlinked.
Don't add queues to elements in class 'Demux' if they
can only produce one pad
2005-12-18 15:04:21 +00:00
Julien Moutte
7811799ce8 gst-libs/gst/video/gstvideosink.c: Add a debug category.
Original commit message from CVS:
2005-12-18  Julien MOUTTE  <julien@moutte.net>

* gst-libs/gst/video/gstvideosink.c: (gst_video_sink_base_init),
(gst_video_sink_get_type): Add a debug category.
2005-12-18 10:54:33 +00:00
Philippe Kalaf
f5723a256e gst-libs/gst/rtp/gstbasertpdepayload.c: Handle downstream newsegment by sending our own newsegment before the next bu...
Original commit message from CVS:
2005-12-17  Philippe Khalaf  <burger@speedy.org>

* gst-libs/gst/rtp/gstbasertpdepayload.c:
(gst_base_rtp_depayload_init), (gst_base_rtp_depayload_handle_sink_event):
Handle downstream newsegment by sending our own newsegment before the
next buffer to be released. (#323900)
2005-12-18 00:56:07 +00:00
Philippe Kalaf
3247ffbbb3 gst-libs/gst/rtp/gstbasertpdepayload.c: add queue delay to new segment as well (as opposed to just the first buffer)....
Original commit message from CVS:
2005-12-17  Philippe Khalaf  <burger@speedy.org>

* gst-libs/gst/rtp/gstbasertpdepayload.c:
(gst_base_rtp_depayload_set_gst_timestamp):
add queue delay to new segment as well (as opposed to just the first
buffer). (bug #322347)
2005-12-18 00:41:10 +00:00
Stefan Kost
90736bc6e7 ext/libvisual/visual.c: change some char* into char[]
Original commit message from CVS:
* ext/libvisual/visual.c: (make_valid_name):
change some char* into char[]
* gst/audiotestsrc/gstaudiotestsrc.c:
(gst_audio_test_src_class_init), (gst_audio_test_src_do_seek),
(gst_audio_test_src_create):
* gst/audiotestsrc/gstaudiotestsrc.h:
prepare to handle EOS and SEGMENT_DONE
2005-12-16 22:00:07 +00:00
Tim-Philipp Müller
93bbbddaf4 tests/check/generic/states.c: Blacklist cdparanoia element in state test.
Original commit message from CVS:
* tests/check/generic/states.c: (GST_START_TEST):
Blacklist cdparanoia element in state test.
2005-12-16 12:32:37 +00:00
Benjamin Pineau
4c419b0185 gst/tcp/: Add <string.h> includes for memset and FD_ZERO (fixes #323878;
Original commit message from CVS:
* gst/tcp/gsttcp.c:
* gst/tcp/gsttcpclientsink.c:
* gst/tcp/gsttcpserversink.c:
* gst/tcp/gsttcpserversrc.c:
Add <string.h> includes for memset and FD_ZERO (fixes #323878;
patch by: Benjamin Pineau).
2005-12-16 11:25:51 +00:00
Michael Smith
6daa44816d gst/videorate/gstvideorate.c: Fix timestamping for videorate when the first buffer it sees has a non-zero timestamp. ...
Original commit message from CVS:
* gst/videorate/gstvideorate.c: (gst_video_rate_blank_data),
(gst_video_rate_chain):
Fix timestamping for videorate when the first buffer it sees has a
non-zero timestamp. Fix some misleading debug output.
2005-12-15 14:43:38 +00:00
Michael Smith
a3853fad02 gst/audioresample/gstaudioresample.c: Don't leak all input buffers to audioresample.
Original commit message from CVS:
* gst/audioresample/gstaudioresample.c:
Don't leak all input buffers to audioresample.
2005-12-15 10:30:14 +00:00
Tim-Philipp Müller
bbddac17ae ext/pango/gsttextoverlay.c: Don't operate on empty text buffers. Strip newlines and tabs only from the end of the tex...
Original commit message from CVS:
* ext/pango/gsttextoverlay.c: (gst_text_overlay_collected):
Don't operate on empty text buffers. Strip newlines and
tabs only from the end of the text, but leave them intact
in the middle. Fix typo in gtk-doc description.
2005-12-15 10:15:10 +00:00
Tim-Philipp Müller
f2e9c13e3f gst/playback/: Make sure the video frame buffer we return to apps via the "frame" property always has caps set on it....
Original commit message from CVS:
* gst/playback/gstplaybasebin.c:
* gst/playback/gstplaybin.c: (handoff):
Make sure the video frame buffer we return to apps via the
"frame" property always has caps set on it. Modify
_gst_gvalue_set_object() macro to handle NULL objects
gracefully too.
2005-12-15 09:48:19 +00:00
Stefan Kost
7906b3c945 gst/audiotestsrc/gstaudiotestsrc.*: Adjust to some recent api changes and add wtays new cool seeking capabillities
Original commit message from CVS:
* gst/audiotestsrc/gstaudiotestsrc.c:
(gst_audio_test_src_class_init), (gst_audio_test_src_init),
(gst_audio_test_src_setcaps), (gst_audio_test_src_src_query),
(gst_audio_test_src_do_seek), (gst_audio_test_src_is_seekable),
(gst_audio_test_src_create):
* gst/audiotestsrc/gstaudiotestsrc.h:
Adjust to some recent api changes and add wtays new cool seeking
capabillities
2005-12-14 20:42:11 +00:00
Tim-Philipp Müller
534e0c268e ext/alsa/: Helper functions to add device probing via the GstPropertyProbe interface to a class.
Original commit message from CVS:
* ext/alsa/Makefile.am:
* ext/alsa/gstalsadeviceprobe.c:
* ext/alsa/gstalsadeviceprobe.h:
Helper functions to add device probing via the GstPropertyProbe
interface to a class.
* ext/alsa/gstalsamixer.h:
Comment out GST_ALSA_MIXER, it returns a struct that's not
used.
* ext/alsa/gstalsamixer.c: (gst_alsa_mixer_open):
Add some debug info.
* ext/alsa/gstalsamixerelement.c:
(gst_alsa_mixer_element_interface_supported),
(gst_implements_interface_init),
(gst_alsa_mixer_element_init_interfaces),
(gst_alsa_mixer_element_class_init),
(gst_alsa_mixer_element_finalize), (gst_alsa_mixer_element_init),
(gst_alsa_mixer_element_set_property),
(gst_alsa_mixer_element_get_property),
(gst_alsa_mixer_element_change_state):
* ext/alsa/gstalsamixerelement.h:
Add 'device' and 'device-name' properties. Add GstPropertyProbe
for device handling (gnome-volume-control will need that).
2005-12-14 17:58:48 +00:00
Christian Schaller
68232a2891 updates to activate cdparanoia plugin
Original commit message from CVS:
updates to activate cdparanoia plugin
2005-12-12 20:31:24 +00:00
Michael Smith
30620499e0 ext/ogg/gstoggdemux.c: Use the correct function to free list of typefind factories.
Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_type_find):
Use the correct function to free list of typefind factories.
2005-12-12 19:13:09 +00:00
Wim Taymans
eb9cd91b27 gst/videotestsrc/gstvideotestsrc.*: Implement seeking in videotestsrc.
Original commit message from CVS:
* gst/videotestsrc/gstvideotestsrc.c:
(gst_video_test_src_class_init), (gst_video_test_src_init),
(gst_video_test_src_parse_caps), (gst_video_test_src_query),
(gst_video_test_src_do_seek), (gst_video_test_src_is_seekable),
(gst_video_test_src_create):
* gst/videotestsrc/gstvideotestsrc.h:
Implement seeking in videotestsrc.
Small cleanups.
2005-12-12 15:09:55 +00:00
Wim Taymans
d02b57f7e0 ext/cdparanoia/: Partially ported cdparanoia now that basesrc can support a plugin like this..
Original commit message from CVS:
* ext/cdparanoia/Makefile.am:
* ext/cdparanoia/gstcdparanoia.c: (gst_paranoia_mode_get_type),
(gst_paranoia_endian_get_type), (_do_init),
(cdparanoia_class_init), (cdparanoia_init),
(cdparanoia_set_property), (cdparanoia_get_property),
(cdparanoia_do_seek), (cdparanoia_is_seekable),
(cdparanoia_create), (cdparanoia_start), (cdparanoia_stop),
(cdparanoia_convert), (cdparanoia_get_query_types),
(cdparanoia_query), (cdparanoia_set_index),
(cdparanoia_uri_set_uri):
* ext/cdparanoia/gstcdparanoia.h:
Partially ported cdparanoia now that basesrc can support a
plugin like this..
2005-12-12 15:06:46 +00:00
Wim Taymans
c758847445 tests/examples/seek/scrubby.c: Set higher priority for bus events so they don't get reordered with gtk gui events.
Original commit message from CVS:
* tests/examples/seek/scrubby.c: (main):
Set higher priority for bus events so they don't get reordered with
gtk gui events.

* tests/examples/seek/seek.c: (do_seek), (start_seek), (stop_seek),
(flush_toggle_cb), (main):
Added checkbox do disable flushing seeks.
Disable scrubbing when doing non flushing seeks.
2005-12-12 13:03:50 +00:00
Tim-Philipp Müller
3b930ebf09 gst/subparse/gstsubparse.c: Implement some sort of event handling that doesn't rely on g_return_if_fail; make sure we...
Original commit message from CVS:
* gst/subparse/gstsubparse.c: (gst_sub_parse_init),
(gst_sub_parse_do_seek), (gst_sub_parse_src_event), (parse_subrip),
(parser_state_init), (handle_buffer), (gst_sub_parse_chain),
(gst_sub_parse_sink_event), (gst_sub_parse_change_state):
Implement some sort of event handling that doesn't rely on
g_return_if_fail; make sure we always push the last chunk of an
.srt out when we receive an EOS; use gst_pad_alloc_buffer; fix
state change function; remove some old cruft. Seeking is still
rather unlikely to work though.
* tools/.cvsignore:
Ignore more.
2005-12-12 09:52:37 +00:00
Julien Moutte
f77a290549 sys/xvimage/xvimagesink.c: Fixed a leak of the current image reference when cleaning up.
Original commit message from CVS:
2005-12-11  Julien MOUTTE  <julien@moutte.net>

* sys/xvimage/xvimagesink.c: (gst_xvimagesink_change_state):
Fixed a leak of the current image reference when cleaning up.
Thanks to Arwed von Merkatz (alley_cat) for pointing it out.
2005-12-11 22:26:08 +00:00
Michael Smith
d6b4919ac1 tools/: Remove gst-launch-ext. It doesn't work, and is no longer particularly useful.
Original commit message from CVS:
* tools/Makefile.am:
* tools/gst-launch-ext-m.m:
Remove gst-launch-ext. It doesn't work, and is no longer
particularly useful.
2005-12-09 10:23:42 +00:00
Luca Ognibene
34968138b9 ext/ogg/gstogmparse.c: don't pass random values to ogmparse convert function.
Original commit message from CVS:
* ext/ogg/gstogmparse.c: (gst_ogm_parse_sink_query):
don't pass random values to ogmparse convert function.
Make seeking possible in the exile1.ogm file.
2005-12-08 18:53:57 +00:00
Tim-Philipp Müller
d0cc0e9082 gst/playback/: Work around refcount problem with g_value_set_object() that occur if the core has been compiled agains...
Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (gst_play_base_bin_get_property):
* gst/playback/gstplaybin.c: (gst_play_bin_get_property):
Work around refcount problem with g_value_set_object() that occur
if the core has been compiled against GLib-2.6 (g_value_set_object()
will only g_object_ref() the element, but the caller will
gst_object_unref() it and bad things will happen due to the way
GstObjects are refcounted in the GLib-2.6 case). Fixes problems with
totem for people on FC4 using Thomas's 0.10 RPMs.
2005-12-07 18:51:35 +00:00
Edward Hervey
5c6b057091 Time to welcome ogm to 0.10 :)
Original commit message from CVS:
Time to welcome ogm to 0.10 :)
* ext/ogg/gstoggdemux.c: (internal_element_pad_added_cb),
(gst_ogg_pad_typefind):
Oggdemux can now properly typefind elements with dynamic pads.
* ext/ogg/gstogmparse.c: (gst_ogm_parse_chain):
Properly set caps on src pad, and set caps on outgoing buffers.
2005-12-07 11:34:37 +00:00
Thomas Vander Stichele
5f83aa7dfa expand tabs
Original commit message from CVS:
expand tabs
2005-12-06 19:42:02 +00:00
Thomas Vander Stichele
b57bbfe86b releasing 0.10.0
Original commit message from CVS:
releasing 0.10.0
2005-12-05 18:02:48 +00:00
Jan Schmidt
352dc48813 tests/examples/seek/Makefile.am: Build fix for when gtk is not available.
Original commit message from CVS:
* tests/examples/seek/Makefile.am:
Build fix for when gtk is not available.
2005-12-05 13:11:20 +00:00
Andy Wingo
1ecddd21ea Update for alloc_buffer changes.
Original commit message from CVS:
2005-12-05  Andy Wingo  <wingo@pobox.com>

* ext/libvisual/visual.c: (get_buffer):
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_chain_peer):
* ext/pango/gsttextrender.c: (gst_text_render_chain):
* ext/theora/theoradec.c: (theora_handle_data_packet):
* ext/theora/theoraenc.c: (theora_buffer_from_packet),
(theora_enc_chain):
* ext/vorbis/vorbisdec.c: (vorbis_handle_data_packet):
* gst/videotestsrc/gstvideotestsrc.c: (gst_video_test_src_create):
Update for alloc_buffer changes.
2005-12-05 13:02:12 +00:00
Kai Vehmanen
b515b87da8 gst-libs/gst/rtp/gstbasertpdepayload.c
Original commit message from CVS:
2005-12-05  Andy Wingo  <wingo@pobox.com>

patch by: Kai Vehmanen <kv2004 eca cx>

* gst-libs/gst/rtp/gstbasertpdepayload.c
(gst_base_rtp_depayload_thread): Fix busy loop (#323017).
2005-12-05 10:47:55 +00:00
Sebastien Cote
1fdf8ac9b3 pkgconfig/gstreamer-plugins-base.pc.in (Libs): Add -L flag.
Original commit message from CVS:
2005-12-04  Andy Wingo  <wingo@pobox.com>

patch by: Sebastien Cote <sebas642 yahoo ca>

* pkgconfig/gstreamer-plugins-base.pc.in (Libs): Add -L flag.
Fixes #319172.
2005-12-04 22:43:43 +00:00
Tim-Philipp Müller
7ed5aa6c0e Add gtk-doc blurbs to pango elements.
Original commit message from CVS:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-base-plugins-docs.sgml:
* docs/plugins/gst-plugins-base-plugins-sections.txt:
* docs/plugins/gst-plugins-base-plugins.hierarchy:
* ext/pango/gstclockoverlay.c:
* ext/pango/gsttextoverlay.c:
* ext/pango/gsttextrender.c:
* ext/pango/gsttimeoverlay.c:
Add gtk-doc blurbs to pango elements.
2005-12-02 16:52:54 +00:00
Wim Taymans
e3a77670f0 gst/audioresample/: Fix audioresample, seek torture, new segments, reverse negotiation etc.. work fine.
Original commit message from CVS:
* gst/audioresample/buffer.c: (audioresample_buffer_queue_flush):
* gst/audioresample/buffer.h:
* gst/audioresample/gstaudioresample.c:
* gst/audioresample/gstaudioresample.h:
* gst/audioresample/resample.c: (resample_input_flush),
(resample_input_pushthrough), (resample_input_eos),
(resample_get_output_size_for_input),
(resample_get_input_size_for_output), (resample_get_output_size),
(resample_get_output_data):
* gst/audioresample/resample.h:
* gst/audioresample/resample_ref.c: (resample_scale_ref):
Fix audioresample, seek torture, new segments, reverse negotiation
etc.. work fine.
2005-12-02 11:34:50 +00:00
Wim Taymans
bd713d06ed ext/vorbis/vorbisdec.c: Small cleanups.
Original commit message from CVS:
* ext/vorbis/vorbisdec.c: (vorbis_handle_data_packet):
Small cleanups.
2005-12-02 10:47:55 +00:00
Wim Taymans
201fd910de gst/audioconvert/gstaudioconvert.c: Post errors.
Original commit message from CVS:
* gst/audioconvert/gstaudioconvert.c:
(gst_audio_convert_transform):
Post errors.
2005-12-02 10:17:35 +00:00
Thomas Vander Stichele
2c56e69b5a releasing 0.9.7
Original commit message from CVS:
releasing 0.9.7
2005-12-01 19:13:54 +00:00
Thomas Vander Stichele
bf58b2e6e9 add win32 MANIFEST file in a possibly vain attempt to make high blood pressure an AP
Original commit message from CVS:
add win32 MANIFEST file
in a possibly vain attempt to make high blood pressure an AP
2005-12-01 16:22:36 +00:00
Tim-Philipp Müller
419d3ddd23 ext/Makefile.am: Add $(PANGO_DIR) to SUBDIRS
Original commit message from CVS:
* ext/Makefile.am:
Add $(PANGO_DIR) to SUBDIRS
* ext/pango/gstclockoverlay.c:
* ext/pango/gsttimeoverlay.c:
Fix and improve element descriptions.
2005-12-01 15:56:53 +00:00
Thomas Vander Stichele
a6618b69c4 add pango plugin to docs
Original commit message from CVS:
add pango plugin to docs
2005-12-01 15:52:27 +00:00
Thomas Vander Stichele
d8dfd3613a moving pango to base
Original commit message from CVS:
moving pango to base
2005-12-01 15:14:11 +00:00
Thomas Vander Stichele
4e55e480e1 add stress test for xoverlay from Julien
Original commit message from CVS:
add stress test for xoverlay from Julien
2005-12-01 14:50:24 +00:00
Thomas Vander Stichele
ff18d8e298 Do burger's rename for rtp payloaders and depayloaders
Original commit message from CVS:

* docs/libs/tmpl/gstcolorbalance.sgml:
* gst-libs/gst/rtp/gstbasertpdepayload.c:
* gst-libs/gst/rtp/gstbasertppayload.c:
* gst-libs/gst/rtp/gstrtpbuffer.c:
* gst-libs/gst/rtp/gstrtpbuffer.h:
Do burger's rename for rtp payloaders and depayloaders
2005-12-01 14:29:59 +00:00
Thomas Vander Stichele
373f4df293 add visual studio 6 build files
Original commit message from CVS:
add visual studio 6 build files
2005-12-01 10:20:15 +00:00
Thomas Vander Stichele
dc0f45d20c update documentation
Original commit message from CVS:
* docs/libs/gst-plugins-base-libs-docs.sgml:
* docs/libs/gst-plugins-base-libs-sections.txt:
* docs/libs/tmpl/gstaudio.sgml:
* docs/libs/tmpl/gstringbuffer.sgml:
* gst-libs/gst/interfaces/xoverlay.c:
* gst-libs/gst/video/gstvideofilter.c:
* gst-libs/gst/video/gstvideosink.c:
update documentation
2005-12-01 01:29:46 +00:00
Thomas Vander Stichele
2d899d13f5 more borgifying
Original commit message from CVS:
more borgifying
2005-12-01 01:21:49 +00:00
Thomas Vander Stichele
f39b477379 borgify further clean up docs a little
Original commit message from CVS:
borgify further
clean up docs a little
2005-12-01 01:12:55 +00:00
Wim Taymans
109cd71c76 gst-libs/gst/rtp/: closed #320644.
Original commit message from CVS:
* gst-libs/gst/rtp/gstbasertpdepayload.h:
* gst-libs/gst/rtp/gstbasertppayload.c: (gst_basertppayload_init),
(gst_basertppayload_event), (gst_basertppayload_push),
(gst_basertppayload_change_state):
* gst-libs/gst/rtp/gstbasertppayload.h:
closed #320644.
2005-11-30 19:08:14 +00:00
Julien Moutte
ef53753a6b Adding docs.
Original commit message from CVS:
2005-11-30  Julien MOUTTE  <julien@moutte.net>

* docs/libs/gst-plugins-base-libs-docs.sgml:
* docs/libs/gst-plugins-base-libs-sections.txt:
* gst-libs/gst/video/gstvideofilter.c:
* gst-libs/gst/video/gstvideosink.c:
* gst-libs/gst/video/gstvideosink.h: Adding docs.
2005-11-30 18:57:48 +00:00
Thomas Vander Stichele
ea57c4a00a LICENSE: move
Original commit message from CVS:
* LICENSE:
move
* po/af.po:
* po/az.po:
* po/cs.po:
* po/en_GB.po:
* po/hu.po:
* po/it.po:
* po/nb.po:
* po/nl.po:
* po/or.po:
* po/sq.po:
* po/sr.po:
* po/sv.po:
* po/uk.po:
* po/vi.po:
* Makefile.am:
update
* scripts/autoplugins.sh:
remove
2005-11-30 17:42:49 +00:00
Thomas Vander Stichele
68eca5a99c reorganize stuff under tests/
Original commit message from CVS:
reorganize stuff under tests/
2005-11-30 17:38:24 +00:00
Edward Hervey
49b766ae3b ext/ogg/gstoggdemux.c: Go away you stupid GstStaticPadTemplate memleak.
Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_typefind):
Go away you stupid GstStaticPadTemplate memleak.
2005-11-30 13:31:15 +00:00
Thomas Vander Stichele
2a1a6b755b gst-libs/gst/net/: this was moved to netbuffer
Original commit message from CVS:

* gst-libs/gst/net/Makefile.am:
* gst-libs/gst/net/README:
* gst-libs/gst/net/gstnetbuffer.c:
* gst-libs/gst/net/gstnetbuffer.h:
this was moved to netbuffer
2005-11-30 10:40:09 +00:00
Thomas Vander Stichele
d50aed7960 gst-libs/gst/video/gstvideofilter.*: borgify name to bring in line with other classes
Original commit message from CVS:

* gst-libs/gst/video/gstvideofilter.c: (gst_video_filter_get_type),
(gst_video_filter_class_init), (gst_video_filter_init):
* gst-libs/gst/video/gstvideofilter.h:
borgify name to bring in line with other classes
2005-11-30 08:26:39 +00:00
Thomas Vander Stichele
8be52e0b73 gst/audioscale/: remove
Original commit message from CVS:

* gst/audioscale/.cvsignore:
* gst/audioscale/Makefile.am:
* gst/audioscale/README:
* gst/audioscale/audioscale.vcproj:
* gst/audioscale/dtof.c:
* gst/audioscale/dtos.c:
* gst/audioscale/functable.c:
* gst/audioscale/gstaudioscale.c:
* gst/audioscale/gstaudioscale.h:
* gst/audioscale/private.h:
* gst/audioscale/resample.c:
* gst/audioscale/resample.h:
* gst/audioscale/test.c:
remove
2005-11-30 01:04:28 +00:00
Edward Hervey
573b0b8166 gst-libs/gst/netbuffer/Makefile.am: really, really tired
Original commit message from CVS:
* gst-libs/gst/netbuffer/Makefile.am:
really, really tired
2005-11-30 00:11:51 +00:00
Edward Hervey
64901268c2 gst/typefind/gsttypefindfunctions.c: Update for new GstTypeFindFactory _register()
Original commit message from CVS:
* gst/typefind/gsttypefindfunctions.c: (plugin_init):
Update for new GstTypeFindFactory _register()
2005-11-30 00:01:30 +00:00
Edward Hervey
41e620af9e gst-libs/gst/netbuffer/Makefile.am: Let's not override libgstnet from core for no reason...
Original commit message from CVS:
* gst-libs/gst/netbuffer/Makefile.am: (libgstnetbufferincludedir):
Let's not override libgstnet from core for no reason...
(libgstnetbuffer_@GST_MAJORMINOR@_la_SOURCES):
Ok, maybe not so quick next time.
2005-11-29 23:54:37 +00:00
Edward Hervey
a54de3a653 gst-libs/gst/netbuffer/Makefile.am: Let's not override libgstnet from core for no reason...
Original commit message from CVS:
* gst-libs/gst/netbuffer/Makefile.am: (libgstnetbufferincludedir):
Let's not override libgstnet from core for no reason...
2005-11-29 23:51:28 +00:00
Thomas Vander Stichele
31a2b5b408 moved gst-libs/gst/net to netbuffer through CVS surgery remove old directory updating build to accomodate (#322257)
Original commit message from CVS:

* configure.ac:
* gst-libs/gst/Makefile.am:
moved gst-libs/gst/net to netbuffer through CVS surgery
remove old directory
updating build to accomodate
(#322257)
2005-11-29 17:46:37 +00:00
Andy Wingo
dfdde20c6c Rename gstnet to gstnetbuffer (#322257).
Original commit message from CVS:
2005-11-29  Andy Wingo  <wingo@pobox.com>

* pkgconfig/gstreamer-plugins-base.pc.in:
* pkgconfig/gstreamer-plugins-base-uninstalled.pc.in:
* gst-libs/gst/net/Makefile.am: Rename gstnet to gstnetbuffer
(#322257).
2005-11-29 17:41:16 +00:00
Jan Schmidt
1874a9fc84 gst/playback/gststreamselector.c: 3rd time's the charm. Correct ref-counting for discarded buffers.
Original commit message from CVS:
* gst/playback/gststreamselector.c: (gst_stream_selector_chain):
3rd time's the charm. Correct ref-counting for discarded buffers.
2005-11-29 16:54:50 +00:00
Jan Schmidt
35905dcfb6 gst/playback/gststreamselector.c: Fix ref-counting
Original commit message from CVS:
* gst/playback/gststreamselector.c:
(gst_stream_selector_class_init),
(gst_stream_selector_set_property),
(gst_stream_selector_get_property),
(gst_stream_selector_request_new_pad), (gst_stream_selector_chain):
Fix ref-counting
2005-11-29 16:43:41 +00:00
Tim-Philipp Müller
2554dd0d5d gst/subparse/gstsubparse.c: Don't access already unref'ed buffer.
Original commit message from CVS:
* gst/subparse/gstsubparse.c: (feed_textbuf):
Don't access already unref'ed buffer.
2005-11-29 16:21:13 +00:00
Jan Schmidt
c14c78900f gst/playback/gststreamselector.*: Add the active-pad property for playbin to use shortly. Ignore buffers from any oth...
Original commit message from CVS:
* gst/playback/gststreamselector.c:
(gst_stream_selector_class_init), (gst_stream_selector_init),
(gst_stream_selector_dispose), (gst_stream_selector_set_property),
(gst_stream_selector_get_property),
(gst_stream_selector_get_linked_pad),
(gst_stream_selector_request_new_pad), (gst_stream_selector_chain):
* gst/playback/gststreamselector.h:
Add the active-pad property for playbin to use shortly. Ignore buffers
from any other pad, returning GST_FLOW_NOT_LINKED
2005-11-29 15:56:07 +00:00
Julien Moutte
4dfbfec7c2 ext/ogg/gstoggdemux.c: Free the list, patch from bug #322704 (Alessandro Decina).
Original commit message from CVS:
2005-11-29  Julien MOUTTE  <julien@moutte.net>

* ext/ogg/gstoggdemux.c: (gst_ogg_type_find): Free the list,
patch from bug #322704 (Alessandro Decina).
2005-11-29 08:27:08 +00:00
Thomas Vander Stichele
8823933bcd folded audiofilter into the audio library
Original commit message from CVS:
folded audiofilter into the audio library
2005-11-29 01:25:31 +00:00
Thomas Vander Stichele
c40059cfd6 gst/videoscale/gstvideoscale.*: remove unimplemented scale methods
Original commit message from CVS:

* gst/videoscale/gstvideoscale.h:
* gst/videoscale/gstvideoscale.c:
remove unimplemented scale methods
2005-11-29 01:13:06 +00:00
Tim-Philipp Müller
35d40ee0ed ext/ogg/gstoggmux.c: Don't leak caps.
Original commit message from CVS:
* ext/ogg/gstoggmux.c: (gst_ogg_mux_send_headers):
Don't leak caps.
2005-11-28 22:54:48 +00:00
Julien Moutte
ff7304769f sys/: Fixed a tricky bug. When caps renegotiation happens (only visible on ximagesink but bug is in xv too) set_caps ...
Original commit message from CVS:
2005-11-28  Julien MOUTTE  <julien@moutte.net>

* sys/ximage/ximagesink.c: (gst_ximagesink_ximage_put),
(gst_ximagesink_setcaps):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_xvimage_put),
(gst_xvimagesink_setcaps): Fixed a tricky bug. When caps
renegotiation
happens (only visible on ximagesink but bug is in xv too)
set_caps was
destroying the internal x[v]image used to memcpy non locally
alloced
buffers so that it got renewed on next _chain. The issue is that
_expose will try to put that image as it reffed it in _put.
Using gst_buffer_unref instead of destroy fixes it !
2005-11-28 22:13:33 +00:00
Edward Hervey
4ab5321400 gst/playback/gstdecodebin.c: Better use of the queues. Start with a small size queue and only increase the size of th...
Original commit message from CVS:
* gst/playback/gstdecodebin.c: (gst_decode_bin_init),
(try_to_link_1), (queue_filled_cb):
Better use of the queues. Start with a small size queue and only increase
the size of the queues when the other queues are empty.
2005-11-28 19:54:56 +00:00
Thomas Vander Stichele
4d8c9991a4 gst-libs/gst/video/Makefile.am: compile in copied-over videofilter into the video library
Original commit message from CVS:

* gst-libs/gst/video/Makefile.am:
compile in copied-over videofilter into the video library
* gst-libs/gst/video/videosink.h:
rename the header to gstvideosink.h since it's a base GstObject class
* sys/ximage/ximagesink.h:
* sys/xvimage/xvimagesink.h:
use the new header
2005-11-28 17:32:55 +00:00
Wim Taymans
078d7c5e8c gst/playback/gstplaybasebin.*: Prepare to handle errors betters.
Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (group_commit), (probe_triggered):
* gst/playback/gstplaybasebin.h:
Prepare to handle errors betters.

* gst/playback/gstplaybin.c: (add_sink), (setup_sinks):
Set sinks to PAUSED first before adding and linking them so that
we don't interrupt dataflow.
2005-11-28 15:56:03 +00:00
Wim Taymans
3f05db1828 gst-libs/gst/audio/TODO: Updated TODO
Original commit message from CVS:
* gst-libs/gst/audio/TODO:
Updated TODO

* gst-libs/gst/audio/gstaudiosink.c:
(gst_audioringbuffer_open_device),
(gst_audioringbuffer_close_device), (gst_audioringbuffer_acquire),
(gst_audioringbuffer_release):
Small cleanups.

* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_class_init), (gst_base_audio_sink_render),
(gst_base_audio_sink_change_state):
Slave to the master clock when going to PLAYING and unslave when
going to PAUSED.

* gst-libs/gst/audio/gstringbuffer.c:
(gst_ring_buffer_open_device), (gst_ring_buffer_close_device),
(gst_ring_buffer_acquire), (gst_ring_buffer_release),
(gst_ring_buffer_samples_done), (gst_ring_buffer_set_sample),
(gst_ring_buffer_clear_all), (wait_segment),
(gst_ring_buffer_commit), (gst_ring_buffer_read),
(gst_ring_buffer_advance):
* gst-libs/gst/audio/gstringbuffer.h:
Add some docs and cleanups.
2005-11-28 15:53:55 +00:00
Julien Moutte
0767718887 sys/xvimage/xvimagesink.c: Fix navigation events coordinates translation with pixel aspect ratios.
Original commit message from CVS:
2005-11-28  Julien MOUTTE  <julien@moutte.net>

* sys/xvimage/xvimagesink.c:
(gst_xvimagesink_navigation_send_event): Fix navigation events
coordinates translation with pixel aspect ratios.
2005-11-28 14:32:48 +00:00
Julien Moutte
9e5ce652b2 sys/xvimage/xvimagesink.c: Use calculated video geometry from _setcaps instead of buffer caps to respect pixel aspect...
Original commit message from CVS:
2005-11-28  Julien MOUTTE  <julien@moutte.net>

* sys/xvimage/xvimagesink.c: (gst_xvimagesink_xvimage_put):
Use calculated video geometry from _setcaps instead of buffer
caps to respect pixel aspect ratio. (fixes #322388)
2005-11-28 14:15:54 +00:00
Julien Moutte
4a3356cd6f Add docs for the Xoverlay interface.
Original commit message from CVS:
2005-11-28  Julien MOUTTE  <julien@moutte.net>

* docs/libs/tmpl/gstcolorbalance.sgml:
* docs/libs/tmpl/gstmixer.sgml:
* docs/libs/tmpl/gstxoverlay.sgml:
* gst-libs/gst/interfaces/xoverlay.c: Add docs for the Xoverlay
interface.
2005-11-28 13:06:05 +00:00
Julien Moutte
390aa5ec7c sys/xvimage/xvimagesink.c: Refuse to create an XvImage if we can't find the format.
Original commit message from CVS:
2005-11-28  Julien MOUTTE  <julien@moutte.net>

* sys/xvimage/xvimagesink.c: (gst_xvimagesink_xvimage_new):
Refuse to create an XvImage if we can't find the format.
2005-11-28 10:43:26 +00:00
Edward Hervey
b80fd557a2 gst-libs/gst/riff/riff-media.c: Add ATRAC3 to the list of riff-possible audio caps.
Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c:
(gst_riff_create_audio_template_caps):
Add ATRAC3 to the list of riff-possible audio caps.
I know we still don't have a plugin for atrac3, but it's saner to output
that than a cryptic mimetype.
2005-11-28 10:12:26 +00:00
Edward Hervey
89df316769 gst-libs/gst/riff/riff-read.c: Don't try to create a zero-sized subbuffer.
Original commit message from CVS:
* gst-libs/gst/riff/riff-read.c: (gst_riff_parse_strf_auds):
Don't try to create a zero-sized subbuffer.
2005-11-27 19:18:31 +00:00
Julien Moutte
532bb2e605 sys/ximage/ximagesink.c: Fixed a tricky race.
Original commit message from CVS:
2005-11-27  Julien MOUTTE  <julien@moutte.net>

* sys/ximage/ximagesink.c: (gst_ximage_buffer_free),
(gst_ximagesink_ximage_new), (gst_ximagesink_ximage_put),
(gst_ximagesink_bufferpool_clear),
(gst_ximagesink_buffer_alloc),
(gst_ximagesink_expose): Fixed a tricky race.
* sys/ximage/ximagesink.h:
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_xvimage_put),
(gst_xvimagesink_expose): Fixed a tricky race.
* sys/xvimage/xvimagesink.h:
2005-11-27 18:12:23 +00:00
Edward Hervey
56c6518c55 gst/playback/gstdecodebin.c: Remove unused properties, and add queues between demuxers and decoders so that a lot mor...
Original commit message from CVS:
* gst/playback/gstdecodebin.c: (gst_decode_bin_class_init),
(gst_decode_bin_init), (close_pad_link), (try_to_link_1):
Remove unused properties, and add queues between demuxers and decoders
so that a lot more files can preroll properly.
2005-11-27 17:57:54 +00:00
Thomas Vander Stichele
1a4ad8377d gst-libs/gst/: remove silly include
Original commit message from CVS:

* gst-libs/gst/net/Makefile.am:
* gst-libs/gst/rtp/Makefile.am:
* gst-libs/gst/tag/Makefile.am:
remove silly include
* gst/tags/Makefile.am:
* gst/tags/gsttagediting.c:
* gst/tags/gsttageditingprivate.h:
* gst/tags/tagedit.vcproj:
remove directory, is as good as empty
2005-11-27 16:27:20 +00:00
Thomas Vander Stichele
efb938bd9a configure.ac: added GST_LIB_LDFLAGS and GST_ALL_LDFLAGS
Original commit message from CVS:

* configure.ac:
added GST_LIB_LDFLAGS and GST_ALL_LDFLAGS
* gst-libs/Makefile.am:
* gst-libs/gst/audio/Makefile.am:
* gst-libs/gst/interfaces/Makefile.am:
* gst-libs/gst/net/Makefile.am:
* gst-libs/gst/riff/Makefile.am:
* gst-libs/gst/rtp/Makefile.am:
* gst-libs/gst/tag/Makefile.am:
* gst-libs/gst/video/Makefile.am:
and use them
2005-11-27 16:18:50 +00:00
Julien Moutte
462b7b64c4 More and more documentation.
Original commit message from CVS:
2005-11-27  Julien MOUTTE  <julien@moutte.net>

* docs/libs/tmpl/gstcolorbalance.sgml:
* docs/libs/tmpl/gstmixer.sgml:
* docs/libs/tmpl/gstxoverlay.sgml:
* sys/ximage/ximagesink.c: (gst_ximagesink_buffer_alloc):
* sys/ximage/ximagesink.h:
* sys/xvimage/xvimagesink.h: More and more documentation.
2005-11-27 11:41:55 +00:00
Julien Moutte
395ead01f2 docs/libs/: Add the XOverlay interface to documentation.
Original commit message from CVS:
2005-11-26  Julien MOUTTE  <julien@moutte.net>

* docs/libs/gst-plugins-base-libs-docs.sgml:
* docs/libs/gst-plugins-base-libs-sections.txt:
* docs/libs/tmpl/gstcolorbalance.sgml:
* docs/libs/tmpl/gstmixer.sgml:
* docs/libs/tmpl/gstxoverlay.sgml: Add the XOverlay interface
to documentation.
2005-11-26 15:38:06 +00:00
Julien Moutte
c5a52004e0 Added doc for xvimagesink.
Original commit message from CVS:
2005-11-26  Julien MOUTTE  <julien@moutte.net>

* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-base-plugins-docs.sgml:
* docs/plugins/gst-plugins-base-plugins-sections.txt:
* sys/xvimage/xvimagesink.c: Added doc for xvimagesink.
2005-11-26 15:26:36 +00:00
Julien Moutte
f663c82d02 docs/plugins/: Updated version.
Original commit message from CVS:
2005-11-26  Julien MOUTTE  <julien@moutte.net>

* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-base-plugins-docs.sgml:
* docs/plugins/gst-plugins-base-plugins-sections.txt:
* docs/plugins/inspect/plugin-adder.xml:
* docs/plugins/inspect/plugin-alsa.xml:
* docs/plugins/inspect/plugin-audioconvert.xml:
* docs/plugins/inspect/plugin-audiorate.xml:
* docs/plugins/inspect/plugin-audioresample.xml:
* docs/plugins/inspect/plugin-audiotestsrc.xml:
* docs/plugins/inspect/plugin-decodebin.xml:
* docs/plugins/inspect/plugin-ffmpegcolorspace.xml:
* docs/plugins/inspect/plugin-gnomevfs.xml:
* docs/plugins/inspect/plugin-ogg.xml:
* docs/plugins/inspect/plugin-playbin.xml:
* docs/plugins/inspect/plugin-subparse.xml:
* docs/plugins/inspect/plugin-tcp.xml:
* docs/plugins/inspect/plugin-theora.xml:
* docs/plugins/inspect/plugin-typefindfunctions.xml:
* docs/plugins/inspect/plugin-video4linux.xml:
* docs/plugins/inspect/plugin-videorate.xml:
* docs/plugins/inspect/plugin-videoscale.xml:
* docs/plugins/inspect/plugin-videotestsrc.xml:
* docs/plugins/inspect/plugin-volume.xml:
* docs/plugins/inspect/plugin-vorbis.xml:
* docs/plugins/inspect/plugin-ximagesink.xml:
* docs/plugins/inspect/plugin-xvimagesink.xml: Updated version.
* sys/ximage/ximagesink.c: Adding documentation for ximagesink.
2005-11-26 14:44:08 +00:00
Edward Hervey
b8206860b0 gst/audiorate/gstaudiorate.c: Properly return GstFlowReturn from gst_pad_push in chain functions.
Original commit message from CVS:
* gst/audiorate/gstaudiorate.c: (gst_audiorate_chain):
Properly return GstFlowReturn from gst_pad_push in chain functions.
2005-11-26 11:34:15 +00:00
Michael Smith
d263be8f79 ext/ogg/gstoggdemux.c: Handle various conditions better when we don't understand a stream.
Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_query_convert),
(gst_ogg_demux_chain_peer), (gst_ogg_demux_perform_seek),
(gst_ogg_demux_read_chain), (gst_ogg_demux_read_end_chain),
(gst_ogg_demux_send_event), (gst_ogg_demux_loop):
Handle various conditions better when we don't understand a stream.
Removes a heap of CRITICALs on ogg streams containing unknown data.
2005-11-25 17:15:46 +00:00
Andy Wingo
55d3769623 gst/tcp/gstmultifdsink.c (gst_multifdsink_handle_client_write): Be threadsafe.
Original commit message from CVS:
2005-11-24  Andy Wingo  <wingo@pobox.com>

* gst/tcp/gstmultifdsink.c (gst_multifdsink_handle_client_write):
Be threadsafe.
2005-11-24 18:09:09 +00:00
Thomas Vander Stichele
20ca19ead7 back to HEAD
Original commit message from CVS:
back to HEAD
2005-11-23 20:04:59 +00:00
Thomas Vander Stichele
9a09c7b963 releasing 0.9.6
Original commit message from CVS:
releasing 0.9.6
2005-11-23 19:55:44 +00:00
Thomas Vander Stichele
9d09110b33 remove sinesrc some more
Original commit message from CVS:
remove sinesrc some more
2005-11-23 15:30:20 +00:00
Wim Taymans
c7dc33e495 gst-libs/gst/audio/gstringbuffer.c: If we are reading too slowly, jump forward in the ringbuffer instead of blocking.
Original commit message from CVS:
* gst-libs/gst/audio/gstringbuffer.c: (gst_ring_buffer_read):
If we are reading too slowly, jump forward in the ringbuffer
instead of blocking.
2005-11-23 13:29:50 +00:00
Jan Schmidt
be23dbd7d9 Updates for API changes
Original commit message from CVS:
* ext/libvisual/visual.c: (gst_visual_src_setcaps), (get_buffer),
(gst_visual_chain):
* ext/theora/theoraenc.c: (theora_enc_sink_setcaps):
* gst/videorate/gstvideorate.c: (gst_videorate_setcaps),
(gst_videorate_chain):
* gst/videotestsrc/gstvideotestsrc.c:
(gst_videotestsrc_src_fixate), (gst_videotestsrc_create):
* sys/v4l/gstv4lmjpegsrc.c: (gst_v4lmjpegsrc_get_fps),
(gst_v4lmjpegsrc_src_convert), (gst_v4lmjpegsrc_src_query),
(gst_v4lmjpegsrc_get), (gst_v4lmjpegsrc_getcaps):
* sys/v4l/v4lsrc_calls.c: (gst_v4lsrc_get_fps),
(gst_v4lsrc_get_fps_list), (gst_v4lsrc_buffer_new):
Updates for API changes
2005-11-23 13:25:54 +00:00
Wim Taymans
67b21a9033 gst-libs/gst/audio/gstbaseaudiosink.c: Fix for calibration API change.
Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_class_init), (gst_base_audio_sink_set_clock),
(gst_base_audio_sink_render), (gst_base_audio_sink_change_state):
Fix for calibration API change.
2005-11-23 13:08:54 +00:00
Michael Smith
71f3969208 gst-libs/gst/audio/multichannel.c: Use gst_value_array_*() functions on value arrays, not gst_value_list_*().
Original commit message from CVS:
* gst-libs/gst/audio/multichannel.c:
(gst_audio_get_channel_positions),
(gst_audio_set_channel_positions),
(gst_audio_set_structure_channel_positions_list),
(gst_audio_fixate_channel_positions):
Use gst_value_array_*() functions on value arrays, not
gst_value_list_*().
2005-11-23 12:40:04 +00:00
Edward Hervey
95bfd53181 autogen.sh: eheh, sinesrc is gone. Replacing sample srcfile by existing one.
Original commit message from CVS:
* autogen.sh:
eheh, sinesrc is gone. Replacing sample srcfile by existing one.
Fixes autogen
2005-11-23 12:38:10 +00:00
Thomas Vander Stichele
059fcb4eda add a test for videotestsrc
Original commit message from CVS:
add a test for videotestsrc
2005-11-23 12:14:10 +00:00
Thomas Vander Stichele
978d86d138 and remove sinesrc from the repository. Closes #321446
Original commit message from CVS:
and remove sinesrc from the repository.  Closes #321446
2005-11-23 12:00:20 +00:00
Thomas Vander Stichele
3f12c23cdb remove sinesrc from the build
Original commit message from CVS:
remove sinesrc from the build
2005-11-23 11:58:41 +00:00
Thomas Vander Stichele
88df6839ae check/: add a test for audiotestsrc, testing all waves. Even seems leak-free at first glance, nice job Stefan
Original commit message from CVS:

* check/Makefile.am:
* check/elements/audiotestsrc.c: (setup_audiotestsrc),
(cleanup_audiotestsrc), (GST_START_TEST), (audiotestsrc_suite),
(main):
add a test for audiotestsrc, testing all waves.  Even seems
leak-free at first glance, nice job Stefan
2005-11-23 11:52:48 +00:00
Jan Schmidt
17e498503c po/: Translation string updates
Original commit message from CVS:
* po/af.po:
* po/az.po:
* po/cs.po:
* po/en_GB.po:
* po/hu.po:
* po/it.po:
* po/nb.po:
* po/nl.po:
* po/or.po:
* po/sq.po:
* po/sr.po:
* po/sv.po:
* po/uk.po:
* po/vi.po:
Translation string updates

* sys/v4l/gstv4lsrc.c: (gst_v4lsrc_fixate), (gst_v4lsrc_get_caps),
(gst_v4lsrc_set_caps):
* sys/v4l/v4lsrc_calls.c: (gst_v4lsrc_get_fps),
(gst_v4lsrc_get_fps_list), (gst_v4lsrc_buffer_new):
* sys/v4l/v4lsrc_calls.h:
Improve v4lsrc, by making it work again.
2005-11-23 10:40:42 +00:00
Jan Schmidt
54ec8cf70e ext/libvisual/visual.c: Fix the fps calculations.
Original commit message from CVS:
* ext/libvisual/visual.c: (gst_visual_chain):
Fix the fps calculations.

* gst/ffmpegcolorspace/avcodec.h:
Move structure element for clarity

* gst-libs/gst/interfaces/tunernorm.c: (gst_tuner_norm_init):
* gst-libs/gst/interfaces/tunernorm.h:
* sys/v4l/gstv4ljpegsrc.c: (gst_v4ljpegsrc_src_link):
* sys/v4l/gstv4lmjpegsink.c: (gst_v4lmjpegsink_base_init):
* sys/v4l/gstv4lmjpegsrc.c: (gst_v4lmjpegsrc_base_init),
(gst_v4lmjpegsrc_get_fps), (gst_v4lmjpegsrc_src_convert),
(gst_v4lmjpegsrc_src_query), (gst_v4lmjpegsrc_get),
(gst_v4lmjpegsrc_getcaps):
* sys/v4l/gstv4lsrc.c: (gst_v4lsrc_fixate), (gst_v4lsrc_get_caps),
(gst_v4lsrc_set_caps):
* sys/v4l/gstv4lsrc.h:
* sys/v4l/v4l_calls.c: (gst_v4l_open):
* sys/v4l/v4lsrc_calls.c: (gst_v4lsrc_get_fps),
(gst_v4lsrc_get_fps_list), (gst_v4lsrc_buffer_new):
* sys/v4l/v4lsrc_calls.h:
Fractional framerates...
2005-11-22 23:46:31 +00:00
Wim Taymans
af2acb6eea gst-libs/gst/audio/gstbaseaudiosink.c: And we provide a clock by default, of course...
Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_class_init), (gst_base_audio_sink_set_clock),
(gst_base_audio_sink_render), (gst_base_audio_sink_change_state):
And we provide a clock by default, of course...
2005-11-22 18:54:56 +00:00
Wim Taymans
a3cb4d4937 gst-libs/gst/audio/gstaudioclock.c: This clock can be slaved to a master clock now.
Original commit message from CVS:
* gst-libs/gst/audio/gstaudioclock.c: (gst_audio_clock_init):
This clock can be slaved to a master clock now.

* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_class_init), (gst_base_audio_sink_init),
(gst_base_audio_sink_dispose), (gst_base_audio_sink_provide_clock),
(gst_base_audio_sink_set_clock),
(gst_base_audio_sink_set_property),
(gst_base_audio_sink_get_property), (gst_base_audio_sink_preroll),
(gst_base_audio_sink_render), (gst_base_audio_sink_change_state):
* gst-libs/gst/audio/gstbaseaudiosink.h:
Handle slaving the internal clock to the clock selected in the
pipeline.
Add property to make the basesink not provide a clock.

* gst-libs/gst/rtp/gstbasertpdepayload.c:
(gst_base_rtp_depayload_class_init), (gst_base_rtp_depayload_init),
(gst_base_rtp_depayload_wait):
* gst-libs/gst/rtp/gstbasertpdepayload.h:
We can use the clock in GstElement, no need to store it ourselves.
2005-11-22 18:32:09 +00:00
Thomas Vander Stichele
c0759093eb remove deprecated properties fix up enums to correctly have short lowercase dashed nicks
Original commit message from CVS:
remove deprecated properties
fix up enums to correctly have short lowercase dashed nicks
2005-11-22 17:39:29 +00:00
Michael Smith
e558623852 Remove conflict marker
Original commit message from CVS:
Remove conflict marker
2005-11-22 16:33:29 +00:00
Michael Smith
4feeea6c13 Add underscore.
Original commit message from CVS:
Add underscore.
2005-11-22 16:31:41 +00:00
Michael Smith
deaee40dab gst/: Use utility method for scaling clocktime for fractional framerates.
Original commit message from CVS:
* gst/videorate/gstvideorate.c: (gst_videorate_chain):
* gst/videotestsrc/gstvideotestsrc.c: (gst_videotestsrc_create):
Use utility method for scaling clocktime for fractional framerates.
2005-11-22 16:19:36 +00:00
Jan Schmidt
0e82871285 Convert elements to use fractions for their framerate.
Original commit message from CVS:
* ext/libvisual/visual.c: (gst_visual_src_setcaps), (get_buffer),
(gst_visual_chain):
* ext/ogg/gstogmparse.c: (gst_ogm_parse_chain):
* ext/theora/theoradec.c: (theora_handle_type_packet):
* ext/theora/theoraenc.c: (theora_enc_sink_setcaps),
(theora_enc_chain):
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_video_caps):
* gst-libs/gst/video/video.c: (gst_video_frame_rate):
* gst-libs/gst/video/video.h:
* gst/ffmpegcolorspace/avcodec.h:
* gst/ffmpegcolorspace/gstffmpegcodecmap.c:
(gst_ffmpeg_caps_to_pixfmt):
* gst/ffmpegcolorspace/gstffmpegcolorspace.c:
(gst_ffmpegcsp_set_caps):
* gst/videorate/gstvideorate.c: (gst_videorate_transformcaps),
(gst_videorate_setcaps), (gst_videorate_blank_data),
(gst_videorate_chain):
* gst/videotestsrc/gstvideotestsrc.c:
(gst_videotestsrc_src_fixate), (gst_videotestsrc_getcaps),
(gst_videotestsrc_parse_caps), (gst_videotestsrc_setcaps),
(gst_videotestsrc_event), (gst_videotestsrc_create):
* gst/videotestsrc/gstvideotestsrc.h:
* sys/ximage/ximagesink.c: (gst_ximagesink_xcontext_get),
(gst_ximagesink_setcaps), (gst_ximagesink_change_state),
(gst_ximagesink_get_times), (gst_ximagesink_init):
* sys/ximage/ximagesink.h:
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_get_xv_support),
(gst_xvimagesink_setcaps), (gst_xvimagesink_change_state),
(gst_xvimagesink_get_times), (gst_xvimagesink_init):
* sys/xvimage/xvimagesink.h:
Convert elements to use fractions for their framerate.
V4L elements to come later tonight.
2005-11-22 16:08:37 +00:00
Thomas Vander Stichele
08cd3b973f remove some deprecated functions
Original commit message from CVS:
remove some deprecated functions
2005-11-22 13:14:07 +00:00
Andy Wingo
ade9337a8e changelog
Original commit message from CVS:
changelog
2005-11-22 12:35:22 +00:00
Andy Wingo
20b31b4153 ext/ogg/gstoggdemux.c (gst_ogg_pad_submit_packet)
Original commit message from CVS:
2005-11-22  Andy Wingo  <wingo@pobox.com>

* ext/ogg/gstoggdemux.c (gst_ogg_pad_submit_packet)
(gst_ogg_demux_perform_seek):
* ext/theora/theoradec.c (theora_dec_sink_event):
* ext/vorbis/vorbisdec.c (vorbis_dec_sink_event): Run
update-funcnames.
2005-11-22 11:51:24 +00:00
Wim Taymans
4a67753ccc examples/seeking/seek.c: Give higher priority to bus signals than the gtk events to fix a race condition in the segme...
Original commit message from CVS:
* examples/seeking/seek.c: (main):
Give higher priority to bus signals than the gtk events
to fix a race condition in the segment looping.
2005-11-22 11:35:09 +00:00
Tim-Philipp Müller
c90f75526a Rename libgsttagedit to libgsttag (#322117).
Original commit message from CVS:
* ext/theora/Makefile.am:
* ext/vorbis/Makefile.am:
* gst-libs/gst/tag/Makefile.am:
* gst-plugins-base.spec.in:
Rename libgsttagedit to libgsttag (#322117).
2005-11-22 11:33:07 +00:00
Tim-Philipp Müller
e24e8e1276 sys/: Call gst_x_overlay_prepare_xwindow_id() to give applications a final chance to set their own xwindow id before ...
Original commit message from CVS:
* sys/ximage/ximagesink.c: (gst_ximagesink_setcaps):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_setcaps):
Call gst_x_overlay_prepare_xwindow_id() to give applications
a final chance to set their own xwindow id before the video
sink creates its own window.
2005-11-22 11:13:49 +00:00
Julien Moutte
24cc7d9c1a sys/xvimage/xvimagesink.c: Handle navigation events correcly with borders if applicable.
Original commit message from CVS:
2005-11-22  Julien MOUTTE  <julien@moutte.net>

* sys/xvimage/xvimagesink.c:
(gst_xvimagesink_navigation_send_event): Handle navigation
events correcly with borders if applicable.
2005-11-22 10:09:54 +00:00
Luca Ognibene
629092a79a gst/ffmpegcolorspace/: #318353); use gst_structure_has_name().
Original commit message from CVS:
* gst/ffmpegcolorspace/gstffmpegcodecmap.c:
(gst_ffmpeg_pixfmt_to_caps), (gst_ffmpeg_caps_to_pixfmt):
* gst/ffmpegcolorspace/gstffmpegcolorspace.c:
(gst_ffmpegcsp_caps_remove_format_info):
* gst/ffmpegcolorspace/imgconvert.c:
* gst/ffmpegcolorspace/imgconvert_template.h:
Forward-port fixes from the 0.8 branch (patch by Luca Ognibene,
#318353); use gst_structure_has_name().
2005-11-22 09:24:29 +00:00
Julien Moutte
cc3190e666 sys/ximage/ximagesink.c: Add debug macros on functions.
Original commit message from CVS:
2005-11-22  Julien MOUTTE  <julien@moutte.net>

* sys/ximage/ximagesink.c: (gst_ximagesink_event_thread),
(gst_ximagesink_class_init): Add debug macros on functions.
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_xvimage_new),
(gst_xvimagesink_xwindow_draw_borders),
(gst_xvimagesink_xvimage_put),
(gst_xvimagesink_xwindow_update_geometry),
(gst_xvimagesink_handle_xevents),
(gst_xvimagesink_get_xv_support),
(gst_xvimagesink_event_thread), (gst_xvimagesink_xcontext_get),
(gst_xvimagesink_xcontext_clear),
(gst_xvimagesink_get_format_from_caps),
(gst_xvimagesink_setcaps),
(gst_xvimagesink_change_state), (gst_xvimagesink_show_frame),
(gst_xvimagesink_buffer_alloc),
(gst_xvimagesink_set_xwindow_id),
(gst_xvimagesink_expose), (gst_xvimagesink_set_property),
(gst_xvimagesink_get_property), (gst_xvimagesink_finalize),
(gst_xvimagesink_init), (gst_xvimagesink_class_init):
* sys/xvimage/xvimagesink.h: Refactoring to handle aspect ratio,
expose while being PAUSED, out of data flow navigation events,
etc..
2005-11-22 09:18:56 +00:00
Thomas Vander Stichele
1c3b6d42a9 gst-libs/gst/audio/audio.*: fix prototype - wondering why the test worked regardless
Original commit message from CVS:

* gst-libs/gst/audio/audio.c: (gst_audio_duration_from_pad_buffer):
* gst-libs/gst/audio/audio.h:
fix prototype - wondering why the test worked regardless
2005-11-21 23:51:45 +00:00
Thomas Vander Stichele
be5a7cd625 add a method that returns a proper GstClockTime
Original commit message from CVS:
add a method that returns a proper GstClockTime
2005-11-21 22:56:33 +00:00
Tim-Philipp Müller
aaf1e55bd2 gst-libs/gst/interfaces/xoverlay.*: Remove everything having to do with the desired size; add gst_x_overlay_prepare_x...
Original commit message from CVS:
* gst-libs/gst/interfaces/xoverlay.c: (gst_x_overlay_base_init),
(gst_x_overlay_got_xwindow_id), (gst_x_overlay_prepare_xwindow_id):
* gst-libs/gst/interfaces/xoverlay.h:
Remove everything having to do with the desired size; add
gst_x_overlay_prepare_xwindow_id() function; remove the
'have-xwindow-id' signal and make gst_x_overlay_got_xwindow_id()
post a message on the bus instead (#321816).
* sys/ximage/ximagesink.c: (gst_ximagesink_xoverlay_init):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_setcaps),
(gst_xvimagesink_xoverlay_init):
Remove desired size stuff (#321816).
2005-11-21 20:28:23 +00:00
Tim-Philipp Müller
ece86d538f gst/typefind/gsttypefindfunctions.c: Terminate vararg functions with NULL instead of 0 to make gcc4 happy.
Original commit message from CVS:
* gst/typefind/gsttypefindfunctions.c: (mp3_type_find),
(mpeg2_sys_type_find), (mpeg1_sys_type_find),
(mpeg_video_type_find), (mpeg_video_stream_type_find):
Terminate vararg functions with NULL instead of 0 to
make gcc4 happy.
2005-11-21 20:19:55 +00:00
Andy Wingo
f25e29cd56 changelog
Original commit message from CVS:
changelog
2005-11-21 19:13:20 +00:00
Andy Wingo
3daa90cc7a gst-libs/gst/rtp/gstrtpbuffer.h: gst-libs/gst/rtp/gstrtpbuffer.c
Original commit message from CVS:
2005-11-21  Andy Wingo  <wingo@pobox.com>

patch from: Sebastien Cote <sebas642@yahoo.ca>

* gst-libs/gst/rtp/gstrtpbuffer.h:
* gst-libs/gst/rtp/gstrtpbuffer.c
(gst_rtpbuffer_get_payload_buffer): New function.
2005-11-21 19:12:51 +00:00
Andy Wingo
06d5485123 changelog
Original commit message from CVS:
changelog
2005-11-21 18:45:09 +00:00
Andy Wingo
f3bafece36 gst/playback/gstplaybin.c (gen_audio_element)
Original commit message from CVS:
2005-11-21  Andy Wingo  <wingo@pobox.com>

* gst/playback/gstplaybin.c (gen_audio_element)
(gen_video_element): Use the new MISSING_PLUGIN core error
category.
2005-11-21 18:44:02 +00:00
Andy Wingo
137c23468e Don't take stream lock.
Original commit message from CVS:
2005-11-21  Andy Wingo  <wingo@pobox.com>

* ext/vorbis/vorbisdec.c (vorbis_dec_sink_event):
* gst/videorate/gstvideorate.c (gst_videorate_event):
* ext/theora/theoradec.c (theora_dec_sink_event):
* ext/theora/theoraenc.c (theora_enc_sink_event): Don't take
stream lock.

* gst/subparse/gstsubparse.c (gst_subparse_src_event):
* ext/ogg/gstoggdemux.c (gst_ogg_demux_perform_seek): Update for
stream lock changes.
2005-11-21 17:29:00 +00:00
Wim Taymans
0f2336cff6 gst/: Segment update fix.
Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_class_init), (gst_base_audio_sink_init),
(gst_base_audio_sink_provide_clock),
(gst_base_audio_sink_set_clock), (gst_base_audio_sink_render),
(gst_base_audio_sink_change_state):
* gst/audioresample/gstaudioresample.c:
Segment update fix.
2005-11-21 17:14:02 +00:00
Andy Wingo
f405e12b4a *.*: Ran scripts/update-macros. Oh yes.
Original commit message from CVS:
2005-11-21  Andy Wingo  <wingo@pobox.com>

* *.h:
* *.c: Ran scripts/update-macros. Oh yes.
2005-11-21 16:35:24 +00:00
Tim-Philipp Müller
03ec8f5c05 sys/ximage/: Rename ximage plugin to ximagesink (#321426) (Don't forget to remove your old libgstximage.* manually if...
Original commit message from CVS:
* sys/ximage/Makefile.am:
* sys/ximage/ximage.c:
Rename ximage plugin to ximagesink (#321426) (Don't forget to
remove your old libgstximage.* manually if necessary).
2005-11-21 16:08:19 +00:00
Michael Smith
afa20a78b2 ext/vorbis/vorbisenc.c: Minimal fix for bug #320200: set the min/max bitrate in the correct units. A better fix would...
Original commit message from CVS:
* ext/vorbis/vorbisenc.c: (gst_vorbisenc_setup):
Minimal fix for bug #320200: set the min/max bitrate in the correct
units. A better fix would be to upgrade to the RATEMANAGE2
interface, rather than using the deprecated interface used here, but
that would require an update in our libvorbis dependency (to 1.1),
which is probably undesirable.
2005-11-21 15:16:29 +00:00
Jan Schmidt
1cc82e9138 Rename gst_caps_structure_fixate_* to gst_structure_fixate_* (#322027)
Original commit message from CVS:
* ext/libvisual/visual.c: (get_buffer):
* gst-libs/gst/audio/gstbaseaudiosrc.c:
(gst_base_audio_src_fixate):
* gst/audioconvert/gstaudioconvert.c:
(gst_audio_convert_fixate_caps):
* gst/audioscale/gstaudioscale.c: (gst_audioscale_fixate):
* gst/audiotestsrc/gstaudiotestsrc.c:
(gst_audiotestsrc_src_fixate):
* gst/sine/gstsinesrc.c: (gst_sinesrc_src_fixate):
* gst/videorate/gstvideorate.c: (gst_videorate_setcaps):
* gst/videoscale/gstvideoscale.c: (gst_videoscale_fixate_caps):
* gst/videotestsrc/gstvideotestsrc.c:
(gst_videotestsrc_src_fixate):
* sys/v4l/gstv4lsrc.c: (gst_v4lsrc_fixate):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_fixate):
Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
(#322027)
2005-11-21 14:29:53 +00:00
Tim-Philipp Müller
213898e8dc Fixes for GST_FOURCC_FORMAT API change.
Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_video_caps),
(gst_riff_create_iavs_caps):
* gst-libs/gst/riff/riff-read.c: (gst_riff_parse_file_header),
(gst_riff_parse_strh), (gst_riff_parse_strf_vids),
(gst_riff_parse_info):
* gst/videotestsrc/videotestsrc.c: (paintinfo_find_by_structure):
* sys/v4l/gstv4lsrc.c: (gst_v4lsrc_set_caps):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_setcaps):
Fixes for GST_FOURCC_FORMAT API change.
2005-11-21 13:32:36 +00:00
Jan Schmidt
f175fe8c43 Commit old changelog entry I forgot about the other night
Original commit message from CVS:
Commit old changelog entry I forgot about the other night
2005-11-21 12:53:53 +00:00
Alessandro Dessina
6483710419 ext/ogg/gstoggmux.c (gst_ogg_mux_set_header_on_caps): ext/ogg/gstoggparse.c (gst_ogg_parse_append_header)
Original commit message from CVS:
2005-11-21  Andy Wingo  <wingo@pobox.com>

patch by: Alessandro Dessina <alessandro nnva org>

* ext/ogg/gstoggmux.c (gst_ogg_mux_set_header_on_caps):
* ext/ogg/gstoggparse.c (gst_ogg_parse_append_header)
(gst_ogg_parse_chain):
* ext/theora/theoraenc.c (theora_set_header_on_caps):
* ext/vorbis/vorbisenc.c (gst_vorbisenc_set_header_on_caps):
* ext/vorbis/vorbisparse.c (vorbis_parse_set_header_on_caps): Fix
gst_value_list calls on arrays. Fixes #321962.
2005-11-21 12:36:22 +00:00
Tim-Philipp Müller
46db91babf Update for gst_collectpads_foo() to gst_collect_pads_foo()
Original commit message from CVS:
* ext/ogg/gstoggmux.c: (gst_ogg_mux_init),
(gst_ogg_mux_request_new_pad), (gst_ogg_mux_queue_pads),
(gst_ogg_mux_clear_collectpads), (gst_ogg_mux_change_state):
* gst/adder/gstadder.c: (gst_adder_init),
(gst_adder_request_new_pad), (gst_adder_collected),
(gst_adder_change_state):
Update for gst_collectpads_foo() to gst_collect_pads_foo()
API change.
2005-11-21 11:54:16 +00:00
Michael Smith
035f96fe88 ext/vorbis/vorbisenc.c: Properly handle pad_push return values.
Original commit message from CVS:
* ext/vorbis/vorbisenc.c: (gst_vorbisenc_clear),
(gst_vorbisenc_chain), (gst_vorbisenc_output_buffers):
Properly handle pad_push return values.
2005-11-21 10:09:16 +00:00
Wim Taymans
679918cbf6 ext/vorbis/vorbisenc.c: GST_PAD_IS_USABLE is gone, use the return value of the push or pad_alloc_buffer instead.
Original commit message from CVS:
* ext/vorbis/vorbisenc.c: (gst_vorbisenc_push_buffer),
(gst_vorbisenc_push_packet):
GST_PAD_IS_USABLE is gone, use the return value of
the push or pad_alloc_buffer instead.
2005-11-20 14:09:40 +00:00
Julien Moutte
9e0446f03e sys/ximage/ximagesink.*: Refactoring of ximagesink.
Original commit message from CVS:
2005-11-18  Julien MOUTTE  <julien@moutte.net>

* sys/ximage/ximagesink.c: (gst_ximage_buffer_finalize),
(gst_ximagesink_check_xshm_calls), (gst_ximagesink_ximage_new),
(gst_ximagesink_ximage_destroy),
(gst_ximagesink_xwindow_draw_borders),
(gst_ximagesink_ximage_put),
(gst_ximagesink_xwindow_new),
(gst_ximagesink_xwindow_update_geometry),
(gst_ximagesink_handle_xevents), (gst_ximagesink_event_thread),
(gst_ximagesink_xcontext_get), (gst_ximagesink_xcontext_clear),
(gst_ximagesink_bufferpool_clear), (gst_ximagesink_getcaps),
(gst_ximagesink_setcaps), (gst_ximagesink_change_state),
(gst_ximagesink_show_frame), (gst_ximagesink_buffer_alloc),
(gst_ximagesink_navigation_send_event),
(gst_ximagesink_set_xwindow_id), (gst_ximagesink_expose),
(gst_ximagesink_set_property), (gst_ximagesink_get_property),
(gst_ximagesink_finalize), (gst_ximagesink_init),
(gst_ximagesink_class_init):
* sys/ximage/ximagesink.h: Refactoring of ximagesink.
This new version brings correct software scaling, non flickering
window while resizing, pixel aspect ratio handling, usage of
hardware buffer pools, out of data flow event thread for
navigation and handling of expose events even when being PAUSED,
a new property to keep video aspect ratio when resizing, etc...
2005-11-18 17:58:12 +00:00
Julien Moutte
4f1890270b gst/videoscale/gstvideoscale.c: Introduce back caps fixate with handling of PAR.
Original commit message from CVS:
2005-11-18  Julien MOUTTE  <julien@moutte.net>

* gst/videoscale/gstvideoscale.c: (gst_videoscale_class_init),
(gst_videoscale_fixate_caps): Introduce back caps fixate with
handling of PAR.
2005-11-18 17:31:17 +00:00
Edward Hervey
8a955ff2c2 gst/playback/gstdecodebin.c: Unsetting IS_SINK flag from the fakesink, so decodebin never behaves as a sink.
Original commit message from CVS:
* gst/playback/gstdecodebin.c: (gst_decode_bin_init):
Unsetting IS_SINK flag from the fakesink, so decodebin
never behaves as a sink.
2005-11-18 13:04:19 +00:00
Wim Taymans
9edbf81fd2 gst-libs/gst/audio/gstbaseaudiosrc.c: Fix the audiosrc base class again, we did not unflush.
Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosrc.c:
(gst_base_audio_src_change_state):
Fix the audiosrc base class again, we did not unflush.
2005-11-17 14:40:12 +00:00
Julien Moutte
e76252cd21 examples/seeking/seek.c: Use VSINK everywhere, add a scaler to ogg/vorbis/theora pipeline.
Original commit message from CVS:
2005-11-17  Julien MOUTTE  <julien@moutte.net>

* examples/seeking/seek.c: (make_dv_pipeline),
(make_vorbis_theora_pipeline), (make_avi_pipeline),
(make_mpegnt_pipeline): Use VSINK everywhere, add a scaler
to ogg/vorbis/theora pipeline.
2005-11-17 12:36:36 +00:00
Wim Taymans
6002986857 ext/ogg/gstoggmux.c: Fix EOS on multiple streams.
Original commit message from CVS:
* ext/ogg/gstoggmux.c: (gst_ogg_mux_queue_pads),
(gst_ogg_mux_get_headers), (gst_ogg_mux_send_headers),
(gst_ogg_mux_collected), (gst_ogg_mux_change_state):
Fix EOS on multiple streams.
More debugging.
2005-11-17 10:56:14 +00:00
Wim Taymans
928996eb94 ext/ogg/gstoggdemux.c: Segment done must include stream time.
Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_configure_segment),
(gst_ogg_demux_perform_seek):
Segment done must include stream time.

* ext/ogg/gstoggmux.c: (gst_ogg_mux_class_init),
(gst_ogg_mux_clear), (gst_ogg_mux_init), (gst_ogg_mux_finalize),
(gst_ogg_mux_change_state):
Fix ogg muxer again.
2005-11-16 19:32:50 +00:00
Wim Taymans
c70a2b383a ext/ogg/gstogmparse.c: Fix compile again.
Original commit message from CVS:
* ext/ogg/gstogmparse.c: (gst_ogm_audio_parse_init):
Fix compile again.
2005-11-16 18:43:35 +00:00
Thomas Vander Stichele
44ae8114e6 Fix a whole set of pad template leaks
Original commit message from CVS:
Fix a whole set of pad template leaks
2005-11-16 18:21:46 +00:00
Thomas Vander Stichele
494dc46f17 check/generic/states.c: fix the test so that it only checks for elements that are part of this source module
Original commit message from CVS:
* check/generic/states.c: (GST_START_TEST):
fix the test so that it only checks for elements that are part of
this source module
2005-11-16 18:19:11 +00:00
Michael Smith
77c0003ad8 Don't leak collectpads from oggmux.
Original commit message from CVS:
Don't leak collectpads from oggmux.
2005-11-16 18:09:15 +00:00
Edward Hervey
a780198451 gst/videorate/gstvideorate.c: Handle segment seeks
Original commit message from CVS:
* gst/videorate/gstvideorate.c: (gst_videorate_blank_data),
(gst_videorate_event), (gst_videorate_chain):
Handle segment seeks
2005-11-16 17:56:40 +00:00
Wim Taymans
99fb91493e gst-libs/gst/audio/gstbaseaudiosink.c: Set ringbuffer to non-flushing when going to PAUSED, set to flushing again whe...
Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_provide_clock),
(gst_base_audio_sink_change_state):
Set ringbuffer to non-flushing when going to PAUSED, set to
flushing again when going to READY.

* gst-libs/gst/audio/gstringbuffer.c: (gst_ring_buffer_init),
(gst_ring_buffer_stop):
Start in flushing mode by default.
Don't set flushing in the _stop method, let the app call
this explicitly.
2005-11-16 16:48:35 +00:00
Julien Moutte
451645fd56 gst-libs/gst/video/: Add helper function needed for video sinks.
Original commit message from CVS:
2005-11-16  Julien MOUTTE  <julien@moutte.net>

* gst-libs/gst/video/gstvideosink.c:
(gst_video_sink_center_rect):
* gst-libs/gst/video/videosink.h: Add helper function needed
for video sinks.
2005-11-16 15:59:21 +00:00
Tim-Philipp Müller
0f873a9ab4 gst/videoscale/gstvideoscale.c: Don't leak reference to pad parent.
Original commit message from CVS:
* gst/videoscale/gstvideoscale.c:
(gst_videoscale_handle_src_event):
Don't leak reference to pad parent.
2005-11-16 12:23:02 +00:00
Wim Taymans
8360581332 gst-libs/gst/audio/gstringbuffer.c: Set ringbuffer to flushing when stopping so that we don't block on wait_segment a...
Original commit message from CVS:
* gst-libs/gst/audio/gstringbuffer.c: (gst_ring_buffer_stop):
Set ringbuffer to flushing when stopping so that we don't
block on wait_segment anymore and livelock.
2005-11-16 12:17:06 +00:00
Wim Taymans
27ebf53a09 examples/seeking/seek.c: Added looping checkbox.
Original commit message from CVS:
* examples/seeking/seek.c: (send_event), (do_seek),
(loop_toggle_cb), (segment_done), (main):
Added looping checkbox.
2005-11-16 10:54:45 +00:00
Thomas Vander Stichele
83b5dc6e8a revert unrefs, they don't pass make check
Original commit message from CVS:
revert unrefs, they don't pass make check
2005-11-16 00:11:36 +00:00
Johan Dahlin
4f08d8649d Plug leaks.
Original commit message from CVS:
Plug leaks.
2005-11-15 19:34:39 +00:00
Tim-Philipp Müller
533d7d68c3 sys/xvimage/xvimagesink.c: Make state change function thread safe.
Original commit message from CVS:
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_change_state):
Make state change function thread safe.
2005-11-15 19:01:43 +00:00
Edward Hervey
8c392fb611 ext/ogg/gstoggdemux.c: Implement GstElement::send_event, so we can send seek events in GST_STATE_READY
Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_receive_event),
(gst_ogg_demux_class_init):
Implement GstElement::send_event, so we can send seek events
in GST_STATE_READY
2005-11-15 18:11:17 +00:00
Julien Moutte
0a55772493 sys/xvimage/xvimagesink.c: Discovered how to take away flickering while resizing the window. Please don't put that in...
Original commit message from CVS:
2005-11-14  Julien MOUTTE  <julien@moutte.net>

* sys/xvimage/xvimagesink.c: (gst_xvimagesink_xwindow_new):
Discovered how to take away flickering while resizing the
window. Please don't put that in ximagesink, refactoring in
progress.
2005-11-14 22:01:22 +00:00
Michael Smith
eac77914d3 gst/tcp/gstmultifdsink.c: Don't leak GDP headers when using GDP mode (i.e. tcpserversink).
Original commit message from CVS:
* gst/tcp/gstmultifdsink.c: (gst_multifdsink_client_queue_data),
(gst_multifdsink_render):
Don't leak GDP headers when using GDP mode (i.e. tcpserversink).
2005-11-14 18:47:54 +00:00
Tim-Philipp Müller
726770239d gst/playback/gstplaybin.c: Use autoaudiosink, it tends to be more widely available than autoaudiiosink.
Original commit message from CVS:
* gst/playback/gstplaybin.c: (gen_audio_element):
Use autoaudiosink, it tends to be more widely available than
autoaudiiosink.
2005-11-14 18:26:21 +00:00
Andy Wingo
65480fcc2d gst/playback/gstplaybin.c (gen_audio_element): Use autoaudiosink as well if it is available. Fixes #316442.
Original commit message from CVS:
2005-11-14  Andy Wingo  <wingo@pobox.com>

* gst/playback/gstplaybin.c (gen_audio_element): Use autoaudiosink
as well if it is available. Fixes #316442.
2005-11-14 17:44:40 +00:00
Michael Smith
84d7f7462e ext/: Fix a small memory leak in vorbisenc.
Original commit message from CVS:
* ext/ogg/gstoggmux.c: (gst_ogg_mux_clear), (gst_ogg_mux_init),
(gst_ogg_mux_sinkconnect), (gst_ogg_mux_request_new_pad),
(gst_ogg_mux_push_buffer), (gst_ogg_mux_dequeue_page),
(gst_ogg_mux_pad_queue_page), (gst_ogg_mux_queue_pads),
(gst_ogg_mux_set_header_on_caps), (gst_ogg_mux_collected),
(gst_ogg_mux_clear_collectpads), (gst_ogg_mux_change_state):
* ext/vorbis/vorbisenc.c: (gst_vorbisenc_buffer_from_packet),
(gst_vorbisenc_change_state):
Fix a small memory leak in vorbisenc.
Fix large memory leaks in oggmux, also fix lots of state change
bugs in oggmux.
2005-11-14 16:11:53 +00:00
Thomas Vander Stichele
38383d1d6f gst/videotestsrc/gstvideotestsrc.c: move fixation to a fixate function remove negotiate function, basesrc's is good e...
Original commit message from CVS:
* gst/videotestsrc/gstvideotestsrc.c:
(gst_videotestsrc_class_init), (gst_videotestsrc_init),
(gst_videotestsrc_src_fixate):
move fixation to a fixate function
remove negotiate function, basesrc's is good enough
fixes a bug for check when using the element alone
2005-11-14 12:15:01 +00:00
Edward Hervey
771ad7b3cb examples/seeking/seek.c: Added checkboxes for adding/removing the accurate and key_unit seek flags.
Original commit message from CVS:
* examples/seeking/seek.c: (do_seek), (accurate_toggle_cb),
(key_toggle_cb), (main):
Added checkboxes for adding/removing the accurate and key_unit seek
flags.
2005-11-13 13:53:26 +00:00
Thomas Vander Stichele
ac198e612c back to head
Original commit message from CVS:
back to head
2005-11-11 19:32:17 +00:00
Thomas Vander Stichele
99ba50c023 releasing 0.9.5
Original commit message from CVS:
releasing 0.9.5
2005-11-11 19:31:04 +00:00
Edward Hervey
6f844d7547 examples/seeking/seek.c: Added parse-launch syntax seeking mode for the seeking example.
Original commit message from CVS:
* examples/seeking/seek.c: (make_parselaunch_pipeline):
Added parse-launch syntax seeking mode for the seeking example.
This should help stress-test even more cases.
Ex usage : ./seek 15 "filesrc location=uranus.avi ! decodebin ! xvimagesink"
2005-11-11 19:16:35 +00:00
Tim-Philipp Müller
e6ef73471b sys/xvimage/xvimagesink.c: Check whether peer pad exists before sending navigation events to it.
Original commit message from CVS:
* sys/xvimage/xvimagesink.c:
(gst_xvimagesink_navigation_send_event):
Check whether peer pad exists before sending navigation events
to it.
2005-11-11 17:41:04 +00:00
Michael Smith
4427a67754 ext/vorbis/vorbisenc.*: Set duration on encoded buffers. This allows oggmux's max_page_delay parameter to actually work.
Original commit message from CVS:
* ext/vorbis/vorbisenc.c: (gst_vorbisenc_setup),
(gst_vorbisenc_buffer_from_packet):
* ext/vorbis/vorbisenc.h:
Set duration on encoded buffers. This allows oggmux's
max_page_delay parameter to actually work.
2005-11-11 16:35:39 +00:00
Tim-Philipp Müller
f407a3766e gst/ffmpegcolorspace/: Make palettes work again (see #132341). Use our own macros for rounding up.
Original commit message from CVS:
* gst/ffmpegcolorspace/gstffmpegcodecmap.c:
(gst_ffmpeg_get_palette), (gst_ffmpeg_set_palette),
(gst_ffmpegcsp_avpicture_fill):
* gst/ffmpegcolorspace/gstffmpegcolorspace.c:
(gst_ffmpegcsp_get_unit_size), (gst_ffmpegcsp_transform):
Make palettes work again (see #132341). Use our own macros
for rounding up.
2005-11-11 15:55:38 +00:00
Andy Wingo
32745f7737 foo
Original commit message from CVS:
foo
2005-11-10 19:06:21 +00:00
Andy Wingo
d6d7f17043 gst/playback/gstplaybasebin.c (prepare_output): Fix format string doober.
Original commit message from CVS:
2005-11-10  Andy Wingo  <wingo@pobox.com>

* gst/playback/gstplaybasebin.c (prepare_output): Fix format
string doober.
2005-11-10 19:05:38 +00:00
Thomas Vander Stichele
8f560885c2 gst/ffmpegcolorspace/gstffmpegcolorspace.c: Prefer passthrough in transform_caps
Original commit message from CVS:
* gst/ffmpegcolorspace/gstffmpegcolorspace.c:
(gst_ffmpegcsp_transform_caps):
Prefer passthrough in transform_caps
2005-11-10 18:57:17 +00:00
Thomas Vander Stichele
1f1bfe8a09 ext/alsa/gstalsasink.c: check for ALSA errors properly, instead of relying on ALSA's error strings to serve to the user.
Original commit message from CVS:
* ext/alsa/gstalsasink.c: (gst_alsasink_open):
check for ALSA errors properly, instead of relying on ALSA's
error strings to serve to the user.
2005-11-10 18:47:20 +00:00
Wim Taymans
4f9f097798 ext/ogg/gstoggdemux.c: Modernise the seek code.
Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_event), (gst_ogg_demux_init),
(gst_ogg_demux_configure_segment), (gst_ogg_demux_perform_seek),
(gst_ogg_demux_loop), (gst_ogg_demux_change_state):
Modernise the seek code.
2005-11-10 18:01:28 +00:00
Michael Smith
3b5568c1a4 gst/playback/gstplaybasebin.c: Unlock GROUP_LOCK in failure cases, so that we don't deadlock when trying to go to NUL...
Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (group_commit), (new_decoded_pad),
(setup_substreams), (set_active_source):
Unlock GROUP_LOCK in failure cases, so that we don't deadlock when
trying to go to NULL if we failed to read a file.
2005-11-10 17:29:48 +00:00
Wim Taymans
31461ebd0b gst/: The base class can now sync for us.
Original commit message from CVS:
* gst/audiotestsrc/gstaudiotestsrc.c:
(gst_audiotestsrc_class_init), (gst_audiotestsrc_get_times),
(gst_audiotestsrc_create):
* gst/sine/gstsinesrc.c: (gst_sinesrc_class_init),
(gst_sinesrc_get_times), (gst_sinesrc_create):
* gst/videotestsrc/gstvideotestsrc.c:
(gst_videotestsrc_class_init), (gst_videotestsrc_get_times),
(gst_videotestsrc_create):
The base class can now sync for us.
2005-11-10 14:58:41 +00:00
Thomas Vander Stichele
7887553268 sys/v4l/gstv4lsrc.c: Check if the caps have a fourcc field. Fixes crash for gst-launch-0.9 v4lsrc name=source autopr...
Original commit message from CVS:

* sys/v4l/gstv4lsrc.c: (gst_v4lsrc_fixate):
Check if the caps have a fourcc field.  Fixes crash for
gst-launch-0.9 v4lsrc name=source autoprobe=false autoprobe-fps=false                          copy-mode=1 device=/dev/video0 ! ffmpegcolorspace !                          "video/x-raw-yuv, format=(fourcc)I420" ! xvimagesink
2005-11-10 12:57:01 +00:00
Tim-Philipp Müller
19a54b1966 gst/sine/gstsinesrc.c: Send newsegment event in TIME format, set duration if num-buffers is set, fix duration querying.
Original commit message from CVS:
* gst/sine/gstsinesrc.c: (gst_sinesrc_class_init),
(gst_sinesrc_get_query_types), (gst_sinesrc_src_query),
(gst_sinesrc_newsegment):
Send newsegment event in TIME format, set duration if
num-buffers is set, fix duration querying.
2005-11-10 11:43:43 +00:00
Michael Smith
d6bea52af5 ext/ogg/gstoggmux.c: Fix EOS handling, partially. Now forwarding an EOS event once we have
Original commit message from CVS:
* ext/ogg/gstoggmux.c: (gst_ogg_mux_request_new_pad),
(gst_ogg_mux_push_buffer), (gst_ogg_mux_dequeue_page),
(gst_ogg_mux_pad_queue_page), (gst_ogg_mux_queue_pads),
(gst_ogg_mux_collected):
Fix EOS handling, partially. Now forwarding an EOS event once we have
EOS on all pads works correctly. However, we still don't properly set
EOS on the actual ogg stream pages.
2005-11-10 10:45:07 +00:00
Tim-Philipp Müller
33fd9d677d gst/playback/gstplaybin.c: Set elements to NULL state before disposing of them.
Original commit message from CVS:
* gst/playback/gstplaybin.c: (gst_play_bin_dispose):
Set elements to NULL state before disposing of them.
2005-11-09 16:09:52 +00:00
Tim-Philipp Müller
9a16fb5d49 gst-libs/gst/rtp/gstbasertpdepayload.*: We need to send a newsegment event for each instance, not just for the first ...
Original commit message from CVS:
Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
* gst-libs/gst/rtp/gstbasertpdepayload.c:
(gst_base_rtp_depayload_init),
(gst_base_rtp_depayload_set_gst_timestamp):
* gst-libs/gst/rtp/gstbasertpdepayload.h:
We need to send a newsegment event for each instance, not
just for the first instance of this class (get rid of
static variable in function). (#321011).
2005-11-08 22:34:24 +00:00
Michael Smith
6f1277ab13 ext/ogg/gstoggmux.c: Forward port rewrite of muxing strategy to 0.9 version of oggmux.
Original commit message from CVS:
* ext/ogg/gstoggmux.c: (gst_ogg_mux_request_new_pad),
(gst_ogg_mux_buffer_from_page), (gst_ogg_mux_push_buffer),
(gst_ogg_mux_dequeue_page), (gst_ogg_mux_pad_queue_page),
(gst_ogg_mux_send_headers), (gst_ogg_mux_collected):
Forward port rewrite of muxing strategy to 0.9 version of oggmux.
This makes us mux things correctly according to the ogg muxing
rules. Still not handling EOS correctly right now, though.
2005-11-08 16:37:32 +00:00
Tim-Philipp Müller
9136b3d6aa gst/audioconvert/gstaudioconvert.c: Fix typo in docs.
Original commit message from CVS:
* gst/audioconvert/gstaudioconvert.c:
Fix typo in docs.
2005-11-08 12:18:14 +00:00
Tim-Philipp Müller
abda2cc1b8 ext/ogg/gstoggdemux.c: Initialise segment_stop to GST_CLOCK_TIME_NONE when creating a new chain; should fix live stre...
Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_internal_chain),
(gst_ogg_pad_submit_packet), (gst_ogg_chain_new):
Initialise segment_stop to GST_CLOCK_TIME_NONE when
creating a new chain; should fix live streaming. Also
add more debug output and fix a typo.
2005-11-08 12:12:55 +00:00
Tim-Philipp Müller
e4493ada68 gst/volume/gstvolume.c: Fix compilation on Solaris with Forte. (#320923)
Original commit message from CVS:
Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
* gst/volume/gstvolume.c: (volume_set_caps):
Fix compilation on Solaris with Forte. (#320923)
2005-11-08 12:08:11 +00:00
Wim Taymans
b886b99345 gst-libs/gst/audio/gstbaseaudiosink.c: No need to do a typecheck.
Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_render):
No need to do a typecheck.
2005-11-08 11:41:52 +00:00
Tim-Philipp Müller
ccb0aa5a05 ext/alsa/gstalsa.h: We register a debug category, so let's use it.
Original commit message from CVS:
* ext/alsa/gstalsa.h:
We register a debug category, so let's use it.
2005-11-07 19:42:38 +00:00
Zeeshan Ali
61f87e1f1d Fixed a small problem.
Original commit message from CVS:
Fixed a small problem.
2005-11-04 18:03:07 +00:00
Wim Taymans
09e894fec5 examples/seeking/: Added app for playback speed testing.
Original commit message from CVS:
* examples/seeking/Makefile.am:
* examples/seeking/scrubby.c: (gst_element_factory_make_or_warn),
(dynamic_link), (setup_dynamic_link), (make_wav_pipeline),
(make_playerbin_pipeline), (format_value), (update_scale),
(speed_cb), (seek_cb), (do_seek), (start_seek), (stop_seek),
(play_cb), (pause_cb), (stop_cb), (print_message), (bus_message),
(print_usage), (main):
Added app for playback speed testing.

* examples/seeking/seek.c: (dynamic_link),
(make_avi_msmpeg4v3_mp3_pipeline), (make_avi_pipeline),
(make_mpeg_pipeline), (do_seek), (set_update_scale),
(message_received), (main):
Updated seek example.
2005-11-04 10:49:55 +00:00
Zeeshan Ali
5194aac11a Don't sleep on the bench (system clock) when you have a nice comfortable bed (Gstreamer clock) to sleep on.
Original commit message from CVS:
Don't sleep on the bench (system clock) when you have a nice comfortable
bed (Gstreamer clock) to sleep on.
2005-11-03 22:49:38 +00:00
Wim Taymans
6e48aa490c gst/playback/gstdecodebin.c: Handle the case where a pad_block failed.
Original commit message from CVS:
* gst/playback/gstdecodebin.c: (gst_decode_bin_init),
(gst_decode_bin_dispose), (free_dynamics), (remove_fakesink),
(pad_blocked), (close_pad_link), (new_pad), (no_more_pads):
Handle the case where a pad_block failed.
2005-11-03 12:32:09 +00:00
Zeeshan Ali
fd81fd44a6 Fixes some bugs in the depayloader's queuing/de-queueing code.
Original commit message from CVS:
Fixes some bugs in the depayloader's queuing/de-queueing code.
2005-11-02 10:23:38 +00:00
Alessandro Decina
561b9e417d ext/ogg/gstoggdemux.c: Make oggdemux only find the final time in a chain, not per-pad, since the per-pad information ...
Original commit message from CVS:
2005-10-31  Michael Smith <msmith@fluendo.com>

* ext/ogg/gstoggdemux.c: (gst_ogg_pad_init),
(gst_ogg_demux_read_chain), (gst_ogg_demux_read_end_chain),
(gst_ogg_demux_collect_chain_info), (gst_ogg_print):
Patch from Alessandro Decina <alessandro@nnva.org>.
Make oggdemux only find the final time in a chain, not per-pad,
since the per-pad information can be very expensive to locate, and
it isn't used anywhere. This makes reading a file containing
OggSkeleton reasonably fast.
Also, make chain finding work when there are logical bitstreams that
can't be decoded. Fixes #319110.
2005-10-31 18:35:45 +00:00
Zeeshan Ali
a93ba99167 Some random fixes, to fullfill the desires of thomas.
Original commit message from CVS:
Some random fixes, to fullfill the desires of thomas.
2005-10-31 15:32:54 +00:00
Zeeshan Ali
39daed4c1e Fixed the queueing algorithm.
Original commit message from CVS:
Fixed the queueing algorithm.
2005-10-31 13:29:06 +00:00
Zeeshan Ali
4771dfa4ca A small fix
Original commit message from CVS:
A small fix
2005-10-31 12:09:19 +00:00
Wim Taymans
d23d907a86 gst-libs/gst/audio/gstringbuffer.h: Don't break ABI.
Original commit message from CVS:
* gst-libs/gst/audio/gstringbuffer.h:
Don't break ABI.

* gst/ffmpegcolorspace/gstffmpegcodecmap.c:
(gst_ffmpeg_caps_to_pixfmt):
* gst/ffmpegcolorspace/gstffmpegcolorspace.c:
(gst_ffmpegcsp_set_caps):
Some more comments.
Handle missing required caps fields better.
2005-10-31 11:43:01 +00:00
Wim Taymans
09ca2ec93b gst-libs/gst/audio/: Add flushing mode to the ringbuffer so that it in all cases does not try to handle more audio. T...
Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_event), (gst_base_audio_sink_get_offset),
(gst_base_audio_sink_render):
* gst-libs/gst/audio/gstringbuffer.c:
(gst_ring_buffer_open_device), (gst_ring_buffer_close_device),
(gst_ring_buffer_set_flushing), (gst_ring_buffer_start),
(gst_ring_buffer_pause_unlocked), (gst_ring_buffer_pause),
(gst_ring_buffer_stop), (wait_segment), (gst_ring_buffer_commit),
(gst_ring_buffer_read):
* gst-libs/gst/audio/gstringbuffer.h:
Add flushing mode to the ringbuffer so that it in all cases does
not try to handle more audio. This makes sure it does not try to
block anymore when flushing and fixes a livelock.
2005-10-31 10:30:41 +00:00
Tim-Philipp Müller
c79b832176 ext/ogg/gstoggdemux.c: Explicitly check for -1 values before doing a conversion and always map them to -1. (#315545)
Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_query_convert),
(gst_ogg_demux_chain_peer), (gst_ogg_demux_perform_seek),
(gst_ogg_demux_read_chain), (gst_ogg_demux_read_end_chain):
Explicitly check for -1 values before doing a conversion
and always map them to -1. (#315545)
2005-10-29 13:39:23 +00:00
Thomas Vander Stichele
2d8a59b262 gst/playback/gstplaybin.c: first try autovideosink, then xvimagesink, then error out
Original commit message from CVS:
* gst/playback/gstplaybin.c: (gen_video_element):
first try autovideosink, then xvimagesink, then error out
* po/POTFILES.in:
add translatable file
* po/af.po:
* po/az.po:
* po/cs.po:
* po/en_GB.po:
* po/hu.po:
* po/it.po:
* po/nb.po:
* po/nl.po:
* po/or.po:
* po/sq.po:
* po/sr.po:
* po/sv.po:
* po/uk.po:
* po/vi.po:
update translations
2005-10-28 09:56:47 +00:00
Philippe Kalaf
f2ce71697b gst-libs/gst/rtp/gstbasedepayload.*: Minor cleanups
Original commit message from CVS:
* gst-libs/gst/rtp/gstbasedepayload.c:
* gst-libs/gst/rtp/gstbasedepayload.h:
Minor cleanups
2005-10-27 22:14:02 +00:00
Tim-Philipp Müller
b3399481e8 gst/playback/: Port these two tests as well.
Original commit message from CVS:
* gst/playback/.cvsignore:
* gst/playback/decodetest.c:
* gst/playback/test3.c:
Port these two tests as well.
2005-10-27 18:30:04 +00:00
Wim Taymans
323ba80ff3 ext/: Take proper locks when handling events.
Original commit message from CVS:
* ext/theora/theoradec.c: (theora_dec_src_query),
(theora_dec_sink_event):
* ext/theora/theoraenc.c: (theora_enc_sink_event),
(theora_enc_change_state):
* ext/vorbis/vorbisenc.c: (gst_vorbisenc_init),
(gst_vorbisenc_sink_event), (gst_vorbisenc_change_state):
Take proper locks when handling events.
2005-10-27 11:33:09 +00:00
Wim Taymans
2de274ea2c gst/adder/gstadder.c: Fix timestamps and fix deadlock when stopping the collectpads.
Original commit message from CVS:
* gst/adder/gstadder.c: (gst_adder_query), (gst_adder_collected),
(gst_adder_change_state):
Fix timestamps and fix deadlock when stopping the collectpads.
2005-10-27 09:54:06 +00:00
Zeeshan Ali
00e8471356 I'm too lazy to comment this
Original commit message from CVS:
*** empty log message ***
2005-10-26 21:42:21 +00:00
Zeeshan Ali
6c57193525 Fixes a small but nasty bug. The derived elements no longer segfaults on finalization.
Original commit message from CVS:
Fixes a small but nasty bug. The derived elements no longer segfaults on
finalization.
2005-10-26 20:00:46 +00:00
Michael Smith
5fba886320 gst/audioconvert/audioconvert.c: When clearing an audioconvert context, set tmpbufsize to zero, so we'll allocate it ...
Original commit message from CVS:
* gst/audioconvert/audioconvert.c: (audio_convert_clean_context):
When clearing an audioconvert context, set tmpbufsize to zero, so
we'll allocate it again later if required.
This fixes audioconvert re-negotiating formats, which previously
segfaulted with a NULL destination buffer.
2005-10-26 16:26:44 +00:00
Zeeshan Ali
6b235f7ee3 Fixed a small mem-leak.
Original commit message from CVS:
Fixed a small mem-leak.
2005-10-26 14:19:21 +00:00
Zeeshan Ali
4417686358 Changed the C++ comments to C comments.
Original commit message from CVS:
Changed the C++ comments to C comments.
2005-10-26 13:52:42 +00:00
Tim-Philipp Müller
ac29f18f79 gst/tcp/: Remove unused 'curoffset' structure member.
Original commit message from CVS:
* gst/tcp/gsttcpclientsrc.c: (gst_tcpclientsrc_init):
* gst/tcp/gsttcpclientsrc.h:
* gst/tcp/gsttcpserversrc.c: (gst_tcpserversrc_init):
* gst/tcp/gsttcpserversrc.h:
Remove unused 'curoffset' structure member.
2005-10-26 11:43:49 +00:00
Zeeshan Ali
f6b0ca0572 The pad-template on the sinkpad should be set by the derived classes. Also added some usefull macros.
Original commit message from CVS:
The pad-template on the sinkpad should be set by the derived classes. Also added some usefull macros.
2005-10-25 17:20:55 +00:00
Wim Taymans
37c0c43425 ext/vorbis/vorbisdec.c: Correctly flush decoder samples even if we could not copy them to an output buffer. Fixes #31...
Original commit message from CVS:
* ext/vorbis/vorbisdec.c: (vorbis_handle_data_packet):
Correctly flush decoder samples even if we could not
copy them to an output buffer. Fixes #319618.
2005-10-24 17:40:37 +00:00
Julien Moutte
d69cf5631a sys/: Check the caps against our xcontext caps.
Original commit message from CVS:
2005-10-24  Julien MOUTTE  <julien@moutte.net>

* sys/ximage/ximagesink.c: (gst_ximagesink_setcaps):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_setcaps): Check
the caps against our xcontext caps.
2005-10-24 17:04:01 +00:00