platform/upstream/gst-plugins-base.git
19 years agogst-libs/gst/tag/: Remove obsolete vorbistag element and debug category.
Jan Schmidt [Sun, 20 Nov 2005 17:11:06 +0000 (17:11 +0000)]
gst-libs/gst/tag/: Remove obsolete vorbistag element and debug category.

Original commit message from CVS:
* gst-libs/gst/tag/Makefile.am:
* gst-libs/gst/tag/gstvorbistag.c:
(gst_tag_list_to_vorbiscomment_buffer):
Remove obsolete vorbistag element and debug category.

* gst/playback/gstplaybasebin.c: (check_queue):
Don't divide by 0 when queue-threshold is 0.

* sys/ximage/ximagesink.c: (gst_ximagesink_set_property):
Don't modify an existing pixel-aspect-ratio if we fail to read
a new one.

19 years agoext/vorbis/vorbisenc.c: GST_PAD_IS_USABLE is gone, use the return value of the push...
Wim Taymans [Sun, 20 Nov 2005 14:09:40 +0000 (14:09 +0000)]
ext/vorbis/vorbisenc.c: GST_PAD_IS_USABLE is gone, use the return value of the push or pad_alloc_buffer instead.

Original commit message from CVS:
* ext/vorbis/vorbisenc.c: (gst_vorbisenc_push_buffer),
(gst_vorbisenc_push_packet):
GST_PAD_IS_USABLE is gone, use the return value of
the push or pad_alloc_buffer instead.

19 years agosys/ximage/ximagesink.*: Refactoring of ximagesink.
Julien Moutte [Fri, 18 Nov 2005 17:58:12 +0000 (17:58 +0000)]
sys/ximage/ximagesink.*: Refactoring of ximagesink.

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

* sys/ximage/ximagesink.c: (gst_ximage_buffer_finalize),
(gst_ximagesink_check_xshm_calls), (gst_ximagesink_ximage_new),
(gst_ximagesink_ximage_destroy),
(gst_ximagesink_xwindow_draw_borders),
(gst_ximagesink_ximage_put),
(gst_ximagesink_xwindow_new),
(gst_ximagesink_xwindow_update_geometry),
(gst_ximagesink_handle_xevents), (gst_ximagesink_event_thread),
(gst_ximagesink_xcontext_get), (gst_ximagesink_xcontext_clear),
(gst_ximagesink_bufferpool_clear), (gst_ximagesink_getcaps),
(gst_ximagesink_setcaps), (gst_ximagesink_change_state),
(gst_ximagesink_show_frame), (gst_ximagesink_buffer_alloc),
(gst_ximagesink_navigation_send_event),
(gst_ximagesink_set_xwindow_id), (gst_ximagesink_expose),
(gst_ximagesink_set_property), (gst_ximagesink_get_property),
(gst_ximagesink_finalize), (gst_ximagesink_init),
(gst_ximagesink_class_init):
* sys/ximage/ximagesink.h: Refactoring of ximagesink.
This new version brings correct software scaling, non flickering
window while resizing, pixel aspect ratio handling, usage of
hardware buffer pools, out of data flow event thread for
navigation and handling of expose events even when being PAUSED,
a new property to keep video aspect ratio when resizing, etc...

19 years agogst/videoscale/gstvideoscale.c: Introduce back caps fixate with handling of PAR.
Julien Moutte [Fri, 18 Nov 2005 17:31:17 +0000 (17:31 +0000)]
gst/videoscale/gstvideoscale.c: Introduce back caps fixate with handling of PAR.

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

* gst/videoscale/gstvideoscale.c: (gst_videoscale_class_init),
(gst_videoscale_fixate_caps): Introduce back caps fixate with
handling of PAR.

19 years agogst/playback/gstdecodebin.c: Unsetting IS_SINK flag from the fakesink, so decodebin...
Edward Hervey [Fri, 18 Nov 2005 13:04:19 +0000 (13:04 +0000)]
gst/playback/gstdecodebin.c: Unsetting IS_SINK flag from the fakesink, so decodebin never behaves as a sink.

Original commit message from CVS:
* gst/playback/gstdecodebin.c: (gst_decode_bin_init):
Unsetting IS_SINK flag from the fakesink, so decodebin
never behaves as a sink.

19 years agogst-libs/gst/audio/gstbaseaudiosrc.c: Fix the audiosrc base class again, we did not...
Wim Taymans [Thu, 17 Nov 2005 14:40:12 +0000 (14:40 +0000)]
gst-libs/gst/audio/gstbaseaudiosrc.c: Fix the audiosrc base class again, we did not unflush.

Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosrc.c:
(gst_base_audio_src_change_state):
Fix the audiosrc base class again, we did not unflush.

19 years agoexamples/seeking/seek.c: Use VSINK everywhere, add a scaler to ogg/vorbis/theora...
Julien Moutte [Thu, 17 Nov 2005 12:36:36 +0000 (12:36 +0000)]
examples/seeking/seek.c: Use VSINK everywhere, add a scaler to ogg/vorbis/theora pipeline.

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

* examples/seeking/seek.c: (make_dv_pipeline),
(make_vorbis_theora_pipeline), (make_avi_pipeline),
(make_mpegnt_pipeline): Use VSINK everywhere, add a scaler
to ogg/vorbis/theora pipeline.

19 years agoext/ogg/gstoggmux.c: Fix EOS on multiple streams.
Wim Taymans [Thu, 17 Nov 2005 10:56:14 +0000 (10:56 +0000)]
ext/ogg/gstoggmux.c: Fix EOS on multiple streams.

Original commit message from CVS:
* ext/ogg/gstoggmux.c: (gst_ogg_mux_queue_pads),
(gst_ogg_mux_get_headers), (gst_ogg_mux_send_headers),
(gst_ogg_mux_collected), (gst_ogg_mux_change_state):
Fix EOS on multiple streams.
More debugging.

19 years agoext/ogg/gstoggdemux.c: Segment done must include stream time.
Wim Taymans [Wed, 16 Nov 2005 19:32:50 +0000 (19:32 +0000)]
ext/ogg/gstoggdemux.c: Segment done must include stream time.

Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_configure_segment),
(gst_ogg_demux_perform_seek):
Segment done must include stream time.

* ext/ogg/gstoggmux.c: (gst_ogg_mux_class_init),
(gst_ogg_mux_clear), (gst_ogg_mux_init), (gst_ogg_mux_finalize),
(gst_ogg_mux_change_state):
Fix ogg muxer again.

19 years agoext/ogg/gstogmparse.c: Fix compile again.
Wim Taymans [Wed, 16 Nov 2005 18:43:35 +0000 (18:43 +0000)]
ext/ogg/gstogmparse.c: Fix compile again.

Original commit message from CVS:
* ext/ogg/gstogmparse.c: (gst_ogm_audio_parse_init):
Fix compile again.

19 years agoFix a whole set of pad template leaks
Thomas Vander Stichele [Wed, 16 Nov 2005 18:21:46 +0000 (18:21 +0000)]
Fix a whole set of pad template leaks

Original commit message from CVS:
Fix a whole set of pad template leaks

19 years agoclean up configure some more
Thomas Vander Stichele [Wed, 16 Nov 2005 18:20:17 +0000 (18:20 +0000)]
clean up configure some more

Original commit message from CVS:
clean up configure some more

19 years agocheck/generic/states.c: fix the test so that it only checks for elements that are...
Thomas Vander Stichele [Wed, 16 Nov 2005 18:19:11 +0000 (18:19 +0000)]
check/generic/states.c: fix the test so that it only checks for elements that are part of this source module

Original commit message from CVS:
* check/generic/states.c: (GST_START_TEST):
fix the test so that it only checks for elements that are part of
this source module

19 years agoDon't leak collectpads from oggmux.
Michael Smith [Wed, 16 Nov 2005 18:09:15 +0000 (18:09 +0000)]
Don't leak collectpads from oggmux.

Original commit message from CVS:
Don't leak collectpads from oggmux.

19 years agogst/videorate/gstvideorate.c: Handle segment seeks
Edward Hervey [Wed, 16 Nov 2005 17:56:40 +0000 (17:56 +0000)]
gst/videorate/gstvideorate.c: Handle segment seeks

Original commit message from CVS:
* gst/videorate/gstvideorate.c: (gst_videorate_blank_data),
(gst_videorate_event), (gst_videorate_chain):
Handle segment seeks

19 years agogst-libs/gst/audio/gstbaseaudiosink.c: Set ringbuffer to non-flushing when going...
Wim Taymans [Wed, 16 Nov 2005 16:48:35 +0000 (16:48 +0000)]
gst-libs/gst/audio/gstbaseaudiosink.c: Set ringbuffer to non-flushing when going to PAUSED, set to flushing again whe...

Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_provide_clock),
(gst_base_audio_sink_change_state):
Set ringbuffer to non-flushing when going to PAUSED, set to
flushing again when going to READY.

* gst-libs/gst/audio/gstringbuffer.c: (gst_ring_buffer_init),
(gst_ring_buffer_stop):
Start in flushing mode by default.
Don't set flushing in the _stop method, let the app call
this explicitly.

19 years agogst-libs/gst/video/: Add helper function needed for video sinks.
Julien Moutte [Wed, 16 Nov 2005 15:59:21 +0000 (15:59 +0000)]
gst-libs/gst/video/: Add helper function needed for video sinks.

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

* gst-libs/gst/video/gstvideosink.c:
(gst_video_sink_center_rect):
* gst-libs/gst/video/videosink.h: Add helper function needed
for video sinks.

19 years agogst/videoscale/gstvideoscale.c: Don't leak reference to pad parent.
Tim-Philipp Müller [Wed, 16 Nov 2005 12:23:02 +0000 (12:23 +0000)]
gst/videoscale/gstvideoscale.c: Don't leak reference to pad parent.

Original commit message from CVS:
* gst/videoscale/gstvideoscale.c:
(gst_videoscale_handle_src_event):
Don't leak reference to pad parent.

19 years agogst-libs/gst/audio/gstringbuffer.c: Set ringbuffer to flushing when stopping so that...
Wim Taymans [Wed, 16 Nov 2005 12:17:06 +0000 (12:17 +0000)]
gst-libs/gst/audio/gstringbuffer.c: Set ringbuffer to flushing when stopping so that we don't block on wait_segment a...

Original commit message from CVS:
* gst-libs/gst/audio/gstringbuffer.c: (gst_ring_buffer_stop):
Set ringbuffer to flushing when stopping so that we don't
block on wait_segment anymore and livelock.

19 years agoexamples/seeking/seek.c: Added looping checkbox.
Wim Taymans [Wed, 16 Nov 2005 10:54:45 +0000 (10:54 +0000)]
examples/seeking/seek.c: Added looping checkbox.

Original commit message from CVS:
* examples/seeking/seek.c: (send_event), (do_seek),
(loop_toggle_cb), (segment_done), (main):
Added looping checkbox.

19 years agorevert unrefs, they don't pass make check
Thomas Vander Stichele [Wed, 16 Nov 2005 00:11:36 +0000 (00:11 +0000)]
revert unrefs, they don't pass make check

Original commit message from CVS:
revert unrefs, they don't pass make check

19 years agofix caps leak
Johan Dahlin [Tue, 15 Nov 2005 19:56:51 +0000 (19:56 +0000)]
fix caps leak

Original commit message from CVS:
fix caps leak

19 years agoYes, I know I should use gst_object_unref
Johan Dahlin [Tue, 15 Nov 2005 19:38:14 +0000 (19:38 +0000)]
Yes, I know I should use gst_object_unref

Original commit message from CVS:
Yes, I know I should use gst_object_unref

19 years agoPlug leaks.
Johan Dahlin [Tue, 15 Nov 2005 19:34:39 +0000 (19:34 +0000)]
Plug leaks.

Original commit message from CVS:
Plug leaks.

19 years agosys/xvimage/xvimagesink.c: Make state change function thread safe.
Tim-Philipp Müller [Tue, 15 Nov 2005 19:01:43 +0000 (19:01 +0000)]
sys/xvimage/xvimagesink.c: Make state change function thread safe.

Original commit message from CVS:
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_change_state):
Make state change function thread safe.

19 years agoext/ogg/gstoggdemux.c: Implement GstElement::send_event, so we can send seek events...
Edward Hervey [Tue, 15 Nov 2005 18:11:17 +0000 (18:11 +0000)]
ext/ogg/gstoggdemux.c: Implement GstElement::send_event, so we can send seek events in GST_STATE_READY

Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_receive_event),
(gst_ogg_demux_class_init):
Implement GstElement::send_event, so we can send seek events
in GST_STATE_READY

19 years agosys/xvimage/xvimagesink.c: Discovered how to take away flickering while resizing...
Julien Moutte [Mon, 14 Nov 2005 22:01:22 +0000 (22:01 +0000)]
sys/xvimage/xvimagesink.c: Discovered how to take away flickering while resizing the window. Please don't put that in...

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

* sys/xvimage/xvimagesink.c: (gst_xvimagesink_xwindow_new):
Discovered how to take away flickering while resizing the
window. Please don't put that in ximagesink, refactoring in
progress.

19 years agogst/tcp/gstmultifdsink.c: Don't leak GDP headers when using GDP mode (i.e. tcpservers...
Michael Smith [Mon, 14 Nov 2005 18:47:54 +0000 (18:47 +0000)]
gst/tcp/gstmultifdsink.c: Don't leak GDP headers when using GDP mode (i.e. tcpserversink).

Original commit message from CVS:
* gst/tcp/gstmultifdsink.c: (gst_multifdsink_client_queue_data),
(gst_multifdsink_render):
Don't leak GDP headers when using GDP mode (i.e. tcpserversink).

19 years agogst/playback/gstplaybin.c: Use autoaudiosink, it tends to be more widely available...
Tim-Philipp Müller [Mon, 14 Nov 2005 18:26:21 +0000 (18:26 +0000)]
gst/playback/gstplaybin.c: Use autoaudiosink, it tends to be more widely available than autoaudiiosink.

Original commit message from CVS:
* gst/playback/gstplaybin.c: (gen_audio_element):
Use autoaudiosink, it tends to be more widely available than
autoaudiiosink.

19 years agogst/playback/gstplaybin.c (gen_audio_element): Use autoaudiosink as well if it is...
Andy Wingo [Mon, 14 Nov 2005 17:44:40 +0000 (17:44 +0000)]
gst/playback/gstplaybin.c (gen_audio_element): Use autoaudiosink as well if it is available. Fixes #316442.

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

* gst/playback/gstplaybin.c (gen_audio_element): Use autoaudiosink
as well if it is available. Fixes #316442.

19 years agoext/: Fix a small memory leak in vorbisenc.
Michael Smith [Mon, 14 Nov 2005 16:11:53 +0000 (16:11 +0000)]
ext/: Fix a small memory leak in vorbisenc.

Original commit message from CVS:
* ext/ogg/gstoggmux.c: (gst_ogg_mux_clear), (gst_ogg_mux_init),
(gst_ogg_mux_sinkconnect), (gst_ogg_mux_request_new_pad),
(gst_ogg_mux_push_buffer), (gst_ogg_mux_dequeue_page),
(gst_ogg_mux_pad_queue_page), (gst_ogg_mux_queue_pads),
(gst_ogg_mux_set_header_on_caps), (gst_ogg_mux_collected),
(gst_ogg_mux_clear_collectpads), (gst_ogg_mux_change_state):
* ext/vorbis/vorbisenc.c: (gst_vorbisenc_buffer_from_packet),
(gst_vorbisenc_change_state):
Fix a small memory leak in vorbisenc.
Fix large memory leaks in oggmux, also fix lots of state change
bugs in oggmux.

19 years agogst/videotestsrc/gstvideotestsrc.c: move fixation to a fixate function remove negotia...
Thomas Vander Stichele [Mon, 14 Nov 2005 12:15:01 +0000 (12:15 +0000)]
gst/videotestsrc/gstvideotestsrc.c: move fixation to a fixate function remove negotiate function, basesrc's is good e...

Original commit message from CVS:
* gst/videotestsrc/gstvideotestsrc.c:
(gst_videotestsrc_class_init), (gst_videotestsrc_init),
(gst_videotestsrc_src_fixate):
move fixation to a fixate function
remove negotiate function, basesrc's is good enough
fixes a bug for check when using the element alone

19 years agorework configure.ac; make asterisk rtp stuff compile on mingw
Thomas Vander Stichele [Mon, 14 Nov 2005 02:13:27 +0000 (02:13 +0000)]
rework configure.ac; make asterisk rtp stuff compile on mingw

Original commit message from CVS:
rework configure.ac; make asterisk rtp stuff compile on mingw

19 years agoexamples/seeking/seek.c: Added checkboxes for adding/removing the accurate and key_un...
Edward Hervey [Sun, 13 Nov 2005 13:53:26 +0000 (13:53 +0000)]
examples/seeking/seek.c: Added checkboxes for adding/removing the accurate and key_unit seek flags.

Original commit message from CVS:
* examples/seeking/seek.c: (do_seek), (accurate_toggle_cb),
(key_toggle_cb), (main):
Added checkboxes for adding/removing the accurate and key_unit seek
flags.

19 years agoback to head
Thomas Vander Stichele [Fri, 11 Nov 2005 19:32:17 +0000 (19:32 +0000)]
back to head

Original commit message from CVS:
back to head

19 years agoreleasing 0.9.5 RELEASE-0_9_5
Thomas Vander Stichele [Fri, 11 Nov 2005 19:31:04 +0000 (19:31 +0000)]
releasing 0.9.5

Original commit message from CVS:
releasing 0.9.5

19 years agoexamples/seeking/seek.c: Added parse-launch syntax seeking mode for the seeking example.
Edward Hervey [Fri, 11 Nov 2005 19:16:35 +0000 (19:16 +0000)]
examples/seeking/seek.c: Added parse-launch syntax seeking mode for the seeking example.

Original commit message from CVS:
* examples/seeking/seek.c: (make_parselaunch_pipeline):
Added parse-launch syntax seeking mode for the seeking example.
This should help stress-test even more cases.
Ex usage : ./seek 15 "filesrc location=uranus.avi ! decodebin ! xvimagesink"

19 years agosys/xvimage/xvimagesink.c: Check whether peer pad exists before sending navigation...
Tim-Philipp Müller [Fri, 11 Nov 2005 17:41:04 +0000 (17:41 +0000)]
sys/xvimage/xvimagesink.c: Check whether peer pad exists before sending navigation events to it.

Original commit message from CVS:
* sys/xvimage/xvimagesink.c:
(gst_xvimagesink_navigation_send_event):
Check whether peer pad exists before sending navigation events
to it.

19 years agoUpdate .po files
Thomas Vander Stichele [Fri, 11 Nov 2005 17:40:14 +0000 (17:40 +0000)]
Update .po files

Original commit message from CVS:
Update .po files

19 years agoext/vorbis/vorbisenc.*: Set duration on encoded buffers. This allows oggmux's max_pag...
Michael Smith [Fri, 11 Nov 2005 16:35:39 +0000 (16:35 +0000)]
ext/vorbis/vorbisenc.*: Set duration on encoded buffers. This allows oggmux's max_page_delay parameter to actually work.

Original commit message from CVS:
* ext/vorbis/vorbisenc.c: (gst_vorbisenc_setup),
(gst_vorbisenc_buffer_from_packet):
* ext/vorbis/vorbisenc.h:
Set duration on encoded buffers. This allows oggmux's
max_page_delay parameter to actually work.

19 years agogst/ffmpegcolorspace/: Make palettes work again (see #132341). Use our own macros...
Tim-Philipp Müller [Fri, 11 Nov 2005 15:55:38 +0000 (15:55 +0000)]
gst/ffmpegcolorspace/: Make palettes work again (see #132341). Use our own macros for rounding up.

Original commit message from CVS:
* gst/ffmpegcolorspace/gstffmpegcodecmap.c:
(gst_ffmpeg_get_palette), (gst_ffmpeg_set_palette),
(gst_ffmpegcsp_avpicture_fill):
* gst/ffmpegcolorspace/gstffmpegcolorspace.c:
(gst_ffmpegcsp_get_unit_size), (gst_ffmpegcsp_transform):
Make palettes work again (see #132341). Use our own macros
for rounding up.

19 years agofoo
Andy Wingo [Thu, 10 Nov 2005 19:06:21 +0000 (19:06 +0000)]
foo

Original commit message from CVS:
foo

19 years agogst/playback/gstplaybasebin.c (prepare_output): Fix format string doober.
Andy Wingo [Thu, 10 Nov 2005 19:05:38 +0000 (19:05 +0000)]
gst/playback/gstplaybasebin.c (prepare_output): Fix format string doober.

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

* gst/playback/gstplaybasebin.c (prepare_output): Fix format
string doober.

19 years agogst/ffmpegcolorspace/gstffmpegcolorspace.c: Prefer passthrough in transform_caps
Thomas Vander Stichele [Thu, 10 Nov 2005 18:57:17 +0000 (18:57 +0000)]
gst/ffmpegcolorspace/gstffmpegcolorspace.c: Prefer passthrough in transform_caps

Original commit message from CVS:
* gst/ffmpegcolorspace/gstffmpegcolorspace.c:
(gst_ffmpegcsp_transform_caps):
Prefer passthrough in transform_caps

19 years agoext/alsa/gstalsasink.c: check for ALSA errors properly, instead of relying on ALSA...
Thomas Vander Stichele [Thu, 10 Nov 2005 18:47:20 +0000 (18:47 +0000)]
ext/alsa/gstalsasink.c: check for ALSA errors properly, instead of relying on ALSA's error strings to serve to the user.

Original commit message from CVS:
* ext/alsa/gstalsasink.c: (gst_alsasink_open):
check for ALSA errors properly, instead of relying on ALSA's
error strings to serve to the user.

19 years agoext/ogg/gstoggdemux.c: Modernise the seek code.
Wim Taymans [Thu, 10 Nov 2005 18:01:28 +0000 (18:01 +0000)]
ext/ogg/gstoggdemux.c: Modernise the seek code.

Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_event), (gst_ogg_demux_init),
(gst_ogg_demux_configure_segment), (gst_ogg_demux_perform_seek),
(gst_ogg_demux_loop), (gst_ogg_demux_change_state):
Modernise the seek code.

19 years agogst/playback/gstplaybasebin.c: Unlock GROUP_LOCK in failure cases, so that we don...
Michael Smith [Thu, 10 Nov 2005 17:29:48 +0000 (17:29 +0000)]
gst/playback/gstplaybasebin.c: Unlock GROUP_LOCK in failure cases, so that we don't deadlock when trying to go to NUL...

Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (group_commit), (new_decoded_pad),
(setup_substreams), (set_active_source):
Unlock GROUP_LOCK in failure cases, so that we don't deadlock when
trying to go to NULL if we failed to read a file.

19 years agogst/: The base class can now sync for us.
Wim Taymans [Thu, 10 Nov 2005 14:58:41 +0000 (14:58 +0000)]
gst/: The base class can now sync for us.

Original commit message from CVS:
* gst/audiotestsrc/gstaudiotestsrc.c:
(gst_audiotestsrc_class_init), (gst_audiotestsrc_get_times),
(gst_audiotestsrc_create):
* gst/sine/gstsinesrc.c: (gst_sinesrc_class_init),
(gst_sinesrc_get_times), (gst_sinesrc_create):
* gst/videotestsrc/gstvideotestsrc.c:
(gst_videotestsrc_class_init), (gst_videotestsrc_get_times),
(gst_videotestsrc_create):
The base class can now sync for us.

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.