platform/upstream/gst-plugins-base.git
17 years agoext/gnomevfs/gstgnomevfssrc.c: Fix misleading docs addition.
Tim-Philipp Müller [Fri, 22 Sep 2006 14:50:01 +0000 (14:50 +0000)]
ext/gnomevfs/gstgnomevfssrc.c: Fix misleading docs addition.

Original commit message from CVS:
* ext/gnomevfs/gstgnomevfssrc.c:
Fix misleading docs addition.
* tests/check/elements/videotestsrc.c: (check_rgb_buf):
Get rid of compiler warning the right way.

17 years agogst-libs/gst/rtp/gstbasertpdepayload.*: Small cleanups.
Wim Taymans [Fri, 22 Sep 2006 14:13:34 +0000 (14:13 +0000)]
gst-libs/gst/rtp/gstbasertpdepayload.*: Small cleanups.

Original commit message from CVS:
* gst-libs/gst/rtp/gstbasertpdepayload.c:
(gst_base_rtp_depayload_finalize),
(gst_base_rtp_depayload_setcaps), (gst_base_rtp_depayload_chain),
(gst_base_rtp_depayload_push_full),
(gst_base_rtp_depayload_push_ts), (gst_base_rtp_depayload_push),
(gst_base_rtp_depayload_process),
(gst_base_rtp_depayload_set_gst_timestamp),
(gst_base_rtp_depayload_queue_release):
* gst-libs/gst/rtp/gstbasertpdepayload.h:
Small cleanups.
Fix some leaks.
Refactored the process method and added methods to push from the process
vmethod.
Use _scale functions.
API: gst_base_rtp_depayload_push_ts
API: gst_base_rtp_depayload_push
* gst-libs/gst/rtp/gstbasertppayload.c: (gst_basertppayload_push):
timestamps are uint.

17 years agogst-libs/gst/interfaces/xoverlay.c: Remove unused statement from doc example.
Stefan Kost [Fri, 22 Sep 2006 11:59:00 +0000 (11:59 +0000)]
gst-libs/gst/interfaces/xoverlay.c: Remove unused statement from doc example.

Original commit message from CVS:
* gst-libs/gst/interfaces/xoverlay.c:
Remove unused statement from doc example.

17 years agoupdate docs
Thomas Vander Stichele [Fri, 22 Sep 2006 09:52:21 +0000 (09:52 +0000)]
update docs

Original commit message from CVS:
update docs

17 years agogst-libs/gst/interfaces/videoorientation.c: Add since tags to new API docs, ChangeLog...
Stefan Kost [Thu, 21 Sep 2006 13:49:47 +0000 (13:49 +0000)]
gst-libs/gst/interfaces/videoorientation.c: Add since tags to new API docs, ChangeLog surgery (forgot API keyword in ...

Original commit message from CVS:
* gst-libs/gst/interfaces/videoorientation.c:
(gst_video_orientation_iface_init),
(gst_video_orientation_get_hflip),
(gst_video_orientation_get_vflip),
(gst_video_orientation_get_hcenter),
(gst_video_orientation_get_vcenter),
(gst_video_orientation_set_hflip),
(gst_video_orientation_set_vflip),
(gst_video_orientation_set_hcenter),
(gst_video_orientation_set_vcenter):
Add since tags to new API docs, ChangeLog surgery (forgot API keyword
in ChangeLog)

17 years agotests/check/: but disable for now since it doesn't pass (something wrong with
Tim-Philipp Müller [Thu, 21 Sep 2006 09:27:47 +0000 (09:27 +0000)]
tests/check/: but disable for now since it doesn't pass (something wrong with

Original commit message from CVS:
* tests/check/Makefile.am:
* tests/check/elements/.cvsignore:
* tests/check/elements/ffmpegcolorspace.c: (rgb_format_to_caps),
(create_rgb_conversions), (rgb_conversion_free),
(right_shift_colour), (fix_expected_colour), (check_rgb_buf),
(got_buf_cb), (GST_START_TEST), (ffmpegcolorspace_suite):
Add unit test for ffmpegcolorspace (RGB <=> RGB only so far),
but disable for now since it doesn't pass (something wrong with
RGBA somewhere).

17 years agogst/playback/gstplaybasebin.c: Refactor handling of overrun detection.
Wim Taymans [Thu, 21 Sep 2006 07:01:48 +0000 (07:01 +0000)]
gst/playback/gstplaybasebin.c: Refactor handling of overrun detection.

Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (group_commit),
(queue_deadlock_check), (queue_overrun), (queue_threshold_reached),
(queue_out_of_data), (gen_preroll_element),
(preroll_remove_overrun), (probe_triggered):
Refactor handling of overrun detection.
Separate handling of group completion and deadlock detection when doing
network buffering. This should fix some deadlocks that were not detected
because the group was completed.
Add more comments, improve debugging.

17 years agotests/check/: Some more compilation fixes.
Wim Taymans [Thu, 21 Sep 2006 05:31:00 +0000 (05:31 +0000)]
tests/check/: Some more compilation fixes.

Original commit message from CVS:
* tests/check/elements/gdpdepay.c: (GST_START_TEST):
* tests/check/libs/audio.c:
Some more compilation fixes.

17 years agogst-libs/gst/audio/gstringbuffer.c: Early morning compilation fix.
Wim Taymans [Thu, 21 Sep 2006 05:12:18 +0000 (05:12 +0000)]
gst-libs/gst/audio/gstringbuffer.c: Early morning compilation fix.

Original commit message from CVS:
* gst-libs/gst/audio/gstringbuffer.c:
(gst_ring_buffer_samples_done), (gst_ring_buffer_commit),
(gst_ring_buffer_read):
Early morning compilation fix.

17 years agobump nano
Thomas Vander Stichele [Wed, 20 Sep 2006 18:09:43 +0000 (18:09 +0000)]
bump nano

Original commit message from CVS:
bump nano

17 years agotests/check/: Fix some warnings.
Wim Taymans [Wed, 20 Sep 2006 17:04:57 +0000 (17:04 +0000)]
tests/check/: Fix some warnings.

Original commit message from CVS:
* tests/check/elements/gdpdepay.c: (GST_START_TEST):
* tests/check/elements/multifdsink.c: (GST_START_TEST):
* tests/check/elements/videorate.c: (GST_START_TEST):
* tests/check/libs/cddabasesrc.c: (GST_START_TEST):
* tests/check/pipelines/oggmux.c: (eos_buffer_probe):
Fix some warnings.

17 years agosys/xvimage/xvimagesink.c: change colorkey behaviour back according to #354773 commen...
Stefan Kost [Wed, 20 Sep 2006 10:59:06 +0000 (10:59 +0000)]
sys/xvimage/xvimagesink.c: change colorkey behaviour back according to #354773 comment 6/7

Original commit message from CVS:
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_get_xv_support),
(gst_xvimagesink_get_times):
change colorkey behaviour back according to #354773 comment 6/7

17 years agoChangeLog surgery: remove junk
Tim-Philipp Müller [Wed, 20 Sep 2006 10:42:34 +0000 (10:42 +0000)]
ChangeLog surgery: remove junk

Original commit message from CVS:
ChangeLog surgery: remove junk

17 years agogst/tcp/gstmultifdsink.*: Implement stubbed out properties unit-type, units-soft...
Michael Smith [Tue, 19 Sep 2006 11:31:06 +0000 (11:31 +0000)]
gst/tcp/gstmultifdsink.*: Implement stubbed out properties unit-type, units-soft-max, units-max, to allow specifying ...

Original commit message from CVS:
* gst/tcp/gstmultifdsink.c: (gst_sync_method_get_type),
(gst_multi_fd_sink_class_init), (get_buffers_max), (find_limits),
(gst_multi_fd_sink_recover_client),
(gst_multi_fd_sink_queue_buffer), (gst_multi_fd_sink_set_property),
(gst_multi_fd_sink_get_property):
* gst/tcp/gstmultifdsink.h:
Implement stubbed out properties unit-type, units-soft-max,
units-max, to allow specifying maximum sizes in units other than
buffers.
Fixes #355935

17 years agogst-libs/gst/riff/riff-media.c: Reorder the audio formats a bit for clarity.
Wim Taymans [Tue, 19 Sep 2006 10:23:03 +0000 (10:23 +0000)]
gst-libs/gst/riff/riff-media.c: Reorder the audio formats a bit for clarity.

Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_audio_caps),
(gst_riff_create_audio_template_caps):
Reorder the audio formats a bit for clarity.
Detect and create caps for MSGSM and MSN (WAV49).
Fixes #356596.
* sys/xvimage/xvimagesink.c: (gst_xvimage_buffer_destroy),
(gst_xvimagesink_check_xshm_calls), (gst_xvimagesink_xvimage_new),
(gst_xvimagesink_get_xv_support), (gst_xvimagesink_show_frame):
Small cleanups, move error handling out of normal flow for clarity.

17 years agoAdd new interface to control video orientation (fixes #354908)
Stefan Kost [Mon, 18 Sep 2006 15:59:39 +0000 (15:59 +0000)]
Add new interface to control video orientation (fixes #354908)

Original commit message from CVS:
* docs/libs/gst-plugins-base-libs-docs.sgml:
* docs/libs/gst-plugins-base-libs.types:
* gst-libs/gst/interfaces/Makefile.am:
* gst-libs/gst/interfaces/videoorientation.c:
(gst_video_orientation_get_type),
(gst_video_orientation_iface_init),
(gst_video_orientation_get_hflip),
(gst_video_orientation_get_vflip),
(gst_video_orientation_get_hcenter),
(gst_video_orientation_get_vcenter),
(gst_video_orientation_set_hflip),
(gst_video_orientation_set_vflip),
(gst_video_orientation_set_hcenter),
(gst_video_orientation_set_vcenter):
* gst-libs/gst/interfaces/videoorientation.h:
Add new interface to control video orientation (fixes #354908)

17 years agogst/videotestsrc/gstvideotestsrc.c: Use G_UNLIKELY in _create and log one more detail.
Stefan Kost [Mon, 18 Sep 2006 15:48:01 +0000 (15:48 +0000)]
gst/videotestsrc/gstvideotestsrc.c: Use G_UNLIKELY in _create and log one more detail.

Original commit message from CVS:
* gst/videotestsrc/gstvideotestsrc.c:
Use G_UNLIKELY in _create and log one more detail.
(gst_video_test_src_get_times), (gst_video_test_src_create):
* sys/ximage/ximagesink.c: (gst_ximagesink_get_times):
Use gst_util_uint64_scale_int in _get_times().

17 years agosys/xvimage/xvimagesink.c: (gst_xvimagesink_get_xv_support)
Stefan Kost [Mon, 18 Sep 2006 15:00:51 +0000 (15:00 +0000)]
sys/xvimage/xvimagesink.c: (gst_xvimagesink_get_xv_support)

Original commit message from CVS:
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_get_xv_support)
Give better warning message (add object and detail).

17 years agosys/xvimage/xvimagesink.c: xvimage assumed that XV_COLORKEY can be set in RGB888...
Stefan Kost [Mon, 18 Sep 2006 14:42:03 +0000 (14:42 +0000)]
sys/xvimage/xvimagesink.c: xvimage assumed that XV_COLORKEY can be set in RGB888 format (fixes #354773), use gst_util...

Original commit message from CVS:
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_get_xv_support),
(gst_xvimagesink_get_times):
xvimage assumed that XV_COLORKEY can be set in RGB888 format (fixes
#354773), use gst_util_uint64_scale_int in _get_times()

17 years agoext/ogg/gstoggmux.c: Timestamps are unsigned; comparision against GST_CLOCK_TIME_NONE...
Michael Smith [Mon, 18 Sep 2006 14:21:45 +0000 (14:21 +0000)]
ext/ogg/gstoggmux.c: Timestamps are unsigned; comparision against GST_CLOCK_TIME_NONE was always true, leading to dro...

Original commit message from CVS:
* ext/ogg/gstoggmux.c: (gst_ogg_mux_push_buffer):
Timestamps are unsigned; comparision against GST_CLOCK_TIME_NONE was
always true, leading to dropping all timestamps.

17 years agoext/libvisual/visual.c: update to work also with libvisual 0.4 API
Stefan Kost [Mon, 18 Sep 2006 11:40:14 +0000 (11:40 +0000)]
ext/libvisual/visual.c: update to work also with libvisual 0.4 API

Original commit message from CVS:
* ext/libvisual/visual.c: (gst_vis_src_negotiate),
(gst_visual_chain), (gst_visual_change_state):
update to work also with libvisual 0.4 API
* tools/gst-launch-ext.1.in:
* tools/gst-visualise.1.in:
remove references to old man-pages
* tests/examples/seek/seek.c: (main):
add real meadi-buttons, add tool-tips for the seek-options, arrange
seek options in a table

17 years agoext/ogg/gstoggmux.c: Don't generate out-of-order timestamps from oggmux, instead...
Michael Smith [Mon, 18 Sep 2006 10:57:28 +0000 (10:57 +0000)]
ext/ogg/gstoggmux.c: Don't generate out-of-order timestamps from oggmux, instead clamp output timestamps to be >= the...

Original commit message from CVS:
* ext/ogg/gstoggmux.c: (gst_ogg_mux_clear),
(gst_ogg_mux_push_buffer):
Don't generate out-of-order timestamps from oggmux, instead clamp
output timestamps to be >= the previously output ts.
Fixes #355595

17 years agogst/tcp/gstmultifdsink.c: Updates, fixes, and typo corrections for multifdsink. No...
Michael Smith [Mon, 18 Sep 2006 10:18:22 +0000 (10:18 +0000)]
gst/tcp/gstmultifdsink.c: Updates, fixes, and typo corrections for multifdsink. No functional changes.

Original commit message from CVS:
* gst/tcp/gstmultifdsink.c: (gst_sync_method_get_type),
(gst_multi_fd_sink_class_init):
Updates, fixes, and typo corrections for multifdsink. No functional
changes.

17 years agogst/typefind/gsttypefindfunctions.c: Don't crash on truncated files - check that...
Michael Smith [Sun, 17 Sep 2006 21:58:06 +0000 (21:58 +0000)]
gst/typefind/gsttypefindfunctions.c: Don't crash on truncated files - check that we got an 8 byte buffer before tryin...

Original commit message from CVS:
* gst/typefind/gsttypefindfunctions.c: (ogganx_type_find):
Don't crash on truncated files - check that we got an 8 byte buffer
before trying to memcmp it.

17 years agogst/playback/gstplaybasebin.c: Make stream-switching appear instant to the applicatio...
Tim-Philipp Müller [Sun, 17 Sep 2006 20:32:09 +0000 (20:32 +0000)]
gst/playback/gstplaybasebin.c: Make stream-switching appear instant to the application (ie. make sure that a g_object...

Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (get_active_source):
Make stream-switching appear instant to the application
(ie. make sure that a g_object_get on 'current-foo' returns
the stream previously set with g_object_set(). Totem needs
this to update stream-related meta-info (like audio-codec)
correctly when switching streams.

17 years agoext/alsa/gstalsamixer.c: Try harder to guess which mixer track is the master mixer...
Tim-Philipp Müller [Sun, 17 Sep 2006 20:14:43 +0000 (20:14 +0000)]
ext/alsa/gstalsamixer.c: Try harder to guess which mixer track is the master mixer track (instead of just taking the ...

Original commit message from CVS:
* ext/alsa/gstalsamixer.c: (gst_alsa_mixer_find_master_mixer),
(gst_alsa_mixer_ensure_track_list):
Try harder to guess which mixer track is the master mixer
track (instead of just taking the first one that has a pvolume).
Fixes #342228.

17 years agogst/audioconvert/gstaudioconvert.c: Get structure-name just once.
Stefan Kost [Sun, 17 Sep 2006 11:24:21 +0000 (11:24 +0000)]
gst/audioconvert/gstaudioconvert.c: Get structure-name just once.

Original commit message from CVS:
* gst/audioconvert/gstaudioconvert.c: (set_structure_widths),
(gst_audio_convert_transform_caps):
Get structure-name just once.

17 years agotests/check/: Fix big batch of compiler warnings.
Stefan Kost [Sat, 16 Sep 2006 22:30:50 +0000 (22:30 +0000)]
tests/check/: Fix big batch of compiler warnings.

Original commit message from CVS:
* tests/check/elements/audioresample.c: (GST_START_TEST):
* tests/check/elements/videotestsrc.c: (check_rgb_buf):
* tests/check/elements/volume.c: (GST_START_TEST):
* tests/check/elements/vorbisdec.c: (GST_START_TEST):
* tests/check/pipelines/oggmux.c: (validate_ogg_page), (eos_watch),
(test_pipeline), (GST_START_TEST):
* tests/check/pipelines/theoraenc.c: (GST_START_TEST):
* tests/check/pipelines/vorbisenc.c: (GST_START_TEST):
Fix big batch of compiler warnings.

17 years agoext/gnomevfs/gstgnomevfssrc.c: Add docs about icydemux usage in connection with gnome...
Stefan Kost [Sat, 16 Sep 2006 21:54:48 +0000 (21:54 +0000)]
ext/gnomevfs/gstgnomevfssrc.c: Add docs about icydemux usage in connection with gnomevfssrc

Original commit message from CVS:
* ext/gnomevfs/gstgnomevfssrc.c:
Add docs about icydemux usage in connection with gnomevfssrc
* ext/libvisual/visual.c:
* ext/ogg/gstoggaviparse.c:
* ext/ogg/gstoggdemux.c:
* ext/ogg/gstoggmux.c:
* ext/ogg/gstoggparse.c:
* gst-libs/gst/audio/gstaudiofiltertemplate.c:
* gst-libs/gst/audio/gstaudiosink.c:
* gst-libs/gst/audio/gstaudiosrc.c:
* gst/audiorate/gstaudiorate.c:
More G_OBJECT macro fixing.
* gst/audiotestsrc/gstaudiotestsrc.h:
Fix wrong info in header due to copy & paste

17 years agogst-libs/gst/audio/: Do the delay calculation in the source/sink base classes as...
Wim Taymans [Fri, 15 Sep 2006 14:53:44 +0000 (14:53 +0000)]
gst-libs/gst/audio/: Do the delay calculation in the source/sink base classes as this is specific for the capture/pla...

Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_get_time), (gst_base_audio_sink_callback):
* gst-libs/gst/audio/gstbaseaudiosrc.c:
(gst_base_audio_src_get_time), (gst_base_audio_src_fixate),
(gst_base_audio_src_get_times), (gst_base_audio_src_get_offset),
(gst_base_audio_src_create), (gst_base_audio_src_change_state):
Do the delay calculation in the source/sink base classes as this is
specific for the capture/playback mode.
Try to fixate a bit better, like round depth up to a multiple of 8
bigger than width.
Handle underruns correctly by marking DISCONT on buffers and adjusting
timestamps to handle the gap.
Set offset/offset_end correctly on buffers.
* gst-libs/gst/audio/gstringbuffer.c: (gst_ring_buffer_pause),
(gst_ring_buffer_samples_done), (gst_ring_buffer_commit),
(gst_ring_buffer_read):
Remove resync and underrun recovery from the ringbuffer.
Fix ringbuffer read code on under/overrun.

17 years agogst/playback/gstplaybasebin.*: Don't use a 0 low watermark when buffering, it is...
Wim Taymans [Fri, 15 Sep 2006 11:17:02 +0000 (11:17 +0000)]
gst/playback/gstplaybasebin.*: Don't use a 0 low watermark when buffering, it is catching starvation way too late. In...

Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (gst_play_base_bin_class_init),
(gst_play_base_bin_init), (fill_buffer), (check_queue),
(queue_threshold_reached), (gst_play_base_bin_set_property),
(gst_play_base_bin_get_property):
* gst/playback/gstplaybasebin.h:
Don't use a 0 low watermark when buffering, it is catching starvation
way too late. Instead, use a 3 second queue with 30 and 95
percent low/high watermarks.
Added queue-min-threshold property to configure low watermark.
Use new _buffering message API.
Make queue_threshold variable big enough to store a uint64 time value.
API: playbin::queue-min-threshold property.

17 years agoconfigure.ac: We require 0.10.10.1 now because of _wait_preroll().
Wim Taymans [Fri, 15 Sep 2006 09:13:50 +0000 (09:13 +0000)]
configure.ac: We require 0.10.10.1 now because of _wait_preroll().

Original commit message from CVS:
* configure.ac:
We require 0.10.10.1 now because of _wait_preroll().
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_render):
Use gst_base_sink_wait_preroll().

17 years agoext/alsa/: Use DEBUG_OBJECT more.
Wim Taymans [Fri, 15 Sep 2006 09:09:00 +0000 (09:09 +0000)]
ext/alsa/: Use DEBUG_OBJECT more.

Original commit message from CVS:
* ext/alsa/gstalsasink.c: (xrun_recovery), (gst_alsasink_write):
* ext/alsa/gstalsasrc.c: (xrun_recovery), (gst_alsasrc_read):
Use DEBUG_OBJECT more.

17 years agoreleasing 0.10.10 RELEASE-0_10_10
Thomas Vander Stichele [Thu, 14 Sep 2006 20:09:19 +0000 (20:09 +0000)]
releasing 0.10.10

Original commit message from CVS:
releasing 0.10.10

17 years agosecond prerelease
Thomas Vander Stichele [Sat, 9 Sep 2006 16:08:06 +0000 (16:08 +0000)]
second prerelease

Original commit message from CVS:
second prerelease

17 years agoupdate bug in changelog
Thomas Vander Stichele [Thu, 7 Sep 2006 19:01:23 +0000 (19:01 +0000)]
update bug in changelog

Original commit message from CVS:
update bug in changelog

17 years agoFix implementation of sync-method 'next-keyframe'
Michael Smith [Thu, 7 Sep 2006 19:00:33 +0000 (19:00 +0000)]
Fix implementation of sync-method 'next-keyframe'

Original commit message from CVS:

patch by: Michael Smith <msmith at fluendo dot com>

* gst/tcp/gstmultifdsink.c: (is_sync_frame),
(gst_multi_fd_sink_client_queue_buffer),
(gst_multi_fd_sink_new_client):
* tests/check/elements/multifdsink.c: (GST_START_TEST),
(multifdsink_suite):
Fix implementation of sync-method 'next-keyframe'

17 years agoext/gnomevfs/gstgnomevfssrc.c: This patch removes the RANDOM flag that was incorrectl...
Wim Taymans [Thu, 7 Sep 2006 15:00:08 +0000 (15:00 +0000)]
ext/gnomevfs/gstgnomevfssrc.c: This patch removes the RANDOM flag that was incorrectly introduced with revision 1.91....

Original commit message from CVS:

patch by: Wim Taymans <wim at fluendo dot com>

* ext/gnomevfs/gstgnomevfssrc.c: (gst_gnome_vfs_src_start):
This patch removes the RANDOM flag that was incorrectly introduced with
revision 1.91.  Fixes #354590

17 years agofirst prerelease
Thomas Vander Stichele [Thu, 7 Sep 2006 14:56:47 +0000 (14:56 +0000)]
first prerelease

Original commit message from CVS:
first prerelease

17 years agoupdate po files
Thomas Vander Stichele [Thu, 7 Sep 2006 14:56:31 +0000 (14:56 +0000)]
update po files

Original commit message from CVS:
update po files

17 years agotests/check/Makefile.am: Random variation in Makefile line to see if it makes the...
Tim-Philipp Müller [Tue, 5 Sep 2006 09:12:25 +0000 (09:12 +0000)]
tests/check/Makefile.am: Random variation in Makefile line to see if it makes the gen64-base-full bot any happier.

Original commit message from CVS:
* tests/check/Makefile.am:
Random variation in Makefile line to see if it makes the
gen64-base-full bot any happier.

17 years agotests/check/pipelines/oggmux.c: Disable test that fails at the moment (killed after...
Tim-Philipp Müller [Mon, 4 Sep 2006 19:04:35 +0000 (19:04 +0000)]
tests/check/pipelines/oggmux.c: Disable test that fails at the moment (killed after timeout).

Original commit message from CVS:
* tests/check/pipelines/oggmux.c: (oggmux_suite):
Disable test that fails at the moment (killed after timeout).

17 years agotests/check/: Add simple unit test for oggmux from #337026 with checking for the
James Livingston [Mon, 4 Sep 2006 18:19:06 +0000 (18:19 +0000)]
tests/check/: Add simple unit test for oggmux from #337026 with checking for the

Original commit message from CVS:
Patch by: James Livingston  <doclivingston at gmail.com>
* tests/check/Makefile.am:
* tests/check/pipelines/.cvsignore:
* tests/check/pipelines/oggmux.c: (get_page_codec),
(check_chain_final_state), (fail_if_audio), (validate_ogg_page),
(eos_buffer_probe), (start_pipeline), (stop_pipeline), (eos_watch),
(test_pipeline), (test_vorbis), (test_theora), (test_vorbis_theora),
(test_theora_vorbis), (oggmux_suite):
Add simple unit test for oggmux from #337026 with checking for the
EOS flags disabled for the time being.

17 years agoext/ogg/gstoggmux.c: Add cmml caps to oggmux. Fixes #353912
Alessandro Dessina [Mon, 4 Sep 2006 09:13:01 +0000 (09:13 +0000)]
ext/ogg/gstoggmux.c: Add cmml caps to oggmux. Fixes #353912

Original commit message from CVS:
patch by: Alessandro Dessina <alessandro nnva org>
* ext/ogg/gstoggmux.c:
Add cmml caps to oggmux. Fixes #353912

17 years agotests/check/elements/videotestsrc.c: Returning a return value often helps. In this...
Tim-Philipp Müller [Sat, 2 Sep 2006 13:20:59 +0000 (13:20 +0000)]
tests/check/elements/videotestsrc.c: Returning a return value often helps. In this case, we don't need the return val...

Original commit message from CVS:
* tests/check/elements/videotestsrc.c: (check_rgb_buf):
Returning a return value often helps. In this case, we
don't need the return value anyway, so just get rid of it.
Should make build bots much happier.

17 years agogst/videotestsrc/videotestsrc.*: Add support for AYUV and the various RGBA formats...
Tim-Philipp Müller [Sat, 2 Sep 2006 12:59:48 +0000 (12:59 +0000)]
gst/videotestsrc/videotestsrc.*: Add support for AYUV and the various RGBA formats. Initialise fields of paintinfo st...

Original commit message from CVS:
* gst/videotestsrc/videotestsrc.c: (paintinfo_find_by_structure),
(paint_get_structure), (gst_video_test_src_get_size),
(gst_video_test_src_smpte), (gst_video_test_src_snow),
(gst_video_test_src_unicolor), (paint_setup_AYUV),
(paint_hline_AYUV), (paint_setup_ARGB8888), (paint_setup_ABGR8888),
(paint_setup_RGBA8888), (paint_setup_BGRA8888), (paint_hline_str4):
* gst/videotestsrc/videotestsrc.h:
Add support for AYUV and the various RGBA formats. Initialise
fields of paintinfo structs allocated on the stack.
* tests/check/elements/videotestsrc.c: (right_shift_colour),
(fix_expected_colour), (check_rgb_buf), (got_buf_cb),
(GST_START_TEST), (videotestsrc_suite):
Add unit tests for videotestsrc's RGB output.

17 years agogst/videotestsrc/: Add more uni-colour patterns ("white", "red", "green", and "blue").
Tim-Philipp Müller [Fri, 1 Sep 2006 16:12:35 +0000 (16:12 +0000)]
gst/videotestsrc/: Add more uni-colour patterns ("white", "red", "green", and "blue").

Original commit message from CVS:
* gst/videotestsrc/gstvideotestsrc.c:
(gst_video_test_src_pattern_get_type),
(gst_video_test_src_set_pattern):
* gst/videotestsrc/gstvideotestsrc.h:
* gst/videotestsrc/videotestsrc.c: (gst_video_test_src_unicolor),
(gst_video_test_src_black), (gst_video_test_src_white),
(gst_video_test_src_red), (gst_video_test_src_green),
(gst_video_test_src_blue):
* gst/videotestsrc/videotestsrc.h:
Add more uni-colour patterns ("white", "red", "green", and "blue").

17 years agogst/videotestsrc/videotestsrc.c: Fix stride for YVYU, should be word-aligned (#353658).
Tim-Philipp Müller [Fri, 1 Sep 2006 10:07:05 +0000 (10:07 +0000)]
gst/videotestsrc/videotestsrc.c: Fix stride for YVYU, should be word-aligned (#353658).

Original commit message from CVS:
* gst/videotestsrc/videotestsrc.c: (paint_setup_YVYU):
Fix stride for YVYU, should be word-aligned (#353658).

17 years agogst/adder/gstadder.c: Fix build.
Tim-Philipp Müller [Thu, 31 Aug 2006 14:37:33 +0000 (14:37 +0000)]
gst/adder/gstadder.c: Fix build.

Original commit message from CVS:
* gst/adder/gstadder.c: (gst_adder_src_event):
Fix build.

17 years agogst/adder/gstadder.*: Remember the start position asked in the incoming seeks, so...
Edward Hervey [Thu, 31 Aug 2006 12:39:17 +0000 (12:39 +0000)]
gst/adder/gstadder.*: Remember the start position asked in the incoming seeks, so we can output GST_EVENT_NEW_SEGMENT...

Original commit message from CVS:
* gst/adder/gstadder.c: (forward_event_func),
(gst_adder_src_event), (gst_adder_collected),
(gst_adder_change_state):
* gst/adder/gstadder.h:
Remember the start position asked in the incoming seeks, so we can
output GST_EVENT_NEW_SEGMENT with a correct position value (instead
of assuming it will always be 0).

17 years agoext/ogg/gstoggdemux.c: Send the GST_EVENT_NEW_SEGMENT from the streaming thread.
Edward Hervey [Thu, 31 Aug 2006 12:31:00 +0000 (12:31 +0000)]
ext/ogg/gstoggdemux.c: Send the GST_EVENT_NEW_SEGMENT from the streaming thread.

Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_init),
(gst_ogg_demux_finalize), (gst_ogg_demux_perform_seek),
(gst_ogg_demux_loop):
Send the GST_EVENT_NEW_SEGMENT from the streaming thread.

17 years agogst/ffmpegcolorspace/gstffmpegcolorspace.c: Return FALSE instead of returning a rando...
Tim-Philipp Müller [Wed, 30 Aug 2006 17:22:27 +0000 (17:22 +0000)]
gst/ffmpegcolorspace/gstffmpegcolorspace.c: Return FALSE instead of returning a random false unit size when the forma...

Original commit message from CVS:
* gst/ffmpegcolorspace/gstffmpegcolorspace.c:
(gst_ffmpegcsp_get_unit_size):
Return FALSE instead of returning a random false unit
size when the format isn't known/supported (even if
this shouldn't happen under normal circumstances).

17 years agoext/gnomevfs/gstgnomevfssrc.c: Try harder to get the size from a uri by using _info_u...
Tim-Philipp Müller [Tue, 29 Aug 2006 15:23:46 +0000 (15:23 +0000)]
ext/gnomevfs/gstgnomevfssrc.c: Try harder to get the size from a uri by using _info_uri() when _info_from_handle() do...

Original commit message from CVS:
Patch by: Tim-Philipp Müller  <tim at centricular dot net>
* ext/gnomevfs/gstgnomevfssrc.c: (gst_gnome_vfs_src_create),
(gst_gnome_vfs_src_start):
Try harder to get the size from a uri by using _info_uri() when
_info_from_handle() does not give us enough info.
Also follow symlinks when getting the size.
Partially Fixes #332864.

17 years agoext/alsa/: Improve and fix mixer track handling, in particular better handling of...
Viktor Peters [Tue, 29 Aug 2006 11:50:51 +0000 (11:50 +0000)]
ext/alsa/: Improve and fix mixer track handling, in particular better handling of alsa's pvolume/pswitch/cvolume/cswi...

Original commit message from CVS:
Patch by: Viktor Peters  <viktor dot peters at gmail dot com>
* ext/alsa/gstalsamixer.c: (gst_alsa_mixer_ensure_track_list),
(gst_alsa_mixer_update), (gst_alsa_mixer_get_volume),
(gst_alsa_mixer_set_volume), (gst_alsa_mixer_set_mute),
(gst_alsa_mixer_set_record):
* ext/alsa/gstalsamixertrack.c:
(gst_alsa_mixer_track_update_alsa_capabilities),
(alsa_track_has_cap), (gst_alsa_mixer_track_new),
(gst_alsa_mixer_track_update):
* ext/alsa/gstalsamixertrack.h:
Improve and fix mixer track handling, in particular better handling
of alsa's pvolume/pswitch/cvolume/cswitch capabilities; create separate
track objects for tracks that have both capture and playback volume
(and label them differently as well so they're not mistakenly
assumed to be duplicates); classify mixer tracks that only affect
the audible volume of something (rather than the capture volume)
as playback tracks. Redefine/fix meaning of RECORD and MUTE flags
for capture tracks to correspond to alsa-pswitch alsa-cswitch
(following the meaning documented in the mixer interface header
file); add support for alsa's exclusive cswitch groups; update/sync
state/flags better if mixer settings are changed by another
application. Fixes #336075.

17 years agogst/playback/gstplaybin.c: Improve docs: add section about BUFFERING messages sent...
Tim-Philipp Müller [Tue, 29 Aug 2006 10:58:43 +0000 (10:58 +0000)]
gst/playback/gstplaybin.c: Improve docs: add section about BUFFERING messages sent by playbin.

Original commit message from CVS:
* gst/playback/gstplaybin.c:
Improve docs: add section about BUFFERING messages sent by playbin.

17 years agoext/vorbis/vorbisenc.c: Ignore explicit DISCONT marked on buffers (which is often...
Michael Smith [Tue, 29 Aug 2006 10:51:12 +0000 (10:51 +0000)]
ext/vorbis/vorbisenc.c: Ignore explicit DISCONT marked on buffers (which is often spurious, particularly when using m...

Original commit message from CVS:
* ext/vorbis/vorbisenc.c: (gst_vorbis_enc_push_buffer),
(gst_vorbis_enc_buffer_check_discontinuous),
(gst_vorbis_enc_chain):
Ignore explicit DISCONT marked on buffers (which is often spurious,
particularly when using multiple segments), in favour of solely
using the timestamps/durations.

17 years agogst/audiorate/gstaudiorate.c: Don't rely on incoming buffers offset anymore, since...
Edward Hervey [Tue, 29 Aug 2006 10:32:34 +0000 (10:32 +0000)]
gst/audiorate/gstaudiorate.c: Don't rely on incoming buffers offset anymore, since it is completely broken when using...

Original commit message from CVS:
* gst/audiorate/gstaudiorate.c: (gst_audio_rate_chain):
Don't rely on incoming buffers offset anymore, since it is completely
broken when using multiple segments.
Instead convert the incoming buffers timestamp to running time, and
then convert that value to the offsets.
Also inform GstSegment of the last outputted stop position, which is
needed if we received several segments with an unknown stop value.

17 years agoext/vorbis/vorbisenc.c: fix buffer unreffing on a header push failure
Thomas Vander Stichele [Tue, 29 Aug 2006 08:03:05 +0000 (08:03 +0000)]
ext/vorbis/vorbisenc.c: fix buffer unreffing on a header push failure

Original commit message from CVS:
* ext/vorbis/vorbisenc.c: (gst_vorbis_enc_chain):
fix buffer unreffing on a header push failure

17 years agogst/audiorate/gstaudiorate.c: Make the metadata of the buffer writable before changin...
Wim Taymans [Mon, 28 Aug 2006 16:17:13 +0000 (16:17 +0000)]
gst/audiorate/gstaudiorate.c: Make the metadata of the buffer writable before changing its flags.

Original commit message from CVS:
* gst/audiorate/gstaudiorate.c: (gst_audio_rate_sink_event),
(gst_audio_rate_chain):
Make the metadata of the buffer writable before changing its
flags.

17 years agoFix changelog with bugzilla bug it fixed.
Wim Taymans [Mon, 28 Aug 2006 16:09:57 +0000 (16:09 +0000)]
Fix changelog with bugzilla bug it fixed.

Original commit message from CVS:
Fix changelog with bugzilla bug it fixed.

17 years agogst/audiorate/gstaudiorate.c: Fix audiorate some more.
Wim Taymans [Mon, 28 Aug 2006 16:08:18 +0000 (16:08 +0000)]
gst/audiorate/gstaudiorate.c: Fix audiorate some more.

Original commit message from CVS:
* gst/audiorate/gstaudiorate.c: (gst_audio_rate_reset),
(gst_audio_rate_setcaps), (gst_audio_rate_init),
(gst_audio_rate_sink_event), (gst_audio_rate_src_event),
(gst_audio_rate_chain), (gst_audio_rate_change_state):
Fix audiorate some more.
Reset and resync counters on flush and READY.
Handle the DISCONT flag correctly.
Use GstSegment to track position.
Fail when not negotiated.

17 years agogst/tcp/gstmultifdsink.c: Fix spelling.
Michael Smith [Fri, 25 Aug 2006 16:48:28 +0000 (16:48 +0000)]
gst/tcp/gstmultifdsink.c: Fix spelling.

Original commit message from CVS:
* gst/tcp/gstmultifdsink.c: (gst_multi_fd_sink_render):
Fix spelling.
Remove accidently included debug line.

17 years agogst/tcp/gstmultifdsink.c: Small cleanups.
Wim Taymans [Fri, 25 Aug 2006 16:39:38 +0000 (16:39 +0000)]
gst/tcp/gstmultifdsink.c: Small cleanups.

Original commit message from CVS:
* gst/tcp/gstmultifdsink.c: (gst_multi_fd_sink_render):
Small cleanups.
If a buffer is received with no caps, make the buffer metadata
writable and set the caps, making sure that we don't screw up the
refcounts.

17 years agogst/gdp/gstgdppay.c: Fix memory leaks and misleading debug messages, add a couple...
Michael Smith [Fri, 25 Aug 2006 16:19:55 +0000 (16:19 +0000)]
gst/gdp/gstgdppay.c: Fix memory leaks and misleading debug messages, add a couple of comments.

Original commit message from CVS:
* gst/gdp/gstgdppay.c: (gst_gdp_pay_reset),
(gst_gdp_pay_reset_streamheader), (gst_gdp_pay_chain):
Fix memory leaks and misleading debug messages, add a couple of
comments.

* gst/tcp/gstmultifdsink.c: (gst_multi_fd_sink_get_stats),
(gst_multi_fd_sink_render):
Do not use gst_buffer_make_writable() in a basesink render method,
as it may incorrectly unref the buffer. Instead, use convoluted
dance to avoid copying the buffer except when we need to.

17 years agoext/vorbis/vorbisenc.c: Allow very small discontinuities in the timestamps. These...
Michael Smith [Fri, 25 Aug 2006 09:54:56 +0000 (09:54 +0000)]
ext/vorbis/vorbisenc.c: Allow very small discontinuities in the timestamps. These we can't do anything useful with an...

Original commit message from CVS:
* ext/vorbis/vorbisenc.c:
(gst_vorbis_enc_buffer_check_discontinuous):
Allow very small discontinuities in the timestamps. These we can't
do anything useful with anyway (because vorbis's timestamps have
only sample granularity), and are commonly produced by elements with
minor bugs. Allow up to 1/2 a sample out.
Fixes #351742.

17 years agotests/examples/seek/seek.c: Add a checkbox to enable play scrubbing. Makes it possibl...
Wim Taymans [Thu, 24 Aug 2006 11:18:56 +0000 (11:18 +0000)]
tests/examples/seek/seek.c: Add a checkbox to enable play scrubbing. Makes it possible to disable normal scrubbing.

Original commit message from CVS:
* tests/examples/seek/seek.c: (seek_cb), (start_seek), (stop_seek),
(play_scrub_toggle_cb), (main):
Add a checkbox to enable play scrubbing. Makes it possible to disable
normal scrubbing.

17 years agotests/check/elements/.cvsignore: make buildbot happy
Stefan Kost [Wed, 23 Aug 2006 19:37:50 +0000 (19:37 +0000)]
tests/check/elements/.cvsignore: make buildbot happy

Original commit message from CVS:
* tests/check/elements/.cvsignore:
make buildbot happy

17 years agoext/ogg/gstogmparse.c: Refactor ogm parse, do better input checking, misc. clean...
Tim-Philipp Müller [Wed, 23 Aug 2006 16:43:03 +0000 (16:43 +0000)]
ext/ogg/gstogmparse.c: Refactor ogm parse, do better input checking, misc. clean-ups.

Original commit message from CVS:
* ext/ogg/gstogmparse.c: (gst_ogm_audio_parse_base_init),
(gst_ogm_video_parse_base_init), (gst_ogm_text_parse_base_init),
(gst_ogm_parse_class_init), (gst_ogm_parse_dispose),
(gst_ogm_parse_init), (gst_ogm_audio_parse_init),
(gst_ogm_video_parse_init), (gst_ogm_text_parse_init),
(gst_ogm_parse_stream_header), (gst_ogm_parse_comment_packet),
(gst_ogm_text_parse_strip_trailing_zeroes),
(gst_ogm_parse_data_packet), (gst_ogm_parse_chain),
(gst_ogm_parse_sink_event), (gst_ogm_parse_change_state):
Refactor ogm parse, do better input checking, misc. clean-ups.
Cache incoming events and push them once the source pad has
been created. Don't pass unterminated strings to sscanf().
Strip trailing zeroes from subtitle text output, since they
are not valid UTF-8. Don't push vorbiscomment packets on
the subtitle text pad. Output perfect streams if possible.

17 years agotests/check/libs/cddabasesrc.c: Waits for tasks to settle down so that we clean up...
Wim Taymans [Wed, 23 Aug 2006 15:27:38 +0000 (15:27 +0000)]
tests/check/libs/cddabasesrc.c: Waits for tasks to settle down so that we clean up correctly for valgrind.

Original commit message from CVS:
* tests/check/libs/cddabasesrc.c: (GST_START_TEST):
Waits for tasks to settle down so that we clean up correctly for
valgrind.

17 years agotests/check/libs/tag.c: Unit test fixes: \377 is more likely to fit into 8 bits than...
Tim-Philipp Müller [Wed, 23 Aug 2006 15:11:56 +0000 (15:11 +0000)]
tests/check/libs/tag.c: Unit test fixes: \377 is more likely to fit into 8 bits than \777; actually return return val...

Original commit message from CVS:
* tests/check/libs/tag.c: (GST_START_TEST), (taglists_are_equal):
Unit test fixes: \377 is more likely to fit into 8 bits than \777;
actually return return value in taglists_are_equal.

17 years agoext/ogg/gstogmparse.c: Fix crash due to broken bitstream parsing on x86-64: can't...
Tim-Philipp Müller [Wed, 23 Aug 2006 12:14:20 +0000 (12:14 +0000)]
ext/ogg/gstogmparse.c: Fix crash due to broken bitstream parsing on x86-64: can't make any assumptions about sizeof(s...

Original commit message from CVS:
* ext/ogg/gstogmparse.c: (gst_ogm_parse_chain):
Fix crash due to broken bitstream parsing on x86-64: can't make
any assumptions about sizeof(struct) due to alignment/packing
differences on different architectures. Fixes #351790.

17 years agogst-libs/gst/riff/riff-read.c: Protect public functions against bad input.
Wim Taymans [Tue, 22 Aug 2006 16:31:47 +0000 (16:31 +0000)]
gst-libs/gst/riff/riff-read.c: Protect public functions against bad input.

Original commit message from CVS:
* gst-libs/gst/riff/riff-read.c: (gst_riff_read_chunk),
(gst_riff_parse_chunk), (gst_riff_parse_file_header),
(gst_riff_parse_strh), (gst_riff_parse_strf_vids),
(gst_riff_parse_strf_auds), (gst_riff_parse_strf_iavs),
(gst_riff_parse_info):
Protect public functions against bad input.
Do some cleanups.
Fix documentation.

17 years agogst-libs/gst/riff/: Add voxware audio IDs (even if we can't play it) (#351795).
Tim-Philipp Müller [Tue, 22 Aug 2006 15:50:36 +0000 (15:50 +0000)]
gst-libs/gst/riff/: Add voxware audio IDs (even if we can't play it) (#351795).

Original commit message from CVS:
* gst-libs/gst/riff/riff-ids.h:
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_audio_caps):
Add voxware audio IDs (even if we can't play it) (#351795).

17 years agogst-libs/gst/riff/riff-media.c: Const-ify some arrays and use G_N_ELEMENTS instead...
Tim-Philipp Müller [Tue, 22 Aug 2006 15:11:52 +0000 (15:11 +0000)]
gst-libs/gst/riff/riff-media.c: Const-ify some arrays and use G_N_ELEMENTS instead of wasting oodles of RAM on termin...

Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c:
(gst_riff_create_video_template_caps),
(gst_riff_create_audio_template_caps),
(gst_riff_create_iavs_template_caps):
Const-ify some arrays and use G_N_ELEMENTS instead
of wasting oodles of RAM on terminator bits.

17 years agoAnd the same for _to_vorbiscomment_buffer(): allow id_data_len == 0 for speex.
Tim-Philipp Müller [Tue, 22 Aug 2006 08:27:07 +0000 (08:27 +0000)]
And the same for _to_vorbiscomment_buffer(): allow id_data_len == 0 for speex.

Original commit message from CVS:
* gst-libs/gst/tag/gstvorbistag.c:
(gst_tag_list_to_vorbiscomment_buffer):
* tests/check/libs/tag.c: (GST_START_TEST):
And the same for _to_vorbiscomment_buffer(): allow
id_data_len == 0 for speex.

17 years agoadding a README
Thomas Vander Stichele [Mon, 21 Aug 2006 19:04:14 +0000 (19:04 +0000)]
adding a README

Original commit message from CVS:
adding a README

17 years agoMove GDP plugin to -base from -bad. Closes #347783.
Thomas Vander Stichele [Mon, 21 Aug 2006 19:01:41 +0000 (19:01 +0000)]
Move GDP plugin to -base from -bad.  Closes #347783.

Original commit message from CVS:
* configure.ac:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-base-plugins-docs.sgml:
* docs/plugins/gst-plugins-base-plugins-sections.txt:
* docs/plugins/inspect/plugin-gdp.xml:
* gst/gdp/Makefile.am:
* tests/check/Makefile.am:
Move GDP plugin to -base from -bad.  Closes #347783.

17 years agogst-libs/gst/tag/gstvorbistag.c: Allow id_data_len == 0 (needed for vorbis comments...
Tim-Philipp Müller [Mon, 21 Aug 2006 18:34:46 +0000 (18:34 +0000)]
gst-libs/gst/tag/gstvorbistag.c: Allow id_data_len == 0 (needed for vorbis comments in Speex files).

Original commit message from CVS:
* gst-libs/gst/tag/gstvorbistag.c:
(gst_tag_list_from_vorbiscomment_buffer):
Allow id_data_len == 0 (needed for vorbis comments in Speex files).
Also add some checks to make sure we don't memcmp() beyond the end of
vorbiscomment buffer if the ID to check for is larger than the buffer.
* tests/check/libs/tag.c: (GST_START_TEST):
Some more tests for gst_tag_list_from_vorbiscomment_buffer().

17 years agoext/vorbis/vorbisenc.c: Use vorbis comment utility functions from libgsttag instead...
Tim-Philipp Müller [Mon, 21 Aug 2006 16:39:25 +0000 (16:39 +0000)]
ext/vorbis/vorbisenc.c: Use vorbis comment utility functions from libgsttag instead of re-inventing the wheel (partia...

Original commit message from CVS:
* ext/vorbis/vorbisenc.c: (gst_vorbis_enc_metadata_set1),
(gst_vorbis_enc_set_metadata):
Use vorbis comment utility functions from libgsttag
instead of re-inventing the wheel (partially fixes #347091).

17 years agotests/check/elements/audioconvert.c: Fix leaks. Wait for state transitions that might...
Jan Schmidt [Mon, 21 Aug 2006 11:42:12 +0000 (11:42 +0000)]
tests/check/elements/audioconvert.c: Fix leaks. Wait for state transitions that might happen ASYNC, as well as some t...

Original commit message from CVS:
* tests/check/elements/audioconvert.c: (GST_START_TEST):
Fix leaks. Wait for state transitions that might happen ASYNC, as well
as some that won't.

17 years agodocs/libs/: Don't try to GObject scan the netbuffer as it's not a GObject.
Wim Taymans [Mon, 21 Aug 2006 10:32:51 +0000 (10:32 +0000)]
docs/libs/: Don't try to GObject scan the netbuffer as it's not a GObject.

Original commit message from CVS:
* docs/libs/Makefile.am:
* docs/libs/gst-plugins-base-libs-sections.txt:
* docs/libs/gst-plugins-base-libs.types:
Don't try to GObject scan the netbuffer as it's not a GObject.
Fixes #351308.
* gst-libs/gst/netbuffer/gstnetbuffer.c:
* gst-libs/gst/netbuffer/gstnetbuffer.h:
Document GstNetBuffer.

17 years agotests/check/elements/audioconvert.c: Add testcase for caps-size-explosion
Stefan Kost [Mon, 21 Aug 2006 08:54:06 +0000 (08:54 +0000)]
tests/check/elements/audioconvert.c: Add testcase for caps-size-explosion

Original commit message from CVS:
* tests/check/elements/audioconvert.c: (GST_START_TEST),
(audioconvert_suite):
Add testcase for caps-size-explosion

17 years agogst/audioconvert/gstaudioconvert.c: Lower debug, use g_assert in _get_unit_size
Stefan Kost [Sun, 20 Aug 2006 13:05:44 +0000 (13:05 +0000)]
gst/audioconvert/gstaudioconvert.c: Lower debug, use g_assert in _get_unit_size

Original commit message from CVS:
* gst/audioconvert/gstaudioconvert.c:
(gst_audio_convert_get_unit_size), (set_structure_widths):
Lower debug, use g_assert in _get_unit_size
* gst/audioresample/gstaudioresample.c:
(audioresample_get_unit_size):
* gst/ffmpegcolorspace/gstffmpegcolorspace.c:
(gst_ffmpegcsp_get_unit_size):
* gst/videoscale/gstvideoscale.c: (gst_video_scale_get_unit_size):
use g_assert in _get_unit_size

17 years agoChangeLog surgery: fix bug number
Tim-Philipp Müller [Fri, 18 Aug 2006 21:21:48 +0000 (21:21 +0000)]
ChangeLog surgery: fix bug number

Original commit message from CVS:
ChangeLog surgery: fix bug number

17 years agoDocument GstRTPBuffer.
Wim Taymans [Fri, 18 Aug 2006 16:43:26 +0000 (16:43 +0000)]
Document GstRTPBuffer.

Original commit message from CVS:
* docs/libs/gst-plugins-base-libs-sections.txt:
* gst-libs/gst/rtp/gstrtpbuffer.c: (gst_rtp_buffer_set_packet_len),
(gst_rtp_buffer_pad_to), (gst_rtp_buffer_get_payload_subbuffer),
(gst_rtp_buffer_get_payload_buffer):
* gst-libs/gst/rtp/gstrtpbuffer.h:
Document GstRTPBuffer.
Added function to efficiently strip payload headers.
API: gst_rtp_buffer_get_payload_subbuffer()

17 years agogst-libs/gst/tag/gstvorbistag.c: Serialise unknown vorbis comments into GST_TAG_EXTEN...
Tim-Philipp Müller [Thu, 17 Aug 2006 16:52:06 +0000 (16:52 +0000)]
gst-libs/gst/tag/gstvorbistag.c: Serialise unknown vorbis comments into GST_TAG_EXTENDED_COMMENT tags and deserialise...

Original commit message from CVS:
* gst-libs/gst/tag/gstvorbistag.c: (gst_vorbis_tag_add),
(gst_tag_to_vorbis_comments):
Serialise unknown vorbis comments into GST_TAG_EXTENDED_COMMENT
tags and deserialise them properly as well (#351768).
Add some more gtk-doc blurbs and also some g_return_if_fail().
* tests/check/libs/tag.c: (GST_START_TEST),
(back_to_vorbis_comments), (taglists_are_equal), (tag_suite):
More tests.

17 years agoext/ogg/: Added ogg-in-avi parser element. Fixes #140139.
Wim Taymans [Thu, 17 Aug 2006 15:43:40 +0000 (15:43 +0000)]
ext/ogg/: Added ogg-in-avi parser element. Fixes #140139.

Original commit message from CVS:
* ext/ogg/Makefile.am:
* ext/ogg/gstogg.c: (plugin_init):
* ext/ogg/gstoggaviparse.c: (gst_ogg_avi_parse_get_type),
(gst_ogg_avi_parse_base_init), (gst_ogg_avi_parse_class_init),
(gst_ogg_avi_parse_init), (gst_ogg_avi_parse_finalize),
(gst_ogg_avi_parse_setcaps), (gst_ogg_avi_parse_event),
(gst_ogg_avi_parse_push_packet), (gst_ogg_avi_parse_chain),
(gst_ogg_avi_parse_change_state), (gst_ogg_avi_parse_plugin_init):
Added ogg-in-avi parser element. Fixes #140139.
* ext/ogg/gstoggmux.c: (gst_ogg_mux_buffer_from_page):
Fixed a bug in oggdemux debug code.
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_audio_caps),
(gst_riff_create_audio_template_caps):
Recognise Ogg in the AVI extensible wave format.

17 years agogst-libs/gst/cdda/gstcddabasesrc.c: Make buffer durations add up (duration should...
Tim-Philipp Müller [Thu, 17 Aug 2006 10:00:00 +0000 (10:00 +0000)]
gst-libs/gst/cdda/gstcddabasesrc.c: Make buffer durations add up (duration should be next_ts-ts for perfect streams)....

Original commit message from CVS:
* gst-libs/gst/cdda/gstcddabasesrc.c: (gst_cdda_base_src_create):
Make buffer durations add up (duration should be next_ts-ts for
perfect streams). Fixes CD ripping to Ogg/Vorbis with vorbisenc
from CVS.
* tests/check/libs/cddabasesrc.c: (gst_cd_foo_src_close),
(test_buffer_timestamps), (cddabasesrc_suite):
Add unit test for the above.
* tests/check/Makefile.am:
Don't know why cddabasesrc test was in VALGRIND_TO_FIX, remove
to see what happens.

17 years agoext/alsa/: Avoid setting and using a NULL device name.
Wim Taymans [Wed, 16 Aug 2006 11:38:52 +0000 (11:38 +0000)]
ext/alsa/: Avoid setting and using a NULL device name.

Original commit message from CVS:
* ext/alsa/gstalsasink.c: (gst_alsasink_set_property),
(gst_alsasink_open):
* ext/alsa/gstalsasrc.c: (gst_alsasrc_set_property),
(gst_alsasrc_open):
Avoid setting and using a NULL device name.
Print more info when we fail to open a device.

17 years agoAPI: add gst_tag_parse_extended_comment() (#351426).
Tim-Philipp Müller [Wed, 16 Aug 2006 11:28:57 +0000 (11:28 +0000)]
API: add gst_tag_parse_extended_comment() (#351426).

Original commit message from CVS:
* docs/libs/gst-plugins-base-libs-sections.txt:
* gst-libs/gst/tag/tag.h:
* gst-libs/gst/tag/tags.c: (gst_tag_parse_extended_comment):
API: add gst_tag_parse_extended_comment() (#351426).
* tests/check/Makefile.am:
* tests/check/libs/.cvsignore:
* tests/check/libs/tag.c: (GST_START_TEST), (tag_suite), (main):
Add unit test for gst_tag_parse_extended_comment().

17 years agosys/: Fix leak (#351502).
Tim-Philipp Müller [Tue, 15 Aug 2006 19:20:16 +0000 (19:20 +0000)]
sys/: Fix leak (#351502).

Original commit message from CVS:
* sys/ximage/ximagesink.c: (gst_ximagesink_get_property):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_get_property):
Fix leak (#351502).

17 years agoDocument playbin.
Tim-Philipp Müller [Tue, 15 Aug 2006 17:21:33 +0000 (17:21 +0000)]
Document playbin.

Original commit message from CVS:
* docs/plugins/gst-plugins-base-plugins-docs.sgml:
* docs/plugins/gst-plugins-base-plugins-sections.txt:
* docs/plugins/gst-plugins-base-plugins.args:
* gst/playback/gstplaybin.c:
Document playbin.
* 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-cdparanoia.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-pango.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:
Update to CVS version.

17 years agogst/playback/gstplaybin.c: Add "connection-speed" property; re-order redirect message...
Tim-Philipp Müller [Mon, 14 Aug 2006 17:54:01 +0000 (17:54 +0000)]
gst/playback/gstplaybin.c: Add "connection-speed" property; re-order redirect messages with multiple redirect locatio...

Original commit message from CVS:
* gst/playback/gstplaybin.c: (gst_play_bin_class_init),
(gst_play_bin_set_property), (gst_play_bin_get_property),
(value_list_append_structure_list),
(gst_play_bin_handle_redirect_message),
(gst_play_bin_handle_message):
Add "connection-speed" property; re-order redirect messages with
multiple redirect locations depending on the minimum bitrate if
that information is available and a connection speed is set
(#350399).

17 years agogst/playback/gstplaybin.c: Update max volume to the same value that the volume elemen...
Tim-Philipp Müller [Mon, 14 Aug 2006 11:41:04 +0000 (11:41 +0000)]
gst/playback/gstplaybin.c: Update max volume to the same value that the volume element uses.

Original commit message from CVS:
* gst/playback/gstplaybin.c:
Update max volume to the same value that the volume element uses.

17 years agoext/alsa/gstalsamixer.c: Less uglyness..
Wim Taymans [Mon, 14 Aug 2006 10:50:15 +0000 (10:50 +0000)]
ext/alsa/gstalsamixer.c: Less uglyness..

Original commit message from CVS:
* ext/alsa/gstalsamixer.c: (gst_alsa_mixer_open):
Less uglyness..

17 years agoext/ogg/gstoggdemux.c: Add some more debug info.
Wim Taymans [Mon, 14 Aug 2006 10:49:10 +0000 (10:49 +0000)]
ext/ogg/gstoggdemux.c: Add some more debug info.

Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_submit_buffer),
(gst_ogg_demux_get_next_page), (gst_ogg_demux_perform_seek),
(gst_ogg_demux_read_chain), (gst_ogg_demux_loop):
Add some more debug info.
Don't crash when a seek failed.
Actually return the result of the seek instead of TRUE.
Ignore multiple BOS pages with the same serial so that we don't create
the same stream multiple times.
Post an error when we fail to do the initial seek.

17 years agoext/alsa/gstalsa.c: Small code cleanup.
Wim Taymans [Sun, 13 Aug 2006 14:34:48 +0000 (14:34 +0000)]
ext/alsa/gstalsa.c: Small code cleanup.

Original commit message from CVS:
* ext/alsa/gstalsa.c: (gst_alsa_detect_rates),
(gst_alsa_detect_channels), (gst_alsa_probe_supported_formats):
Small code cleanup.
* ext/alsa/gstalsamixer.c: (gst_alsa_mixer_open),
(gst_alsa_mixer_new):
Remove hack that always set the device to hw:0*.
Properly find the card name for whatever device was configured.
Do some better debugging.
Fixes #350784.
* ext/alsa/gstalsamixerelement.c:
(gst_alsa_mixer_element_set_property),
(gst_alsa_mixer_element_change_state):
Cleanups.
Handle setting of a NULL device name better.

17 years agogst/adder/gstadder.c: Don't clip float values. Fixes #350900.
Wim Taymans [Fri, 11 Aug 2006 15:53:43 +0000 (15:53 +0000)]
gst/adder/gstadder.c: Don't clip float values. Fixes #350900.

Original commit message from CVS:
* gst/adder/gstadder.c:
Don't clip float values. Fixes #350900.

17 years agogst/tcp/gsttcp.c: Really fix the build?
Andy Wingo [Fri, 11 Aug 2006 15:33:17 +0000 (15:33 +0000)]
gst/tcp/gsttcp.c: Really fix the build?

Original commit message from CVS:
2006-08-11  Andy Wingo  <wingo@pobox.com>

* gst/tcp/gsttcp.c: Really fix the build?

17 years agogst/tcp/gsttcp.h: For now, always disable deprecation here -- fixes the build.
Andy Wingo [Fri, 11 Aug 2006 15:29:56 +0000 (15:29 +0000)]
gst/tcp/gsttcp.h: For now, always disable deprecation here -- fixes the build.

Original commit message from CVS:
2006-08-11  Andy Wingo  <wingo@pobox.com>

* gst/tcp/gsttcp.h: For now, always disable deprecation here --
fixes the build.