platform/upstream/gst-plugins-base.git
19 years agosys/v4l/gstv4lsrc.c: Check if the caps have a fourcc field. Fixes crash for gst...
Thomas Vander Stichele [Thu, 10 Nov 2005 12:57:01 +0000 (12:57 +0000)]
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

19 years agogst/sine/gstsinesrc.c: Send newsegment event in TIME format, set duration if num...
Tim-Philipp Müller [Thu, 10 Nov 2005 11:43:43 +0000 (11:43 +0000)]
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.

19 years agoext/ogg/gstoggmux.c: Fix EOS handling, partially. Now forwarding an EOS event once...
Michael Smith [Thu, 10 Nov 2005 10:45:07 +0000 (10:45 +0000)]
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.

19 years agogst/playback/gstplaybin.c: Set elements to NULL state before disposing of them.
Tim-Philipp Müller [Wed, 9 Nov 2005 16:09:52 +0000 (16:09 +0000)]
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.

19 years agogst-libs/gst/rtp/gstbasertpdepayload.*: We need to send a newsegment event for each...
Tim-Philipp Müller [Tue, 8 Nov 2005 22:34:24 +0000 (22:34 +0000)]
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).

19 years agoext/ogg/gstoggmux.c: Forward port rewrite of muxing strategy to 0.9 version of oggmux.
Michael Smith [Tue, 8 Nov 2005 16:37:32 +0000 (16:37 +0000)]
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.

19 years agogst/audioconvert/gstaudioconvert.c: Fix typo in docs.
Tim-Philipp Müller [Tue, 8 Nov 2005 12:18:14 +0000 (12:18 +0000)]
gst/audioconvert/gstaudioconvert.c: Fix typo in docs.

Original commit message from CVS:
* gst/audioconvert/gstaudioconvert.c:
Fix typo in docs.

19 years agoext/ogg/gstoggdemux.c: Initialise segment_stop to GST_CLOCK_TIME_NONE when creating...
Tim-Philipp Müller [Tue, 8 Nov 2005 12:12:55 +0000 (12:12 +0000)]
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.

19 years agogst/volume/gstvolume.c: Fix compilation on Solaris with Forte. (#320923)
Tim-Philipp Müller [Tue, 8 Nov 2005 12:08:11 +0000 (12:08 +0000)]
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)

19 years agogst-libs/gst/audio/gstbaseaudiosink.c: No need to do a typecheck.
Wim Taymans [Tue, 8 Nov 2005 11:41:52 +0000 (11:41 +0000)]
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.

19 years agoext/alsa/gstalsa.h: We register a debug category, so let's use it.
Tim-Philipp Müller [Mon, 7 Nov 2005 19:42:38 +0000 (19:42 +0000)]
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.

19 years agoFixed a small problem.
Zeeshan Ali [Fri, 4 Nov 2005 18:03:07 +0000 (18:03 +0000)]
Fixed a small problem.

Original commit message from CVS:
Fixed a small problem.

19 years agoexamples/seeking/: Added app for playback speed testing.
Wim Taymans [Fri, 4 Nov 2005 10:49:55 +0000 (10:49 +0000)]
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.

19 years agoDon't sleep on the bench (system clock) when you have a nice comfortable bed (Gstream...
Zeeshan Ali [Thu, 3 Nov 2005 22:49:38 +0000 (22:49 +0000)]
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.

19 years agogst/playback/gstdecodebin.c: Handle the case where a pad_block failed.
Wim Taymans [Thu, 3 Nov 2005 12:32:09 +0000 (12:32 +0000)]
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.

19 years agotcp elements need some system headers like sys/socket.h
Thomas Vander Stichele [Thu, 3 Nov 2005 09:31:30 +0000 (09:31 +0000)]
tcp elements need some system headers like sys/socket.h

Original commit message from CVS:

* configure.ac:
* gst/Makefile.am:
tcp elements need some system headers like sys/socket.h

19 years agosubparse needs regex.h - might need to move to sys/
Thomas Vander Stichele [Thu, 3 Nov 2005 00:42:57 +0000 (00:42 +0000)]
subparse needs regex.h - might need to move to sys/

Original commit message from CVS:

* configure.ac:
* gst/Makefile.am:
subparse needs regex.h - might need to move to sys/

19 years agoFixes some bugs in the depayloader's queuing/de-queueing code.
Zeeshan Ali [Wed, 2 Nov 2005 10:23:38 +0000 (10:23 +0000)]
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.

19 years agoext/ogg/gstoggdemux.c: Make oggdemux only find the final time in a chain, not per...
Alessandro Decina [Mon, 31 Oct 2005 18:35:45 +0000 (18:35 +0000)]
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.

19 years agoSome random fixes, to fullfill the desires of thomas.
Zeeshan Ali [Mon, 31 Oct 2005 15:32:54 +0000 (15:32 +0000)]
Some random fixes, to fullfill the desires of thomas.

Original commit message from CVS:
Some random fixes, to fullfill the desires of thomas.

19 years agoFixed the queueing algorithm.
Zeeshan Ali [Mon, 31 Oct 2005 13:29:06 +0000 (13:29 +0000)]
Fixed the queueing algorithm.

Original commit message from CVS:
Fixed the queueing algorithm.

19 years agoA small fix
Zeeshan Ali [Mon, 31 Oct 2005 12:09:19 +0000 (12:09 +0000)]
A small fix

Original commit message from CVS:
A small fix

19 years agogst-libs/gst/audio/gstringbuffer.h: Don't break ABI.
Wim Taymans [Mon, 31 Oct 2005 11:43:01 +0000 (11:43 +0000)]
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.

19 years agogst-libs/gst/audio/: Add flushing mode to the ringbuffer so that it in all cases...
Wim Taymans [Mon, 31 Oct 2005 10:30:41 +0000 (10:30 +0000)]
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.

19 years agoext/ogg/gstoggdemux.c: Explicitly check for -1 values before doing a conversion and...
Tim-Philipp Müller [Sat, 29 Oct 2005 13:39:23 +0000 (13:39 +0000)]
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)

19 years agogst/playback/gstplaybin.c: first try autovideosink, then xvimagesink, then error out
Thomas Vander Stichele [Fri, 28 Oct 2005 09:56:47 +0000 (09:56 +0000)]
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

19 years agogst-libs/gst/rtp/gstbasedepayload.*: Minor cleanups
Philippe Kalaf [Thu, 27 Oct 2005 22:14:02 +0000 (22:14 +0000)]
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

19 years agogst/playback/: Port these two tests as well.
Tim-Philipp Müller [Thu, 27 Oct 2005 18:30:04 +0000 (18:30 +0000)]
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.

19 years agoext/: Take proper locks when handling events.
Wim Taymans [Thu, 27 Oct 2005 11:33:09 +0000 (11:33 +0000)]
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.

19 years agogst/adder/gstadder.c: Fix timestamps and fix deadlock when stopping the collectpads.
Wim Taymans [Thu, 27 Oct 2005 09:54:06 +0000 (09:54 +0000)]
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.

19 years agoI'm too lazy to comment this
Zeeshan Ali [Wed, 26 Oct 2005 21:42:21 +0000 (21:42 +0000)]
I'm too lazy to comment this

Original commit message from CVS:
*** empty log message ***

19 years agoFixes a small but nasty bug. The derived elements no longer segfaults on finalization.
Zeeshan Ali [Wed, 26 Oct 2005 20:00:46 +0000 (20:00 +0000)]
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.

19 years agogst/audioconvert/audioconvert.c: When clearing an audioconvert context, set tmpbufsiz...
Michael Smith [Wed, 26 Oct 2005 16:26:44 +0000 (16:26 +0000)]
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.

19 years agoFixed a small mem-leak.
Zeeshan Ali [Wed, 26 Oct 2005 14:19:21 +0000 (14:19 +0000)]
Fixed a small mem-leak.

Original commit message from CVS:
Fixed a small mem-leak.

19 years agoChanged the C++ comments to C comments.
Zeeshan Ali [Wed, 26 Oct 2005 13:52:42 +0000 (13:52 +0000)]
Changed the C++ comments to C comments.

Original commit message from CVS:
Changed the C++ comments to C comments.

19 years agogst/tcp/: Remove unused 'curoffset' structure member.
Tim-Philipp Müller [Wed, 26 Oct 2005 11:43:49 +0000 (11:43 +0000)]
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.

19 years agoThe pad-template on the sinkpad should be set by the derived classes. Also added...
Zeeshan Ali [Tue, 25 Oct 2005 17:20:55 +0000 (17:20 +0000)]
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.

19 years agoext/vorbis/vorbisdec.c: Correctly flush decoder samples even if we could not copy...
Wim Taymans [Mon, 24 Oct 2005 17:40:37 +0000 (17:40 +0000)]
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.

19 years agosys/: Check the caps against our xcontext caps.
Julien Moutte [Mon, 24 Oct 2005 17:04:01 +0000 (17:04 +0000)]
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.

19 years agogst-libs/gst/audio/gstbaseaudiosink.c: Remove g_print
Wim Taymans [Mon, 24 Oct 2005 14:59:55 +0000 (14:59 +0000)]
gst-libs/gst/audio/gstbaseaudiosink.c: Remove g_print

Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_get_offset), (gst_base_audio_sink_render):
Remove g_print
Use sync property from baseclass to disable sync.

19 years agogst-libs/gst/audio/gstbaseaudiosink.c: Buffers with no timestamps get aligned with...
Wim Taymans [Mon, 24 Oct 2005 14:52:22 +0000 (14:52 +0000)]
gst-libs/gst/audio/gstbaseaudiosink.c: Buffers with no timestamps get aligned with previous buffers or on underrun, p...

Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_get_offset), (gst_base_audio_sink_render):
Buffers with no timestamps get aligned with previous buffers or
on underrun, played ASAP.

19 years agoAnd here comes my change on caps for framerate and geometry range.
Julien Moutte [Mon, 24 Oct 2005 13:36:40 +0000 (13:36 +0000)]
And here comes my change on caps for framerate and geometry range.

Original commit message from CVS:
2005-10-24  Julien MOUTTE  <julien@moutte.net>

* gst-libs/gst/video/video.h:
* gst/ffmpegcolorspace/gstffmpegcodecmap.c:
* sys/ximage/ximagesink.c: (gst_ximagesink_xcontext_get):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_get_xv_support):
And
here comes my change on caps for framerate and geometry range.
We are now accepting 1 to MAXINT for width and height, and from
0.0 to MAXDOUBLE for framerate. That allows duration less png
frames
to be blended correctly in videomixer.

19 years agoback to HEAD
Thomas Vander Stichele [Sun, 23 Oct 2005 23:05:42 +0000 (23:05 +0000)]
back to HEAD

Original commit message from CVS:
back to HEAD

19 years agoreleasing 0.9.4 RELEASE-0_9_4
Thomas Vander Stichele [Sun, 23 Oct 2005 22:34:38 +0000 (22:34 +0000)]
releasing 0.9.4

Original commit message from CVS:
releasing 0.9.4

19 years agoSTOPPED -> FAILED
Thomas Vander Stichele [Sun, 23 Oct 2005 09:57:59 +0000 (09:57 +0000)]
STOPPED -> FAILED

Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_loop):
* po/POTFILES.in:
STOPPED -> FAILED

19 years agogst/playback/gstdecodebin.c: Don't try to remove elements twice.
Wim Taymans [Fri, 21 Oct 2005 16:40:08 +0000 (16:40 +0000)]
gst/playback/gstdecodebin.c: Don't try to remove elements twice.

Original commit message from CVS:
* gst/playback/gstdecodebin.c: (gst_decode_bin_init),
(gst_decode_bin_dispose), (free_dynamics), (pad_unblocked),
(pad_blocked), (close_pad_link), (new_pad):
Don't try to remove elements twice.

19 years agoext/: Fix old naming.
Wim Taymans [Fri, 21 Oct 2005 15:14:36 +0000 (15:14 +0000)]
ext/: Fix old naming.

Original commit message from CVS:
* ext/theora/theoradec.c: (theora_dec_src_query),
(theora_dec_sink_event):
* ext/vorbis/vorbisdec.c: (vorbis_dec_src_query),
(vorbis_dec_sink_event), (vorbis_handle_identification_packet),
(vorbis_handle_data_packet):
* ext/vorbis/vorbisdec.h:
Fix old naming.

* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_render):
Don't try to sync on buffers without a timestamp.

19 years agoupdate for latest changes
Christian Schaller [Fri, 21 Oct 2005 09:45:13 +0000 (09:45 +0000)]
update for latest changes

Original commit message from CVS:
update for latest changes

19 years agoext/vorbis/vorbisenc.c: Implement position and duration queries.
Tim-Philipp Müller [Thu, 20 Oct 2005 19:06:43 +0000 (19:06 +0000)]
ext/vorbis/vorbisenc.c: Implement position and duration queries.

Original commit message from CVS:
* ext/vorbis/vorbisenc.c: (gst_vorbisenc_get_query_types),
(gst_vorbisenc_src_query):
Implement position and duration queries.
* gst/playback/test3.c: (update_scale), (main):
Fix for async state changes and print nicer output.

19 years agogst/playback/: Fix tests again
Wim Taymans [Thu, 20 Oct 2005 17:42:57 +0000 (17:42 +0000)]
gst/playback/: Fix tests again

Original commit message from CVS:
* gst/playback/test5.c: (new_pad), (no_more_pads), (start_finding),
(dump_element_stats), (main):
* gst/playback/test6.c: (main):
Fix tests again

19 years agogst/: Don't use functions for position queries when handling duration queries.
Tim-Philipp Müller [Thu, 20 Oct 2005 16:44:17 +0000 (16:44 +0000)]
gst/: Don't use functions for position queries when handling duration queries.

Original commit message from CVS:
* gst/audiotestsrc/gstaudiotestsrc.c: (gst_audiotestsrc_src_query):
* gst/sine/gstsinesrc.c: (gst_sinesrc_src_query):
Don't use functions for position queries when handling
duration queries.

19 years agoext/vorbis/vorbisdec.*: Vorbis streams can be embedded in other container formats...
Tim-Philipp Müller [Thu, 20 Oct 2005 16:01:43 +0000 (16:01 +0000)]
ext/vorbis/vorbisdec.*: Vorbis streams can be embedded in other container formats than ogg, container formats where t...

Original commit message from CVS:
* ext/vorbis/vorbisdec.c: (vorbis_dec_sink_event),
(vorbis_handle_data_packet), (vorbis_dec_chain),
(vorbis_dec_change_state):
* ext/vorbis/vorbisdec.h:
Vorbis streams can be embedded in other container formats
than ogg, container formats where the demuxer might set
timestamps on encoded vorbis buffers instead of those silly
granulepos thingies. In short: make vorbisdec handle
timestamps on incoming buffers as well.

19 years agogst/playback/gstplaybasebin.c: Fix leak.
Wim Taymans [Thu, 20 Oct 2005 10:35:06 +0000 (10:35 +0000)]
gst/playback/gstplaybasebin.c: Fix leak.

Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (group_destroy),
(gst_play_base_bin_change_state):
Fix leak.
Handle case where playbasebin is now ASYNC because
decodebin is.

19 years agogst/audioconvert/: And bye bye buffer-frames-convert
Tim-Philipp Müller [Wed, 19 Oct 2005 17:50:17 +0000 (17:50 +0000)]
gst/audioconvert/: And bye bye buffer-frames-convert

Original commit message from CVS:
* gst/audioconvert/Makefile.am:
* gst/audioconvert/bufferframesconvert.c:
* gst/audioconvert/plugin.c: (plugin_init):
* gst/audioconvert/plugin.h:
And bye bye buffer-frames-convert

19 years agoBye bye buffer-frames.
Wim Taymans [Wed, 19 Oct 2005 17:02:46 +0000 (17:02 +0000)]
Bye bye buffer-frames.

Original commit message from CVS:
* check/elements/audioconvert.c:
* docs/libs/tmpl/gstaudio.sgml:
* docs/libs/tmpl/gstcolorbalance.sgml:
* ext/vorbis/vorbisdec.c: (vorbis_dec_sink_event),
(vorbis_handle_identification_packet), (vorbis_handle_data_packet):
* ext/vorbis/vorbisenc.c: (raw_caps_factory):
* gst-libs/gst/audio/audio.c: (gst_audio_structure_set_int):
* gst-libs/gst/audio/audio.h:
* gst/audioconvert/audioconvert.h:
* gst/audioconvert/gstaudioconvert.c:
(gst_audio_convert_parse_caps):
* gst/volume/gstvolume.c:
Bye bye buffer-frames.

19 years agoQuery API update.
Wim Taymans [Wed, 19 Oct 2005 15:55:33 +0000 (15:55 +0000)]
Query API update.

Original commit message from CVS:
* examples/seeking/seek.c: (make_avi_msmpeg4v3_mp3_pipeline),
(query_positions_elems), (query_positions_pads), (update_scale),
(do_seek), (set_update_scale), (message_received), (main):
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_src_query),
(gst_ogg_demux_perform_seek), (gst_ogg_demux_find_chains),
(gst_ogg_demux_loop):
* ext/ogg/gstogmparse.c: (gst_ogm_parse_sink_query):
* ext/theora/theoradec.c: (theora_dec_src_query),
(theora_dec_sink_event):
* ext/vorbis/vorbisdec.c: (vorbis_dec_src_query),
(vorbis_dec_sink_event), (vorbis_handle_data_packet):
* gst/adder/gstadder.c: (gst_adder_query):
* gst/audiotestsrc/gstaudiotestsrc.c: (gst_audiotestsrc_src_query):
* gst/playback/test3.c: (update_scale):
* gst/playback/test5.c: (new_pad), (no_more_pads), (start_finding),
(dump_element_stats), (main):
* gst/playback/test6.c: (main):
* gst/sine/gstsinesrc.c: (gst_sinesrc_src_query):
Query API update.

19 years agogst/typefind/gsttypefindfunctions.c: Akos Maroy (#308663).
Tim-Philipp Müller [Wed, 19 Oct 2005 09:21:46 +0000 (09:21 +0000)]
gst/typefind/gsttypefindfunctions.c: Akos Maroy (#308663).

Original commit message from CVS:
* gst/typefind/gsttypefindfunctions.c: (utf8_type_find),
(xml_check_first_element), (xml_type_find), (smil_type_find),
(plugin_init):
Add typefinding for SMIL and for generic XML. Based on patch by
Akos Maroy (#308663).

19 years agogst/playback/: Make playbin async, it'll commit state to paused when all streams...
Wim Taymans [Tue, 18 Oct 2005 17:13:56 +0000 (17:13 +0000)]
gst/playback/: Make playbin async, it'll commit state to paused when all streams are detected.

Original commit message from CVS:
* gst/playback/Makefile.am:
* gst/playback/gstdecodebin.c: (gst_decode_bin_init),
(gst_decode_bin_dispose), (dynamic_create), (dynamic_free),
(free_dynamics), (pad_unblocked), (pad_blocked), (close_pad_link),
(try_to_link_1), (new_pad), (no_more_pads), (type_found),
(gst_decode_bin_change_state):
* gst/playback/gstplaybin.c: (gst_play_bin_class_init),
(gst_play_bin_send_event_to_sink):
* gst/playback/test5.c: (new_pad), (no_more_pads), (start_finding),
(dump_element_stats), (main):
* gst/playback/test6.c: (main):
Make playbin async, it'll commit state to paused when all streams
are detected.
Remove ugly hack.
Added test6.c to show async behaviour.

19 years agoext/ogg/gstoggdemux.c: Fix for segment-start/stop API change.
Wim Taymans [Tue, 18 Oct 2005 13:20:29 +0000 (13:20 +0000)]
ext/ogg/gstoggdemux.c: Fix for segment-start/stop API change.

Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_chain_peer),
(gst_ogg_demux_perform_seek), (gst_ogg_demux_loop):
Fix for segment-start/stop API change.

19 years agocheck/: Add future test for clock selection.
Wim Taymans [Tue, 18 Oct 2005 11:13:34 +0000 (11:13 +0000)]
check/: Add future test for clock selection.

Original commit message from CVS:
* check/Makefile.am:
* check/clocks/selection.c: (GST_START_TEST), (volume_suite),
(main):
Add future test for clock selection.

19 years agoext/alsa/gstalsasink.c: Set handle to NULL.
Wim Taymans [Tue, 18 Oct 2005 11:07:26 +0000 (11:07 +0000)]
ext/alsa/gstalsasink.c: Set handle to NULL.

Original commit message from CVS:
* ext/alsa/gstalsasink.c: (gst_alsasink_init),
(gst_alsasink_close):
Set handle to NULL.

* 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_start), (gst_ring_buffer_pause),
(gst_ring_buffer_stop), (gst_ring_buffer_commit),
(gst_ring_buffer_read):
More debug info.

19 years agogst/: fix broken build of controllerized plugins
Stefan Kost [Mon, 17 Oct 2005 19:57:05 +0000 (19:57 +0000)]
gst/: fix broken build of controllerized plugins

Original commit message from CVS:
* gst/audiotestsrc/Makefile.am:
* gst/sine/Makefile.am:
* gst/volume/Makefile.am:
fix broken build of controllerized plugins

19 years agogst-libs/gst/riff/riff-media.c: Add support for Indeo-3 (IV32).
Tim-Philipp Müller [Mon, 17 Oct 2005 16:14:29 +0000 (16:14 +0000)]
gst-libs/gst/riff/riff-media.c: Add support for Indeo-3 (IV32).

Original commit message from CVS:
Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_video_caps),
(gst_riff_create_video_template_caps):
Add support for Indeo-3 (IV32).

19 years agoconfigure.ac: rewrite
Thomas Vander Stichele [Mon, 17 Oct 2005 15:53:53 +0000 (15:53 +0000)]
configure.ac: rewrite

Original commit message from CVS:

* configure.ac:
rewrite

19 years agogst/: doc updates
Thomas Vander Stichele [Mon, 17 Oct 2005 15:37:45 +0000 (15:37 +0000)]
gst/: doc updates

Original commit message from CVS:
* gst-libs/gst/video/video.c: (gst_video_get_size):
* gst/audiotestsrc/gstaudiotestsrc.c:
doc updates

19 years agoext/ogg/gstoggmux.c (gst_ogg_mux_queue_pads): Fix bug introduced with the collectpads...
Andy Wingo [Mon, 17 Oct 2005 15:36:33 +0000 (15:36 +0000)]
ext/ogg/gstoggmux.c (gst_ogg_mux_queue_pads): Fix bug introduced with the collectpads change.

Original commit message from CVS:
2005-10-17  Andy Wingo  <wingo@pobox.com>

* ext/ogg/gstoggmux.c (gst_ogg_mux_queue_pads): Fix bug introduced
with the collectpads change.
(gst_ogg_mux_send_headers): Elevate warning to a g_critical.

19 years agoupdate docs
Thomas Vander Stichele [Mon, 17 Oct 2005 15:33:39 +0000 (15:33 +0000)]
update docs

Original commit message from CVS:
update docs

19 years agogst/tcp/gstmultifdsink.c: Convert to use the boilerplate macro.
Andy Wingo [Mon, 17 Oct 2005 13:46:22 +0000 (13:46 +0000)]
gst/tcp/gstmultifdsink.c: Convert to use the boilerplate macro.

Original commit message from CVS:
2005-10-17  Andy Wingo  <wingo@pobox.com>

* gst/tcp/gstmultifdsink.c: Convert to use the boilerplate macro.

* gst/tcp/gsttcp.c (gst_tcp_socket_read): Comment update.

19 years agoext/theora/theoraenc.c (theora_buffer_from_packet): Pass the alloc_buffer flow return...
Andy Wingo [Mon, 17 Oct 2005 13:42:38 +0000 (13:42 +0000)]
ext/theora/theoraenc.c (theora_buffer_from_packet): Pass the alloc_buffer flow return to callers.

Original commit message from CVS:
2005-10-17  Andy Wingo  <wingo@pobox.com>

* ext/theora/theoraenc.c (theora_buffer_from_packet): Pass the
alloc_buffer flow return to callers.
(theora_enc_chain, theora_enc_chain): Adapt to buffer_from_packet
change. Fix some memleaks in theoraenc.

19 years agogtkdoc wants me to commit this
Andy Wingo [Mon, 17 Oct 2005 13:39:22 +0000 (13:39 +0000)]
gtkdoc wants me to commit this

Original commit message from CVS:
gtkdoc wants me to commit this

19 years agoext/ogg/gstoggmux.c (gst_ogg_mux_send_headers): Fix a segfault in strange circumstance.
Andy Wingo [Mon, 17 Oct 2005 11:32:46 +0000 (11:32 +0000)]
ext/ogg/gstoggmux.c (gst_ogg_mux_send_headers): Fix a segfault in strange circumstance.

Original commit message from CVS:
2005-10-17  Andy Wingo  <wingo@pobox.com>

* ext/ogg/gstoggmux.c (gst_ogg_mux_send_headers): Fix a segfault
in strange circumstance.

19 years agogst/ffmpegcolorspace/gstffmpegcolorspace.c: We are asked to compute a buffer size...
Julien Moutte [Mon, 17 Oct 2005 09:34:26 +0000 (09:34 +0000)]
gst/ffmpegcolorspace/gstffmpegcolorspace.c: We are asked to compute a buffer size from caps, let's use the caps...

Original commit message from CVS:
2005-10-17  Julien MOUTTE  <julien@moutte.net>

* gst/ffmpegcolorspace/gstffmpegcolorspace.c:
(gst_ffmpegcsp_get_unit_size): We are asked to compute a buffer
size
from caps, let's use the caps...

19 years agoconfigure.ac: put back AX_CREATE_STDINT_H, ffmpegcolorspace includes _stdint.h
Thomas Vander Stichele [Mon, 17 Oct 2005 09:33:24 +0000 (09:33 +0000)]
configure.ac: put back AX_CREATE_STDINT_H, ffmpegcolorspace includes _stdint.h

Original commit message from CVS:
2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>

* configure.ac:
put back AX_CREATE_STDINT_H, ffmpegcolorspace includes _stdint.h

19 years agofix silly typo
Thomas Vander Stichele [Sun, 16 Oct 2005 17:50:44 +0000 (17:50 +0000)]
fix silly typo

Original commit message from CVS:
fix silly typo

19 years agogst/playback/gstdecodebin.c
Andy Wingo [Sun, 16 Oct 2005 15:08:46 +0000 (15:08 +0000)]
gst/playback/gstdecodebin.c

Original commit message from CVS:
2005-10-16  Andy Wingo  <wingo@pobox.com>

* gst/playback/gstdecodebin.c
(gst_element_set_state_like_a_crazy_man): New kraaaaaaazy
function!
(try_to_link_1): Increase kraziness level.

19 years agorestructure configure.ac, use correct libtool LDFLAGS, fix up defines
Thomas Vander Stichele [Sun, 16 Oct 2005 13:54:44 +0000 (13:54 +0000)]
restructure configure.ac, use correct libtool LDFLAGS, fix up defines

Original commit message from CVS:
restructure configure.ac, use correct libtool LDFLAGS, fix up defines

19 years agoconfigure.ac: It's GST_GLIB_CHECK, not GLIB2_CHECK; fix argument.
Andy Wingo [Sun, 16 Oct 2005 13:11:04 +0000 (13:11 +0000)]
configure.ac: It's GST_GLIB_CHECK, not GLIB2_CHECK; fix argument.

Original commit message from CVS:
2005-10-16  Andy Wingo  <wingo@pobox.com>

* configure.ac: It's GST_GLIB_CHECK, not GLIB2_CHECK; fix
argument.

19 years agoFix handling of GST_TAG_DATE, which is now of GST_TYPE_DATE.
Tim-Philipp Müller [Thu, 13 Oct 2005 15:34:02 +0000 (15:34 +0000)]
Fix handling of GST_TAG_DATE, which is now of GST_TYPE_DATE.

Original commit message from CVS:
* ext/vorbis/vorbisenc.c:
* gst-libs/gst/tag/gstid3tag.c: (gst_tag_list_new_from_id3v1):
* gst-libs/gst/tag/gstvorbistag.c: (gst_vorbis_tag_add),
(gst_tag_to_vorbis_comments):
Fix handling of GST_TAG_DATE, which is now of GST_TYPE_DATE.

19 years agotypo fixes
Stefan Kost [Thu, 13 Oct 2005 15:26:22 +0000 (15:26 +0000)]
typo fixes

Original commit message from CVS:
* examples/stats/mp2ogg.c:
* gst/ffmpegcolorspace/gstffmpegcodecmap.c:
typo fixes

19 years agoMagic glib macro usage to ensure constants are passed properly to vararg functions.
Michael Smith [Thu, 13 Oct 2005 12:09:56 +0000 (12:09 +0000)]
Magic glib macro usage to ensure constants are passed properly to vararg functions.

Original commit message from CVS:
Magic glib macro usage to ensure constants are passed properly to vararg
functions.

19 years ago- Don't use non-portable LL suffix on constants, since MSVC doesn't allow them. These...
Michael Smith [Thu, 13 Oct 2005 11:36:14 +0000 (11:36 +0000)]
- Don't use non-portable LL suffix on constants, since MSVC doesn't allow them. These constants all fit into ints any...

Original commit message from CVS:
- Don't use non-portable LL suffix on constants, since MSVC doesn't allow
them. These constants all fit into ints anyway.

- Continue to hate nano.

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

Original commit message from CVS:
* examples/indexing/indexmpeg.c: (main):
* ext/cdparanoia/gstcdparanoia.c: (cdparanoia_get),
(cdparanoia_open), (cdparanoia_close), (cdparanoia_event),
(cdparanoia_convert), (cdparanoia_query):
* ext/cdparanoia/gstcdparanoia.h:
* ext/gnomevfs/gstgnomevfssink.c: (gst_gnomevfssink_init),
(gst_gnomevfssink_open_file), (gst_gnomevfssink_close_file),
(gst_gnomevfssink_chain), (gst_gnomevfssink_change_state):
* ext/ogg/gstoggmux.c: (gst_ogg_mux_init):
* gst/audioscale/gstaudioscale.c: (gst_audioscale_init):
* gst/playback/gststreamselector.c: (gst_stream_selector_init):
* gst/tcp/gstmultifdsink.c: (gst_multifdsink_init),
(gst_multifdsink_render), (gst_multifdsink_start),
(gst_multifdsink_stop):
* gst/tcp/gstmultifdsink.h:
* gst/tcp/gsttcpclientsink.c: (gst_tcpclientsink_init),
(gst_tcpclientsink_render), (gst_tcpclientsink_start),
(gst_tcpclientsink_stop):
* gst/tcp/gsttcpclientsink.h:
* gst/tcp/gsttcpclientsrc.c: (gst_tcpclientsrc_init),
(gst_tcpclientsrc_getcaps), (gst_tcpclientsrc_create),
(gst_tcpclientsrc_start), (gst_tcpclientsrc_stop):
* gst/tcp/gsttcpclientsrc.h:
* gst/tcp/gsttcpserversink.h:
* gst/tcp/gsttcpserversrc.c: (gst_tcpserversrc_init),
(gst_tcpserversrc_create), (gst_tcpserversrc_start),
(gst_tcpserversrc_stop):
* gst/tcp/gsttcpserversrc.h:
* sys/v4l/gstv4lmjpegsink.c: (gst_v4lmjpegsink_init):
* sys/v4l/gstv4lmjpegsrc.c: (gst_v4lmjpegsrc_init):
* sys/ximage/ximagesink.c: (gst_ximagesink_init):
renamed GST_FLAGS macros to GST_OBJECT_FLAGS
moved bitshift from macro to enum definition

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

Original commit message from CVS:
* examples/indexing/indexmpeg.c: (main):
* ext/esd/esdmon.c: (gst_esdmon_open_audio),
(gst_esdmon_close_audio), (gst_esdmon_change_state):
* ext/esd/esdmon.h:
* ext/gdk_pixbuf/gstgdkpixbuf.c: (gst_gdk_pixbuf_init):
* ext/pango/gsttextoverlay.c: (gst_textoverlay_init):
* gst/autodetect/gstautoaudiosink.c: (gst_auto_audio_sink_init):
* gst/autodetect/gstautovideosink.c: (gst_auto_video_sink_init):
* gst/avi/gstavimux.c: (gst_avimux_init):
* gst/matroska/matroska-demux.c: (gst_matroska_demux_init):
* gst/multipart/multipartdemux.c: (gst_multipart_demux_init):
* gst/multipart/multipartmux.c: (gst_multipart_mux_init):
* gst/oldcore/gstmultifilesrc.c: (gst_multifilesrc_init),
(gst_multifilesrc_get), (gst_multifilesrc_open_file),
(gst_multifilesrc_close_file), (gst_multifilesrc_change_state):
* gst/oldcore/gstmultifilesrc.h:
* gst/oldcore/gstpipefilter.c: (gst_pipefilter_init),
(gst_pipefilter_open_file), (gst_pipefilter_close_file),
(gst_pipefilter_change_state):
* gst/oldcore/gstpipefilter.h:
* gst/smoothwave/gstsmoothwave.c: (gst_smoothwave_init):
* gst/videomixer/videomixer.c: (gst_videomixer_init):
* sys/osxaudio/gstosxaudiosink.c: (gst_osxaudiosink_init):
* sys/osxaudio/gstosxaudiosink.h:
* sys/osxaudio/gstosxaudiosrc.h:
renamed GST_FLAGS macros to GST_OBJECT_FLAGS
moved bitshift from macro to enum definition

19 years agoexamples/seeking/Makefile.am: Oops.
Wim Taymans [Wed, 12 Oct 2005 12:45:44 +0000 (12:45 +0000)]
examples/seeking/Makefile.am: Oops.

Original commit message from CVS:
* examples/seeking/Makefile.am:
Oops.

19 years agogst-libs/gst/audio/gstringbuffer.c: Don't assert on normal stuff.
Wim Taymans [Wed, 12 Oct 2005 12:38:20 +0000 (12:38 +0000)]
gst-libs/gst/audio/gstringbuffer.c: Don't assert on normal stuff.

Original commit message from CVS:
* gst-libs/gst/audio/gstringbuffer.c: (gst_ring_buffer_commit),
(gst_ring_buffer_read), (gst_ring_buffer_clear):
Don't assert on normal stuff.

* gst/playback/gstplaybin.c: (do_playbin_seek):
API fix.

19 years agoUpdate for _get_state() API change.
Wim Taymans [Wed, 12 Oct 2005 12:25:31 +0000 (12:25 +0000)]
Update for _get_state() API change.

Original commit message from CVS:
* check/pipelines/simple_launch_lines.c: (run_pipeline):
* examples/seeking/Makefile.am:
* examples/seeking/cdplayer.c: (play_cb), (pause_cb), (stop_cb):
* examples/seeking/seek.c: (make_avi_msmpeg4v3_mp3_pipeline),
(do_seek), (set_update_scale), (message_received), (main):
* gst-libs/gst/audio/gstringbuffer.c: (gst_ring_buffer_commit),
(gst_ring_buffer_read), (gst_ring_buffer_clear):
Update for _get_state() API change.

19 years agogst-libs/gst/audio/: Cleanups.
Wim Taymans [Tue, 11 Oct 2005 18:32:01 +0000 (18:32 +0000)]
gst-libs/gst/audio/: Cleanups.

Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_render):
* gst-libs/gst/audio/gstbaseaudiosrc.c:
(gst_base_audio_src_create):
* gst-libs/gst/audio/gstringbuffer.c: (gst_ring_buffer_commit),
(gst_ring_buffer_read):
Cleanups.
Commit and read from ringbuffer in samples rather than bytes.

19 years agogst-libs/gst/audio/gstbaseaudiosink.c: Respect segment rate and accum when scheduling...
Wim Taymans [Tue, 11 Oct 2005 17:31:48 +0000 (17:31 +0000)]
gst-libs/gst/audio/gstbaseaudiosink.c: Respect segment rate and accum when scheduling samples.

Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_render):
Respect segment rate and accum when scheduling samples.

19 years agoext/ogg/gstoggmux.c: Quick hack to fix build. We need to handle
Julien Moutte [Tue, 11 Oct 2005 17:19:36 +0000 (17:19 +0000)]
ext/ogg/gstoggmux.c: Quick hack to fix build. We need to handle

Original commit message from CVS:
2005-10-11  Julien MOUTTE  <julien@moutte.net>

* ext/ogg/gstoggmux.c: (gst_ogg_mux_queue_pads),
(gst_ogg_mux_collected): Quick hack to fix build. We need to
handle
EOS correctly, that needs more work.

19 years agocheck/generic/states.c: remove old property.
Wim Taymans [Tue, 11 Oct 2005 16:30:55 +0000 (16:30 +0000)]
check/generic/states.c: remove old property.

Original commit message from CVS:
* check/generic/states.c: (GST_START_TEST):
remove old property.

* 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),
(vorbis_handle_data_packet):
* gst-libs/gst/rtp/gstbasertpdepayload.c:
(gst_base_rtp_depayload_set_gst_timestamp):
* gst/videorate/gstvideorate.c: (gst_videorate_event):
Update for newsegment API change.

19 years agogst/playback/gstplaybin.c: Override send_event differently, so that we can takes...
Michael Smith [Tue, 11 Oct 2005 15:49:31 +0000 (15:49 +0000)]
gst/playback/gstplaybin.c: Override send_event differently, so that we can takes bits of functionality from GstPipeli...

Original commit message from CVS:
* gst/playback/gstplaybin.c: (gst_play_bin_send_event_to_sink),
(do_playbin_seek), (gst_play_bin_send_event):
Override send_event differently, so that we can takes bits of
functionality from GstPipeline (special handling for seeks,
including pausing/resuming, and resetting stream time) and
still get
the appropriate behaviour of only forwarding event to a single
sink,
rather than all of them.
Unfortunately requires a lot of code duplication, but the
alternatives are equally ugly in the end.

19 years agocheck/elements/audioconvert.c: clean up tests a little, fix some leaks.
Thomas Vander Stichele [Tue, 11 Oct 2005 14:49:44 +0000 (14:49 +0000)]
check/elements/audioconvert.c: clean up tests a little, fix some leaks.

Original commit message from CVS:
* check/elements/audioconvert.c: (setup_audioconvert),
(cleanup_audioconvert), (get_int_caps), (verify_convert),
(GST_START_TEST), (audioconvert_suite):
clean up tests a little, fix some leaks.

19 years agoplug some leaks
Thomas Vander Stichele [Tue, 11 Oct 2005 01:37:11 +0000 (01:37 +0000)]
plug some leaks

Original commit message from CVS:
plug some leaks

19 years agoext/alsa/gstalsasink.c: Also allow unsigned int.
Wim Taymans [Mon, 10 Oct 2005 17:04:24 +0000 (17:04 +0000)]
ext/alsa/gstalsasink.c: Also allow unsigned int.

Original commit message from CVS:
* ext/alsa/gstalsasink.c:
Also allow unsigned int.

* gst-libs/gst/audio/gstbaseaudiosrc.c:
(gst_base_audio_src_create), (gst_base_audio_src_change_state):
Small cleanup

19 years agocheck/pipelines/simple_launch_lines.c: Small update, use API as stated in design...
Wim Taymans [Mon, 10 Oct 2005 16:26:40 +0000 (16:26 +0000)]
check/pipelines/simple_launch_lines.c: Small update, use API as stated in design docs.

Original commit message from CVS:
* check/pipelines/simple_launch_lines.c: (run_pipeline):
Small update, use API as stated in design docs.

* examples/seeking/seek.c: (make_avi_msmpeg4v3_mp3_pipeline),
(update_scale), (do_seek), (seek_cb), (set_update_scale),
(start_seek), (stop_seek), (play_cb), (pause_cb), (stop_cb),
(message_received), (main):
Updated seek example for GOption. Some usability improvements.

19 years agogst/audioconvert/: Alloc temp storage somewhere else where we can do it more portable.
Wim Taymans [Mon, 10 Oct 2005 13:45:39 +0000 (13:45 +0000)]
gst/audioconvert/: Alloc temp storage somewhere else where we can do it more portable.

Original commit message from CVS:
* gst/audioconvert/audioconvert.h:
* gst/audioconvert/gstchannelmix.c: (gst_channel_mix_unset_matrix),
(gst_channel_mix_setup_matrix), (gst_channel_mix_mix):
Alloc temp storage somewhere else where we can do it more
portable.

19 years agogst/tcp/gsttcpserversrc.c: Don't block in accept while doing the state change, move...
Wim Taymans [Mon, 10 Oct 2005 12:29:22 +0000 (12:29 +0000)]
gst/tcp/gsttcpserversrc.c: Don't block in accept while doing the state change, move to poll and make cancellable.

Original commit message from CVS:
* gst/tcp/gsttcpserversrc.c: (gst_tcpserversrc_create),
(gst_tcpserversrc_start):
Don't block in accept while doing the state change, move
to poll and make cancellable.

19 years agogst-libs/gst/rtp/rtpbasedepayload.c: Set timestamp and add queue delay to timestamp
Philippe Kalaf [Sun, 9 Oct 2005 21:32:34 +0000 (21:32 +0000)]
gst-libs/gst/rtp/rtpbasedepayload.c: Set timestamp and add queue delay to timestamp

Original commit message from CVS:
2005-10-09  Philippe Khalaf <burger@speedy.org>

* gst-libs/gst/rtp/rtpbasedepayload.c:
Set timestamp and add queue delay to timestamp
* gst-libs/gst/rtp/rtpbuffer.h:
Set correct payload type for h263

19 years agogst/audiotestsrc/gstaudiotestsrc.*: fixed typo, added pink noise
Stefan Kost [Sun, 9 Oct 2005 20:47:31 +0000 (20:47 +0000)]
gst/audiotestsrc/gstaudiotestsrc.*: fixed typo, added pink noise

Original commit message from CVS:
* gst/audiotestsrc/gstaudiotestsrc.c:
(gst_audiostestsrc_wave_get_type), (gst_audiotestsrc_class_init),
(gst_audiotestsrc_init), (gst_audiotestsrc_create_sine),
(gst_audiotestsrc_create_square), (gst_audiotestsrc_create_saw),
(gst_audiotestsrc_create_triangle),
(gst_audiotestsrc_create_silence),
(gst_audiotestsrc_create_white_noise),
(gst_audiotestsrc_init_pink_noise),
(gst_audiotestsrc_generate_pink_noise_value),
(gst_audiotestsrc_create_pink_noise),
(gst_audiotestsrc_change_wave):
* gst/audiotestsrc/gstaudiotestsrc.h:
fixed typo, added pink noise

19 years agogst/typefind/gsttypefindfunctions.c: Add wavpack and spc typefind functions from...
Tim-Philipp Müller [Sun, 9 Oct 2005 19:16:15 +0000 (19:16 +0000)]
gst/typefind/gsttypefindfunctions.c: Add wavpack and spc typefind functions from 0.8 branch.

Original commit message from CVS:
* gst/typefind/gsttypefindfunctions.c: (wavpack_type_find),
(plugin_init):
Add wavpack and spc typefind functions from 0.8 branch.