platform/upstream/gst-plugins-base.git
18 years agotests/check/elements/multifdsink.c: add two more tests, one doing streamheader
Thomas Vander Stichele [Wed, 10 May 2006 18:16:23 +0000 (18:16 +0000)]
tests/check/elements/multifdsink.c: add two more tests, one doing streamheader

Original commit message from CVS:
* tests/check/elements/multifdsink.c: (wait_bytes_served),
(GST_START_TEST), (fail_unless_read), (multifdsink_suite):
add two more tests, one doing streamheader

18 years agogst/tcp/gstmultifdsink.c: clean up the bufqueue when shutting down
Thomas Vander Stichele [Wed, 10 May 2006 16:34:06 +0000 (16:34 +0000)]
gst/tcp/gstmultifdsink.c: clean up the bufqueue when shutting down

Original commit message from CVS:

* gst/tcp/gstmultifdsink.c: (gst_multi_fd_sink_stop):
clean up the bufqueue when shutting down
* tests/check/Makefile.am:
* tests/check/elements/multifdsink.c: (setup_multifdsink),
(cleanup_multifdsink), (GST_START_TEST), (multifdsink_suite),
(main):
add a test for the leak that was just fixed

18 years agoDEBUG_FUNCPTR'ing
Thomas Vander Stichele [Wed, 10 May 2006 15:16:33 +0000 (15:16 +0000)]
DEBUG_FUNCPTR'ing

Original commit message from CVS:
DEBUG_FUNCPTR'ing

18 years agowhitespace fixes
Thomas Vander Stichele [Wed, 10 May 2006 15:14:30 +0000 (15:14 +0000)]
whitespace fixes

Original commit message from CVS:
whitespace fixes

18 years agogst/adder/gstadder.*: Updated some docs. Added comments and FIXMEs all over the place.
Wim Taymans [Wed, 10 May 2006 11:54:36 +0000 (11:54 +0000)]
gst/adder/gstadder.*: Updated some docs. Added comments and FIXMEs all over the place.

Original commit message from CVS:
* gst/adder/gstadder.c: (gst_adder_setcaps),
(gst_adder_query_duration), (gst_adder_query), (forward_event),
(gst_adder_src_event), (gst_adder_sink_event),
(gst_adder_class_init), (gst_adder_finalize),
(gst_adder_request_new_pad), (gst_adder_collected):
* gst/adder/gstadder.h:
Updated some docs. Added comments and FIXMEs all over the place.
Improve debugging info.
Fix leak on finalize by not calling the parent.
Implement duration query.
Make event forwarding threadsafe.
Correctly send NEWSEGMENT at start and after flush.
Handle EOS correctly.
Post error when not negotiated.
* tests/check/elements/adder.c: (GST_START_TEST):
Added FIXME in the test.

18 years agoConst-ify GEnumValue and GFlagsValue arrays. Use
Tim-Philipp Müller [Tue, 9 May 2006 19:24:46 +0000 (19:24 +0000)]
Const-ify GEnumValue and GFlagsValue arrays. Use

Original commit message from CVS:
* ext/pango/gsttextoverlay.c: (gst_text_overlay_valign_get_type),
(gst_text_overlay_halign_get_type),
(gst_text_overlay_wrap_mode_get_type):
* ext/theora/theoradec.c: (theora_handle_type_packet),
(theora_handle_data_packet):
* ext/theora/theoraenc.c: (gst_border_mode_get_type),
(theora_enc_sink_setcaps), (theora_enc_chain):
* gst-libs/gst/cdda/gstcddabasesrc.c:
(gst_cdda_base_src_mode_get_type):
* gst/audiotestsrc/gstaudiotestsrc.c:
(gst_audiostestsrc_wave_get_type):
* gst/playback/gststreaminfo.c: (gst_stream_type_get_type):
* gst/tcp/gstfdset.c: (gst_fdset_mode_get_type):
* gst/tcp/gstmultifdsink.c: (gst_recover_policy_get_type),
(gst_sync_method_get_type), (gst_unit_type_get_type),
(gst_client_status_get_type):
* gst/videoscale/gstvideoscale.c:
(gst_video_scale_method_get_type):
* gst/videotestsrc/gstvideotestsrc.c:
(gst_video_test_src_pattern_get_type):
* gst/videotestsrc/videotestsrc.c: (paint_setup_I420),
(paint_setup_YV12), (paint_setup_YUY2), (paint_setup_UYVY),
(paint_setup_YVYU), (paint_setup_IYU2), (paint_setup_Y41B),
(paint_setup_Y42B), (paint_setup_Y800), (paint_setup_YVU9),
(paint_setup_YUV9), (paint_setup_RGB888), (paint_setup_BGR888),
(paint_setup_RGB565), (paint_setup_xRGB1555):
Const-ify GEnumValue and GFlagsValue arrays. Use
GST_ROUND_UP_* macros instead of home-made ones.

18 years agoconfigure.ac: Require core CVS for the new newsegment stuff.
Tim-Philipp Müller [Tue, 9 May 2006 17:40:41 +0000 (17:40 +0000)]
configure.ac: Require core CVS for the new newsegment stuff.

Original commit message from CVS:
* configure.ac:
Require core CVS for the new newsegment stuff.

18 years agogst/tcp/gstmultifdsink.c: Register nick for enum value (#341160).
Sjoerd Simons [Tue, 9 May 2006 17:30:48 +0000 (17:30 +0000)]
gst/tcp/gstmultifdsink.c: Register nick for enum value (#341160).

Original commit message from CVS:
Patch by: Sjoerd Simons  <sjoerd at luon net>
* gst/tcp/gstmultifdsink.c: (gst_client_status_get_type):
Register nick for enum value (#341160).

18 years agogst/typefind/gsttypefindfunctions.c: backout typefind patch #340375
Stefan Kost [Tue, 9 May 2006 16:46:23 +0000 (16:46 +0000)]
gst/typefind/gsttypefindfunctions.c: backout typefind patch #340375

Original commit message from CVS:
* gst/typefind/gsttypefindfunctions.c: (m4a_type_find),
(plugin_init):
backout typefind patch #340375
* tests/check/elements/adder.c: (message_received),
(GST_START_TEST), (adder_suite):
redo, signal-handling of test

18 years agogst/adder/gstadder.*: Remove bogus segment merging and forwarding, we don't care...
Wim Taymans [Tue, 9 May 2006 16:14:49 +0000 (16:14 +0000)]
gst/adder/gstadder.*: Remove bogus segment merging and forwarding, we don't care about timestamps anyway and we just ...

Original commit message from CVS:
* gst/adder/gstadder.c: (gst_adder_request_new_pad),
(gst_adder_collected):
* gst/adder/gstadder.h:
Remove bogus segment merging and forwarding, we don't
care about timestamps anyway and we just produce a
continuous stream.
Also create a nice NEWSEGMENT event when we start.
Use _scale_int some more.

18 years agotests/icles/stress-xoverlay.c: Fix if core was built without parsing support.
Edward Hervey [Tue, 9 May 2006 11:59:13 +0000 (11:59 +0000)]
tests/icles/stress-xoverlay.c: Fix if core was built without parsing support.

Original commit message from CVS:
* tests/icles/stress-xoverlay.c:
Fix if core was built without parsing support.

18 years agogst-libs/gst/riff/riff-media.c: Add SEDG (Samsung MPEG-4) fourcc.
Tim-Philipp Müller [Tue, 9 May 2006 11:37:22 +0000 (11:37 +0000)]
gst-libs/gst/riff/riff-media.c: Add SEDG (Samsung MPEG-4) fourcc.

Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_video_caps):
Add SEDG (Samsung MPEG-4) fourcc.

18 years agotests/examples/volume/volume.c: Fox if core was built without parsing support.
Edward Hervey [Tue, 9 May 2006 11:31:47 +0000 (11:31 +0000)]
tests/examples/volume/volume.c: Fox if core was built without parsing support.

Original commit message from CVS:
* tests/examples/volume/volume.c:
Fox if core was built without parsing support.
* tests/examples/seek/seek.c:
Disable the parse_launch example if core was built without parsing
support.

18 years agotests/examples/seek/seek.c: Disable the parse_launch example if core was built withou...
Edward Hervey [Tue, 9 May 2006 11:21:24 +0000 (11:21 +0000)]
tests/examples/seek/seek.c: Disable the parse_launch example if core was built without parsing support.

Original commit message from CVS:
* tests/examples/seek/seek.c:
Disable the parse_launch example if core was built without parsing
support.

18 years agodoc reparagraphing and DEBUG_FUNCPTRing
Thomas Vander Stichele [Mon, 8 May 2006 15:51:15 +0000 (15:51 +0000)]
doc reparagraphing and DEBUG_FUNCPTRing

Original commit message from CVS:
doc reparagraphing and DEBUG_FUNCPTRing

18 years agoautogen.sh: libtoolize on Darwin/MacOSX is called glibtoolize
Edward Hervey [Mon, 8 May 2006 11:51:43 +0000 (11:51 +0000)]
autogen.sh: libtoolize on Darwin/MacOSX is called glibtoolize

Original commit message from CVS:
* autogen.sh: (CONFIGURE_DEF_OPT):
libtoolize on Darwin/MacOSX is called glibtoolize

18 years agotests/check/: Disable the adder test, until the build-slaves posses the kindness...
Stefan Kost [Sun, 7 May 2006 17:39:04 +0000 (17:39 +0000)]
tests/check/: Disable the adder test, until the build-slaves posses the kindness to either like it or to give valid r...

Original commit message from CVS:
* tests/check/Makefile.am:
* tests/check/elements/adder.c: (event_loop), (GST_START_TEST):
Disable the adder test, until the build-slaves posses the kindness to
either like it or to give valid reason for not doing so

18 years agotests/check/elements/adder.c: Shuffle NULL state change around and raise timeout...
Stefan Kost [Sun, 7 May 2006 17:25:56 +0000 (17:25 +0000)]
tests/check/elements/adder.c: Shuffle NULL state change around and raise timeout more

Original commit message from CVS:
* tests/check/elements/adder.c: (event_loop), (GST_START_TEST),
(adder_suite):
Shuffle NULL state change around and raise timeout more

18 years agogst/typefind/gsttypefindfunctions.c: Add typefind to distinguish between "audio/x...
Stefan Kost [Sun, 7 May 2006 17:07:03 +0000 (17:07 +0000)]
gst/typefind/gsttypefindfunctions.c: Add typefind to distinguish between "audio/x-m4a" and new type "video/mp4". Fixe...

Original commit message from CVS:
* gst/typefind/gsttypefindfunctions.c: (mp4_find_box),
(mp4_type_find), (plugin_init):
Add typefind to distinguish between "audio/x-m4a" and new type
"video/mp4". Fixes #340375
* tests/check/elements/adder.c: (adder_suite):
Raise timeout to make buildbot happy

18 years agoAdd sink-event handling to adder. It tries to merge incomming newsegment-events....
Stefan Kost [Sun, 7 May 2006 16:39:36 +0000 (16:39 +0000)]
Add sink-event handling to adder. It tries to merge incomming newsegment-events. Added test to check if segment_done ...

Original commit message from CVS:
* gst/adder/gstadder.c: (gst_adder_sink_event),
(gst_adder_request_new_pad), (gst_adder_change_state):
* gst/adder/gstadder.h:
* tests/check/Makefile.am:
* tests/check/elements/adder.c: (event_loop), (GST_START_TEST),
(adder_suite), (main):
Add sink-event handling to adder. It tries to merge incomming
newsegment-events. Added test to check if segment_done is comming
through.

18 years agoext/theora/theoraparse.c (gst_theora_parse_init) ext/vorbis/vorbisparse.c (gst_vorbis...
Andy Wingo [Fri, 5 May 2006 16:34:15 +0000 (16:34 +0000)]
ext/theora/theoraparse.c (gst_theora_parse_init) ext/vorbis/vorbisparse.c (gst_vorbis_parse_init)

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

* ext/theora/theoraparse.c (gst_theora_parse_init)
(theora_parse_src_convert, theora_parse_src_query):
* ext/vorbis/vorbisparse.c (gst_vorbis_parse_init)
(vorbis_parse_convert, vorbis_parse_src_query): Add convert and
query functions on the source pads of the theora and vorbis parse
elements. Fixes position querying when doing a remux.

18 years agoext/theora/theoraparse.c: Fix flushing.
Michael Smith [Fri, 5 May 2006 13:46:37 +0000 (13:46 +0000)]
ext/theora/theoraparse.c: Fix flushing.

Original commit message from CVS:
* ext/theora/theoraparse.c: (parse_granulepos),
(theora_parse_drain_queue_prematurely),
(theora_parse_queue_buffer), (theora_parse_sink_event):
Fix flushing.
Fix invalid granulepos outputs when starting with a non-keyframe.

18 years agogst/typefind/gsttypefindfunctions.c: Rearrange MPEG system stream detection, fixing...
Jan Schmidt [Fri, 5 May 2006 12:37:35 +0000 (12:37 +0000)]
gst/typefind/gsttypefindfunctions.c: Rearrange MPEG system stream detection, fixing some memleaks in the process.

Original commit message from CVS:
* gst/typefind/gsttypefindfunctions.c: (mpeg2_sys_type_find),
(mpeg1_sys_type_find), (ogganx_type_find), (sw_data_destroy):
Rearrange MPEG system stream detection, fixing some memleaks in the
process.
Constify the data for STARTS_WITH and RIFF helper handlers. Make sure
they clean up their data correctly.
Remove unused ogganx caps and move the 'is_annodex' check to inside
the 'is_ogg' if statement.

18 years agogst/playback/gstdecodebin.c: Properly remove ghostpads. Fixes #340392
Wim Taymans [Fri, 5 May 2006 11:33:37 +0000 (11:33 +0000)]
gst/playback/gstdecodebin.c: Properly remove ghostpads. Fixes #340392

Original commit message from CVS:
* gst/playback/gstdecodebin.c: (cleanup_decodebin):
Properly remove ghostpads. Fixes #340392

18 years agogst/typefind/gsttypefindfunctions.c:
David Schleef [Thu, 4 May 2006 18:43:58 +0000 (18:43 +0000)]
gst/typefind/gsttypefindfunctions.c:

Original commit message from CVS:
* gst/typefind/gsttypefindfunctions.c:

18 years agogst/typefind/gsttypefindfunctions.c: When typefinding an MP3 in push-based mode,...
Jan Schmidt [Wed, 3 May 2006 16:32:19 +0000 (16:32 +0000)]
gst/typefind/gsttypefindfunctions.c: When typefinding an MP3 in push-based mode, don't penalise the probability down ...

Original commit message from CVS:
* gst/typefind/gsttypefindfunctions.c: (mp3_type_find_at_offset),
(mpeg_ts_probe_headers), (mpeg_ts_type_find):
When typefinding an MP3 in push-based mode, don't penalise the
probability down to 74% when we found 5 valid frames just because we
can't peek the end of the file.
Make the probability for detecting MPEG Transport Streams based on the
number of sequential headers we successfully detected.

18 years agoext/vorbis/vorbisdec.c: Still produce an error when we receive an empty packet.
Wim Taymans [Wed, 3 May 2006 15:52:46 +0000 (15:52 +0000)]
ext/vorbis/vorbisdec.c: Still produce an error when we receive an empty packet.

Original commit message from CVS:
* ext/vorbis/vorbisdec.c: (vorbis_dec_sink_event),
(vorbis_dec_push), (vorbis_dec_chain):
Still produce an error when we receive an empty packet.

18 years agoext/ogg/gstoggdemux.c: Mark buffers with DISCONT after seek and after activating...
Wim Taymans [Wed, 3 May 2006 15:34:48 +0000 (15:34 +0000)]
ext/ogg/gstoggdemux.c: Mark buffers with DISCONT after seek and after activating new chains.

Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_chain_peer),
(gst_ogg_chain_mark_discont), (gst_ogg_chain_new_stream),
(gst_ogg_demux_activate_chain), (gst_ogg_demux_perform_seek):
Mark buffers with DISCONT after seek and after activating new
chains.
* ext/theora/gsttheoradec.h:
* ext/theora/theoradec.c: (gst_theora_dec_reset),
(theora_get_query_types), (theora_dec_sink_event),
(theora_dec_push), (theora_handle_data_packet), (theora_dec_chain),
(theora_dec_change_state):
Fix frame counter.
Detect and mark DISCONT buffers.
* ext/vorbis/vorbisdec.c: (vorbis_dec_src_query),
(vorbis_dec_sink_event), (vorbis_dec_push), (vorbis_dec_chain),
(vorbis_dec_change_state):
* ext/vorbis/vorbisdec.h:
Use GstSegment.
Detect and mark DISCONT buffers.
Don't crash on 0 sized buffers.

18 years agogst/volume/gstvolume.c: Increase "volume" property to 10.0. Fixes #340369.
Wim Taymans [Wed, 3 May 2006 08:58:13 +0000 (08:58 +0000)]
gst/volume/gstvolume.c: Increase "volume" property to 10.0. Fixes #340369.

Original commit message from CVS:
* gst/volume/gstvolume.c: (volume_funcfind), (volume_set_caps),
(volume_transform_ip):
Increase "volume" property to 10.0. Fixes #340369.
Set the process function to NULL when capsnego fails so that
we properly error out.

18 years agogst/playback/: free cpas using gst_caps_unref, don't leak caps-strings
Stefan Kost [Tue, 2 May 2006 18:15:25 +0000 (18:15 +0000)]
gst/playback/: free cpas using gst_caps_unref, don't leak caps-strings

Original commit message from CVS:
* gst/playback/gstplaybin.c: (add_sink):
* gst/playback/test.c: (main):
* gst/playback/test5.c: (dump_element_stats):
* gst/playback/test6.c: (main):
free cpas using gst_caps_unref, don't leak caps-strings

18 years agosome RTP debug
Thomas Vander Stichele [Tue, 2 May 2006 06:33:54 +0000 (06:33 +0000)]
some RTP debug

Original commit message from CVS:
some RTP debug

18 years agogst/typefind/gsttypefindfunctions.c: Refine musepack typefinding a bit. Return MAXIMU...
Tim-Philipp Müller [Mon, 1 May 2006 19:08:40 +0000 (19:08 +0000)]
gst/typefind/gsttypefindfunctions.c: Refine musepack typefinding a bit. Return MAXIMUM probability when we detect str...

Original commit message from CVS:
* gst/typefind/gsttypefindfunctions.c: (musepack_type_find),
(plugin_init):
Refine musepack typefinding a bit. Return MAXIMUM
probability when we detect stream version 7 to make
sure the mpeg audio typefinder doesn't trump us.

18 years agogst-libs/gst/riff/riff-media.c: Protect against unexpected NULL strf_data buffer.
Tim-Philipp Müller [Sat, 29 Apr 2006 16:25:58 +0000 (16:25 +0000)]
gst-libs/gst/riff/riff-media.c: Protect against unexpected NULL strf_data buffer.

Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_audio_caps):
Protect against unexpected NULL strf_data buffer.

18 years agotests/check/elements/audioconvert.c: interpret the out[] buffer in the order the...
Thomas Vander Stichele [Sat, 29 Apr 2006 13:09:52 +0000 (13:09 +0000)]
tests/check/elements/audioconvert.c: interpret the out[] buffer in the order the bytes are actually put in, which is ...

Original commit message from CVS:

* tests/check/elements/audioconvert.c: (verify_convert),
(GST_START_TEST):
interpret the out[] buffer in the order the bytes are actually
put in, which is LITTLE_ENDIAN, not BYTE_ORDER.
Other tests should use BYTE_ORDER since the array is filled in
with actual values

18 years agodump expected data when audioconvert test fails
Thomas Vander Stichele [Sat, 29 Apr 2006 12:10:52 +0000 (12:10 +0000)]
dump expected data when audioconvert test fails

Original commit message from CVS:
dump expected data when audioconvert test fails

18 years agotests/check/elements/audioconvert.c: when a test fails, give an indication of which...
Thomas Vander Stichele [Sat, 29 Apr 2006 11:55:09 +0000 (11:55 +0000)]
tests/check/elements/audioconvert.c: when a test fails, give an indication of which it is

Original commit message from CVS:

* tests/check/elements/audioconvert.c: (verify_convert),
(GST_START_TEST):
when a test fails, give an indication of which it is

18 years agoadd another include
Thomas Vander Stichele [Sat, 29 Apr 2006 09:48:16 +0000 (09:48 +0000)]
add another include

Original commit message from CVS:
add another include

18 years agoatoi() needs stdlib.h
Thomas Vander Stichele [Sat, 29 Apr 2006 01:24:31 +0000 (01:24 +0000)]
atoi() needs stdlib.h

Original commit message from CVS:
atoi() needs stdlib.h

18 years agoexit needs stdlib.h
Thomas Vander Stichele [Sat, 29 Apr 2006 01:18:05 +0000 (01:18 +0000)]
exit needs stdlib.h

Original commit message from CVS:
exit needs stdlib.h

18 years agogst-libs/gst/cdda/gstcddabasesrc.c: compile fix; strtol() needs <stdlib.h>
Thomas Vander Stichele [Sat, 29 Apr 2006 01:10:34 +0000 (01:10 +0000)]
gst-libs/gst/cdda/gstcddabasesrc.c: compile fix; strtol() needs <stdlib.h>

Original commit message from CVS:

* gst-libs/gst/cdda/gstcddabasesrc.c:
compile fix; strtol() needs <stdlib.h>

18 years agouse common upload.mak
Thomas Vander Stichele [Sat, 29 Apr 2006 01:04:51 +0000 (01:04 +0000)]
use common upload.mak

Original commit message from CVS:
use common upload.mak

18 years agomake GstElementDetails const
Stefan Kost [Fri, 28 Apr 2006 19:46:37 +0000 (19:46 +0000)]
make GstElementDetails const

Original commit message from CVS:
* ext/alsa/gstalsamixerelement.c:
* ext/alsa/gstalsasrc.c:
* ext/cdparanoia/gstcdparanoiasrc.c:
* ext/gnomevfs/gstgnomevfssink.c:
* ext/gnomevfs/gstgnomevfssrc.c:
* ext/ogg/gstoggdemux.c:
* ext/ogg/gstoggmux.c:
* ext/ogg/gstoggparse.c:
* ext/ogg/gstogmparse.c:
* ext/pango/gstclockoverlay.c:
* ext/pango/gsttextoverlay.c:
* ext/pango/gsttextrender.c:
* ext/pango/gsttimeoverlay.c:
* ext/theora/theoradec.c:
* ext/theora/theoraenc.c:
* ext/vorbis/vorbisdec.c:
* ext/vorbis/vorbisenc.c:
* gst-libs/gst/audio/gstaudiofilter.c:
* gst-libs/gst/audio/gstaudiofiltertemplate.c:
* gst/audioconvert/gstaudioconvert.c:
* gst/audiorate/gstaudiorate.c:
* gst/audioresample/gstaudioresample.c:
* gst/audiotestsrc/gstaudiotestsrc.c:
* gst/ffmpegcolorspace/gstffmpegcolorspace.c:
* gst/playback/gstdecodebin.c:
* gst/playback/gstplaybin.c:
* gst/playback/gststreamselector.c:
* gst/subparse/gstsubparse.c:
* gst/tcp/gstmultifdsink.c:
* gst/tcp/gsttcpclientsink.c:
* gst/tcp/gsttcpclientsrc.c:
* gst/tcp/gsttcpserversink.c:
* gst/tcp/gsttcpserversrc.c:
* gst/typefind/gsttypefindfunctions.c: (plugin_init):
* gst/videorate/gstvideorate.c:
* gst/videoscale/gstvideoscale.c:
* gst/videotestsrc/gstvideotestsrc.c:
* gst/volume/gstvolume.c:
* sys/v4l/gstv4ljpegsrc.c:
* sys/v4l/gstv4lmjpegsink.c:
* sys/v4l/gstv4lmjpegsrc.c:
* sys/v4l/gstv4lsrc.c:
* sys/ximage/ximagesink.c:
* sys/xvimage/xvimagesink.c:
* tests/check/libs/cddabasesrc.c:
make GstElementDetails const

18 years agogst/adder/gstadder.c: send events from src-pad to all sink-pads fixes #338657
Stefan Kost [Fri, 28 Apr 2006 19:17:06 +0000 (19:17 +0000)]
gst/adder/gstadder.c: send events from src-pad to all sink-pads fixes #338657

Original commit message from CVS:
* gst/adder/gstadder.c: (gst_adder_setcaps), (gst_adder_src_event),
(gst_adder_init):
send events from src-pad to all sink-pads fixes #338657

18 years agoext/alsa/gstalsasink.c: query witdh capabilities from alsa, fixes #338919
Stefan Kost [Fri, 28 Apr 2006 19:08:34 +0000 (19:08 +0000)]
ext/alsa/gstalsasink.c: query witdh capabilities from alsa, fixes #338919

Original commit message from CVS:
* ext/alsa/gstalsasink.c: (gst_alsasink_getcaps),
(alsasink_parse_spec):
query witdh capabilities from alsa, fixes #338919

18 years agogst/tcp/gstmultifdsink.*: Fix race condition in multifdsink that can lead to spurious...
Wim Taymans [Fri, 28 Apr 2006 15:31:28 +0000 (15:31 +0000)]
gst/tcp/gstmultifdsink.*: Fix race condition in multifdsink that can lead to spurious duplicate clients. this patch a...

Original commit message from CVS:
* gst/tcp/gstmultifdsink.c: (gst_multi_fd_sink_class_init),
(gst_multi_fd_sink_remove_client_link):
* gst/tcp/gstmultifdsink.h:
Fix race condition in multifdsink that can lead to spurious
duplicate clients. this patch adds a new signal that is fired when
multifdsink has removed all references to the fd.
Fixes #339574.
Updated documentation.
API: client-fd-removed signal added

18 years agogst/tcp/gstmultifdsink.c: When asking g_value_array_new to prealloc elements, we...
Michael Smith [Fri, 28 Apr 2006 15:24:00 +0000 (15:24 +0000)]
gst/tcp/gstmultifdsink.c: When asking g_value_array_new to prealloc elements, we may as well ask for the right number...

Original commit message from CVS:
* gst/tcp/gstmultifdsink.c: (gst_multi_fd_sink_get_stats):
When asking g_value_array_new to prealloc elements, we may as well
ask for the right number of elements.

18 years agogst-libs/gst/audio/gstbaseaudiosink.c: patch to make timestamp checking more tolleran...
Wim Taymans [Fri, 28 Apr 2006 15:08:09 +0000 (15:08 +0000)]
gst-libs/gst/audio/gstbaseaudiosink.c: patch to make timestamp checking more tollerant to rounding errors given that ...

Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_drain), (gst_base_audio_sink_event),
(gst_base_audio_sink_render), (gst_base_audio_sink_change_state):
patch to make timestamp checking more tollerant to rounding
errors given that real discontinuities are to be marked on
buffers. Fixes some asf files and #338778.
Also avoid some crashers when we receive an event in the
NULL state.

18 years agoext/gnomevfs/gstgnomevfssrc.*: Remove ICY handling (mostly) from gnomevfssrc, in...
Michael Smith [Fri, 28 Apr 2006 15:01:58 +0000 (15:01 +0000)]
ext/gnomevfs/gstgnomevfssrc.*: Remove ICY handling (mostly) from gnomevfssrc, in favour of proper shared support with...

Original commit message from CVS:
* ext/gnomevfs/gstgnomevfssrc.c: (gst_gnome_vfs_src_class_init),
(gst_gnome_vfs_src_init), (gst_gnome_vfs_src_finalize),
(gst_gnome_vfs_src_get_property),
(gst_gnome_vfs_src_send_additional_headers_callback),
(gst_gnome_vfs_src_received_headers_callback),
(gst_gnome_vfs_src_create), (gst_gnome_vfs_src_start),
(gst_gnome_vfs_src_stop):
* ext/gnomevfs/gstgnomevfssrc.h:
Remove ICY handling (mostly) from gnomevfssrc, in favour of
proper shared support within icydemux.

18 years agogst/videorate/gstvideorate.c: fix up docs fix a leak when no caps negotiated fix...
Thomas Vander Stichele [Fri, 28 Apr 2006 14:49:22 +0000 (14:49 +0000)]
gst/videorate/gstvideorate.c: fix up docs fix a leak when no caps negotiated fix counting of input frames

Original commit message from CVS:

* gst/videorate/gstvideorate.c: (gst_video_rate_reset),
(gst_video_rate_swap_prev), (gst_video_rate_chain):
fix up docs
fix a leak when no caps negotiated
fix counting of input frames
* tests/check/elements/.cvsignore:
* tests/check/elements/videorate.c: (assert_videorate_stats),
(GST_START_TEST), (videorate_suite):
add tests for these

18 years agogst-libs/gst/audio/gstringbuffer.c: Check arguments passed to public functions instea...
Wim Taymans [Fri, 28 Apr 2006 14:48:11 +0000 (14:48 +0000)]
gst-libs/gst/audio/gstringbuffer.c: Check arguments passed to public functions instead of crashing.

Original commit message from CVS:
* gst-libs/gst/audio/gstringbuffer.c:
(gst_ring_buffer_set_callback), (gst_ring_buffer_acquire),
(gst_ring_buffer_release), (gst_ring_buffer_is_acquired),
(gst_ring_buffer_set_flushing), (gst_ring_buffer_start),
(gst_ring_buffer_pause), (gst_ring_buffer_stop),
(gst_ring_buffer_delay), (gst_ring_buffer_samples_done),
(gst_ring_buffer_set_sample), (gst_ring_buffer_clear_all),
(gst_ring_buffer_commit), (gst_ring_buffer_read),
(gst_ring_buffer_prepare_read), (gst_ring_buffer_advance),
(gst_ring_buffer_clear), (gst_ring_buffer_may_start):
Check arguments passed to public functions instead of
crashing.

18 years agogst-libs/gst/audio/gstbaseaudiosrc.c: GstBaseAudioSrc must be live or it does not...
Wim Taymans [Fri, 28 Apr 2006 14:37:46 +0000 (14:37 +0000)]
gst-libs/gst/audio/gstbaseaudiosrc.c: GstBaseAudioSrc must be live or it does not work.

Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosrc.c: (gst_base_audio_src_init),
(gst_base_audio_src_get_time), (gst_base_audio_src_create):
GstBaseAudioSrc must be live or it does not work.
* gst-libs/gst/audio/gstaudiosrc.c: (gst_audio_src_init):
Don't set live to TRUE as this is the default in the parentclass.

18 years agoupdate config.h
Thomas Vander Stichele [Fri, 28 Apr 2006 14:37:12 +0000 (14:37 +0000)]
update config.h

Original commit message from CVS:
update config.h

18 years agogst/videoscale/gstvideoscale.c: Videoscale doesn't pass on pixel-aspect ratio. Handle...
Wim Taymans [Fri, 28 Apr 2006 14:33:45 +0000 (14:33 +0000)]
gst/videoscale/gstvideoscale.c: Videoscale doesn't pass on pixel-aspect ratio. Handle all fixation cases better. Fixe...

Original commit message from CVS:
* gst/videoscale/gstvideoscale.c: (gst_video_scale_transform_caps),
(gst_video_scale_fixate_caps), (gst_video_scale_src_event):
Videoscale doesn't pass on pixel-aspect ratio. Handle all
fixation cases better. Fixes #338991

18 years agogst/videotestsrc/gstvideotestsrc.c: Handle 0/1 framerate correctly Fixes #331901.
Wim Taymans [Fri, 28 Apr 2006 14:24:38 +0000 (14:24 +0000)]
gst/videotestsrc/gstvideotestsrc.c: Handle 0/1 framerate correctly Fixes #331901.

Original commit message from CVS:
* gst/videotestsrc/gstvideotestsrc.c: (gst_video_test_src_create):
Handle 0/1 framerate correctly Fixes #331901.

18 years agotests/check/elements/audioconvert.c: Added check for correct clipping when doing...
Wim Taymans [Fri, 28 Apr 2006 14:22:16 +0000 (14:22 +0000)]
tests/check/elements/audioconvert.c: Added check for correct clipping when doing float samples in audioconvert.

Original commit message from CVS:
* tests/check/elements/audioconvert.c: (get_float_caps),
(GST_START_TEST), (audioconvert_suite):
Added check for correct clipping when doing float samples
in audioconvert.

18 years agogst/videorate/gstvideorate.c: Print more debugging info.
Wim Taymans [Fri, 28 Apr 2006 14:19:49 +0000 (14:19 +0000)]
gst/videorate/gstvideorate.c: Print more debugging info.

Original commit message from CVS:
* gst/videorate/gstvideorate.c: (gst_video_rate_event),
(gst_video_rate_chain):
Print more debugging info.

18 years agogst/audioresample/gstaudioresample.c: Add support for other formats audioresample...
Wim Taymans [Fri, 28 Apr 2006 14:17:00 +0000 (14:17 +0000)]
gst/audioresample/gstaudioresample.c: Add support for other formats audioresample can handle such as 32 bits in and f...

Original commit message from CVS:
* gst/audioresample/gstaudioresample.c: (gst_audioresample_init),
(resample_set_state_from_caps):
Add support for other formats audioresample can handle such as
32 bits in and float and 64 bits float. Fixes #301759

18 years agogst/audioconvert/audioconvert.c: correctly clip float samples > 1.0. Fixes #338718
Wim Taymans [Fri, 28 Apr 2006 14:12:28 +0000 (14:12 +0000)]
gst/audioconvert/audioconvert.c: correctly clip float samples > 1.0. Fixes #338718

Original commit message from CVS:
* gst/audioconvert/audioconvert.c: (float):
correctly clip float samples > 1.0. Fixes #338718

18 years agoext/pango/gsttextoverlay.c: Don't strip newlines from the text. Also, center lines...
Young-Ho Cha [Fri, 28 Apr 2006 13:35:34 +0000 (13:35 +0000)]
ext/pango/gsttextoverlay.c: Don't strip newlines from the text. Also, center lines within multi-line paragraphs (#339...

Original commit message from CVS:
Patch by: Young-Ho Cha  <ganadist at chollian net>
* ext/pango/gsttextoverlay.c: (gst_text_overlay_init),
(gst_text_overlay_render_text):
Don't strip newlines from the text. Also, center lines
within multi-line paragraphs (#339405).

18 years agogst/typefind/gsttypefindfunctions.c: Fix wavpack typefinding to work in more cases...
Tim-Philipp Müller [Fri, 28 Apr 2006 12:15:33 +0000 (12:15 +0000)]
gst/typefind/gsttypefindfunctions.c: Fix wavpack typefinding to work in more cases (don't peek for chunks of multiple...

Original commit message from CVS:
* gst/typefind/gsttypefindfunctions.c: (wavpack_type_find):
Fix wavpack typefinding to work in more cases (don't peek
for chunks of multiple hundred kBs at once, but process
things step-by-step in smaller units). Fixes #339786.

18 years agoback to HEAD
Thomas Vander Stichele [Fri, 28 Apr 2006 10:58:41 +0000 (10:58 +0000)]
back to HEAD

Original commit message from CVS:
back to HEAD

18 years agoreleasing 0.10.6 RELEASE-0_10_6
Thomas Vander Stichele [Fri, 28 Apr 2006 10:53:40 +0000 (10:53 +0000)]
releasing 0.10.6

Original commit message from CVS:
releasing 0.10.6

18 years agodist more win32 files
Thomas Vander Stichele [Fri, 28 Apr 2006 10:42:57 +0000 (10:42 +0000)]
dist more win32 files

Original commit message from CVS:
dist more win32 files

18 years agoUpdate .po files
Thomas Vander Stichele [Fri, 28 Apr 2006 10:41:57 +0000 (10:41 +0000)]
Update .po files

Original commit message from CVS:
Update .po files

18 years agogst/videoscale/gstvideoscale.c: Add call to oil_init().
David Schleef [Thu, 27 Apr 2006 00:19:29 +0000 (00:19 +0000)]
gst/videoscale/gstvideoscale.c: Add call to oil_init().

Original commit message from CVS:
* gst/videoscale/gstvideoscale.c: Add call to oil_init().
Fixes #338897.

18 years agonew prerelease
Thomas Vander Stichele [Wed, 26 Apr 2006 17:20:31 +0000 (17:20 +0000)]
new prerelease

Original commit message from CVS:
new prerelease

18 years agoext/ogg/gstoggdemux.c: make sure correct newsegments are sent, so that the decoder...
Wim Taymans [Wed, 26 Apr 2006 17:17:39 +0000 (17:17 +0000)]
ext/ogg/gstoggdemux.c: make sure correct newsegments are sent, so that the decoder and the demuxer agree on timestamp...

Original commit message from CVS:
2006-04-26  Thomas Vander Stichele  <thomas at apestaart dot org>

patch by: Wim Taymans

* ext/ogg/gstoggdemux.c: (gst_ogg_pad_submit_packet),
(gst_ogg_demux_perform_seek):
make sure correct newsegments are sent, so that the decoder
and the demuxer agree on timestamps.  Fixes playback of a lot
of Ogg files that do not start from 0.  Fixes #339833.

18 years agoFix an infinite loop if frames are passed in with wrongly ordered timestamps. Fixes...
Edward Hervey [Wed, 26 Apr 2006 16:44:20 +0000 (16:44 +0000)]
Fix an infinite loop if frames are passed in with wrongly ordered timestamps.  Fixes #339013.

Original commit message from CVS:

Patch by: Edward Hervey  <edward@fluendo.com>

* gst/videorate/gstvideorate.c: (gst_video_rate_chain):
* tests/check/Makefile.am:
* tests/check/elements/videorate.c: (assert_videorate_stats),
(setup_videorate), (cleanup_videorate), (GST_START_TEST),
(videorate_suite), (main):
Fix an infinite loop if frames are passed in with wrongly ordered
timestamps.  Fixes #339013.

18 years agoprerelease
Thomas Vander Stichele [Wed, 26 Apr 2006 13:55:14 +0000 (13:55 +0000)]
prerelease

Original commit message from CVS:
prerelease

18 years agogst/typefind/gsttypefindfunctions.c: fix typefinding on some ISO files. Fixes #339212.
Tim-Philipp Müller [Sat, 22 Apr 2006 21:25:41 +0000 (21:25 +0000)]
gst/typefind/gsttypefindfunctions.c: fix typefinding on some ISO files.  Fixes #339212.

Original commit message from CVS:

Patch by: Tim-Philipp Müller  <tim at centricular dot net>

* gst/typefind/gsttypefindfunctions.c: (qt_type_find):
fix typefinding on some ISO files.  Fixes #339212.

18 years agogst-libs/gst/riff/riff-media.c: add another H264 fourcc. Fixes #339047.
Tim-Philipp Müller [Sat, 22 Apr 2006 21:19:06 +0000 (21:19 +0000)]
gst-libs/gst/riff/riff-media.c: add another H264 fourcc.  Fixes #339047.

Original commit message from CVS:

Patch by: Tim-Philipp Müller  <tim at centricular dot net>

* gst-libs/gst/riff/riff-media.c: (gst_riff_create_video_caps):
add another H264 fourcc.  Fixes #339047.

18 years agogst/playback/gststreamselector.c: Restore old StreamSelector behaviour.
Jan Schmidt [Sat, 22 Apr 2006 21:12:52 +0000 (21:12 +0000)]
gst/playback/gststreamselector.c: Restore old StreamSelector behaviour.

Original commit message from CVS:

Patch by: Jan Schmidt

* gst/playback/gststreamselector.c:
(gst_stream_selector_bufferalloc):
Restore old StreamSelector behaviour.
Fixes #338419.

18 years agoreverting rtp patches to fix freeze break on -base as explained on the list
Thomas Vander Stichele [Thu, 13 Apr 2006 09:26:27 +0000 (09:26 +0000)]
reverting rtp patches to fix freeze break on -base as explained on the list

Original commit message from CVS:
reverting rtp patches to fix freeze break on -base as explained on the list

18 years agogst-libs/gst/rtp/gstrtpbuffer.h: Added GST_RTP_PAYLOAD_DYNAMIC_STRING for use by...
Philippe Kalaf [Thu, 13 Apr 2006 03:55:12 +0000 (03:55 +0000)]
gst-libs/gst/rtp/gstrtpbuffer.h: Added GST_RTP_PAYLOAD_DYNAMIC_STRING for use by children

Original commit message from CVS:
2006-04-12 Philippe Kalaf <philippe.kalaf@collabora.co.uk>

* gst-libs/gst/rtp/gstrtpbuffer.h:
Added GST_RTP_PAYLOAD_DYNAMIC_STRING for use by children
* gst-libs/gst/rtp/gstbasertpaudiopayload.c:
* gst-libs/gst/rtp/gstbasertpaudiopayload.h:
New RTP audio base payloader class. Supports frame or sample based codecs

18 years agoupdate libtool versioning
Thomas Vander Stichele [Wed, 12 Apr 2006 11:04:53 +0000 (11:04 +0000)]
update libtool versioning

Original commit message from CVS:
update libtool versioning

18 years agoprerelease
Thomas Vander Stichele [Wed, 12 Apr 2006 10:58:00 +0000 (10:58 +0000)]
prerelease

Original commit message from CVS:
prerelease

18 years agogst-libs/gst/rtp/gstbasertpdepayload.c: Fix some memory leaks: on finalize, free...
Antoine Tremblay [Tue, 11 Apr 2006 17:31:29 +0000 (17:31 +0000)]
gst-libs/gst/rtp/gstbasertpdepayload.c: Fix some memory leaks: on finalize, free buffers left in the queue before des...

Original commit message from CVS:
Patch by: Antoine Tremblay  <hexa00 at gmail dot com>
* gst-libs/gst/rtp/gstbasertpdepayload.c:
(gst_base_rtp_depayload_finalize), (gst_base_rtp_depayload_push):
Fix some memory leaks: on finalize, free buffers left in the queue
before destroying the queue; in _push(), unref rtp_buf even if
the process vfunc returned a NULL buffer as output buffer (#337548);
demote some recuring debug messages to LOG level.

18 years agofix version number macro
Christian Schaller [Tue, 11 Apr 2006 15:01:51 +0000 (15:01 +0000)]
fix version number macro

Original commit message from CVS:
fix version number macro

18 years agoext/ogg/gstoggdemux.c: More cleanups.
Wim Taymans [Tue, 11 Apr 2006 14:42:33 +0000 (14:42 +0000)]
ext/ogg/gstoggdemux.c: More cleanups.

Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_src_query),
(gst_ogg_demux_chain_peer), (gst_ogg_pad_submit_packet),
(gst_ogg_chain_free), (gst_ogg_demux_sink_event),
(gst_ogg_demux_loop):
More cleanups.
Respect segment stop when emiting EOS or SEGMENT_DONE.
Fixes (#337945).

18 years agogst/playback/gststreamselector.c: Don't leak pad name.
Tim-Philipp Müller [Tue, 11 Apr 2006 10:45:32 +0000 (10:45 +0000)]
gst/playback/gststreamselector.c: Don't leak pad name.

Original commit message from CVS:
* gst/playback/gststreamselector.c:
(gst_stream_selector_get_property):
Don't leak pad name.

18 years agoMention bug #336617 closed by recent commit
Jan Schmidt [Tue, 11 Apr 2006 09:42:52 +0000 (09:42 +0000)]
Mention bug #336617 closed by recent commit

Original commit message from CVS:
Mention bug #336617 closed by recent commit

18 years agotests/check/: so that FC4 buildslaves can pass.
Michael Smith [Mon, 10 Apr 2006 20:32:46 +0000 (20:32 +0000)]
tests/check/: so that FC4 buildslaves can pass.

Original commit message from CVS:
* tests/check/Makefile.am:
* tests/check/gst-plugins-base.supp:
Suppress an old libtheora bug (fixed in more recent versions), so
that FC4 buildslaves can pass.

18 years agoext/ogg/gstoggdemux.c: Don't leak events.
Wim Taymans [Mon, 10 Apr 2006 19:13:30 +0000 (19:13 +0000)]
ext/ogg/gstoggdemux.c: Don't leak events.

Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_src_query),
(gst_ogg_demux_receive_event), (gst_ogg_pad_event),
(gst_ogg_demux_init), (gst_ogg_demux_finalize),
(gst_ogg_demux_sink_event), (gst_ogg_demux_get_data),
(gst_ogg_demux_loop):
Don't leak events.
Remember what error we got when finding chains, if we
were shutdown, that would not be an error.

18 years agogst-libs/gst/audio/gstbaseaudiosink.c: Starting the ringbuffer when we did not acquir...
Wim Taymans [Mon, 10 Apr 2006 17:05:46 +0000 (17:05 +0000)]
gst-libs/gst/audio/gstbaseaudiosink.c: Starting the ringbuffer when we did not acquire it can cause a deadlock, is po...

Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_event):
Starting the ringbuffer when we did not acquire it can cause
a deadlock, is pointless and causes nasty things for
subclasses.
Fixes gst-launch audiotestsrc num-buffers=0 ! alsasink.

18 years agoext/ogg/gstoggdemux.c: Add some more debugging.
Wim Taymans [Mon, 10 Apr 2006 15:17:24 +0000 (15:17 +0000)]
ext/ogg/gstoggdemux.c: Add some more debugging.

Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_src_query),
(gst_ogg_demux_receive_event), (gst_ogg_pad_event),
(gst_ogg_demux_chain_peer), (gst_ogg_pad_submit_packet),
(gst_ogg_demux_submit_buffer), (gst_ogg_demux_get_data),
(gst_ogg_demux_deactivate_current_chain),
(gst_ogg_demux_activate_chain), (gst_ogg_demux_perform_seek),
(gst_ogg_demux_bisect_forward_serialno),
(gst_ogg_demux_find_chains), (gst_ogg_demux_chain):
Add some more debugging.

18 years agofix width of docs
Thomas Vander Stichele [Mon, 10 Apr 2006 14:52:10 +0000 (14:52 +0000)]
fix width of docs

Original commit message from CVS:
fix width of docs

18 years agoext/theora/theoradec.c: Some more debug info.
Wim Taymans [Mon, 10 Apr 2006 10:29:21 +0000 (10:29 +0000)]
ext/theora/theoradec.c: Some more debug info.

Original commit message from CVS:
* ext/theora/theoradec.c: (theora_dec_src_event),
(theora_handle_data_packet):
Some more debug info.
* tests/examples/seek/seek.c: (start_seek), (main):
Print element messages too.

18 years agogst/audioresample/debug.h: replace debug macros with variable number of parameters...
Sébastien Moutte [Sun, 9 Apr 2006 17:14:22 +0000 (17:14 +0000)]
gst/audioresample/debug.h: replace debug macros with variable number of parameters by a simple alias to gstreamer sta...

Original commit message from CVS:
* gst/audioresample/debug.h:
replace debug macros with variable number of parameters
by a simple alias to gstreamer standard debug macros
(#define RESAMPLE_ERROR GST_ERROR, __VA_ARGS__ is not
supported by MSVC 6.0 and 7.1)
* gst/audioresample/resample.h:
define M_PI and rint for WIN32
* win32/common/libgstaudio.def:
* win32/common/libgstriff.def:
* win32/common/libgsttag.def:
* win32/common/libgstvideo.def:
add new exported functions
* win32/vs6:
update project files

18 years agoFix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
Stefan Kost [Sat, 8 Apr 2006 21:02:53 +0000 (21:02 +0000)]
Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)

Original commit message from CVS:
* ext/alsa/gstalsamixeroptions.c:
(gst_alsa_mixer_options_class_init):
* ext/alsa/gstalsamixertrack.c: (gst_alsa_mixer_track_class_init):
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_class_init):
* ext/ogg/gstoggmux.c: (gst_ogg_mux_class_init):
* ext/ogg/gstoggparse.c: (gst_ogg_parse_class_init):
* gst-libs/gst/audio/gstaudioclock.c: (gst_audio_clock_class_init):
* gst-libs/gst/audio/gstaudiofilter.c:
(gst_audio_filter_class_init):
* gst-libs/gst/audio/gstaudiosink.c:
(gst_audioringbuffer_class_init):
* gst-libs/gst/audio/gstaudiosrc.c:
(gst_audioringbuffer_class_init):
* gst-libs/gst/audio/gstringbuffer.c: (gst_ring_buffer_class_init):
* gst-libs/gst/interfaces/colorbalancechannel.c:
(gst_color_balance_channel_class_init):
* gst-libs/gst/interfaces/mixeroptions.c:
(gst_mixer_options_class_init):
* gst-libs/gst/interfaces/mixertrack.c:
(gst_mixer_track_class_init):
* gst-libs/gst/interfaces/tunerchannel.c:
(gst_tuner_channel_class_init):
* gst-libs/gst/interfaces/tunernorm.c: (gst_tuner_norm_class_init):
* gst-libs/gst/netbuffer/gstnetbuffer.c:
(gst_netbuffer_class_init):
* gst-libs/gst/rtp/gstbasertppayload.c:
(gst_basertppayload_class_init):
* gst/playback/gstdecodebin.c: (gst_decode_bin_class_init):
* gst/playback/gstplaybasebin.c: (gst_play_base_bin_class_init):
* gst/playback/gstplaybin.c: (gst_play_bin_class_init):
* gst/playback/gststreaminfo.c: (gst_stream_info_class_init):
* gst/playback/gststreamselector.c:
(gst_stream_selector_class_init):
* gst/subparse/gstsubparse.c: (gst_sub_parse_class_init):
* gst/tcp/gsttcpclientsink.c: (gst_tcp_client_sink_class_init):
* sys/v4l/gstv4lcolorbalance.c:
(gst_v4l_color_balance_channel_class_init):
* sys/v4l/gstv4ljpegsrc.c: (gst_v4ljpegsrc_class_init):
* sys/v4l/gstv4lmjpegsink.c: (gst_v4lmjpegsink_class_init):
* sys/v4l/gstv4lmjpegsrc.c: (gst_v4lmjpegsrc_class_init):
* sys/v4l/gstv4ltuner.c: (gst_v4l_tuner_channel_class_init),
(gst_v4l_tuner_norm_class_init):
* sys/ximage/ximagesink.c: (gst_ximagesink_class_init):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_class_init):
* tests/old/testsuite/alsa/sinesrc.c: (sinesrc_class_init):
Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)

18 years agoFix broken GObject macros
Stefan Kost [Sat, 8 Apr 2006 18:09:17 +0000 (18:09 +0000)]
Fix broken GObject macros

Original commit message from CVS:
* ext/pango/gsttextrender.h:
* gst-libs/gst/audio/gstaudiosink.h:
* gst-libs/gst/audio/gstaudiosrc.h:
* gst-libs/gst/audio/gstbaseaudiosink.h:
* gst-libs/gst/audio/gstbaseaudiosrc.h:
* gst-libs/gst/audio/gstringbuffer.h:
* gst-libs/gst/rtp/gstbasertpdepayload.h:
* gst-libs/gst/rtp/gstbasertppayload.h:
* gst-libs/gst/video/gstvideofilter.h:
* gst-libs/gst/video/gstvideosink.h:
* gst/playback/gstplaybasebin.h:
* gst/tcp/gstmultifdsink.h:
* sys/v4l/gstv4lelement.h:
Fix broken GObject macros

18 years agoext/alsa/gstalsasink.c: More debug to trace why my USB headset is not working with gst
Stefan Kost [Sat, 8 Apr 2006 16:21:15 +0000 (16:21 +0000)]
ext/alsa/gstalsasink.c: More debug to trace why my USB headset is not working with gst

Original commit message from CVS:
* ext/alsa/gstalsasink.c: (set_hwparams), (alsasink_parse_spec):
More debug to trace why my USB headset is not working with gst

18 years agogst/playback/gstplaybasebin.c: Clean up our group elements properly in the case where...
Jan Schmidt [Fri, 7 Apr 2006 17:18:11 +0000 (17:18 +0000)]
gst/playback/gstplaybasebin.c: Clean up our group elements properly in the case where it never got committed - it sti...

Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (group_destroy):
Clean up our group elements properly in the case where it never
got committed - it still got added unconditionally to the bin.

18 years agoext/theora/theoradec.c: Unref unhandled events.
Wim Taymans [Fri, 7 Apr 2006 15:14:32 +0000 (15:14 +0000)]
ext/theora/theoradec.c: Unref unhandled events.

Original commit message from CVS:
* ext/theora/theoradec.c: (theora_dec_sink_event),
(theora_handle_data_packet), (theora_dec_chain):
Unref unhandled events.
Protect against empty buffers.
Perform QoS on running time.

18 years agoext/vorbis/vorbisenc.c: Remove leaks from vorbisenc.
Michael Smith [Fri, 7 Apr 2006 13:24:54 +0000 (13:24 +0000)]
ext/vorbis/vorbisenc.c: Remove leaks from vorbisenc.

Original commit message from CVS:
* ext/vorbis/vorbisenc.c: (gst_vorbis_enc_set_header_on_caps),
(gst_vorbis_enc_chain):
Remove leaks from vorbisenc.
Mostly minor changes, the only significant one is that now the
buffers we set as 'streamheader' on the caps are copies of the
original buffers, to avoid circular refcounting problems.

18 years agogst/playback/gstplaybasebin.c: Don't remove our mute-probe if someone else already...
Jan Schmidt [Fri, 7 Apr 2006 09:51:35 +0000 (09:51 +0000)]
gst/playback/gstplaybasebin.c: Don't remove our mute-probe if someone else already did so.

Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (mute_stream), (setup_substreams):
Don't remove our mute-probe if someone else already did so.
Don't set a 2nd one if there is already one pending on the pad.
* gst/playback/gstplaybin.c: (gst_play_bin_send_event_to_sink),
(do_playbin_seek):
When a seek fails, ensure that playbin is still set back to playing.
* gst/typefind/gsttypefindfunctions.c: (mpeg_ts_probe_headers),
(mpeg_ts_type_find), (plugin_init):
Add a typefind function for mpeg-ts streams.

18 years agogst/videorate/gstvideorate.c (gst_video_rate_reset)
Andy Wingo [Thu, 6 Apr 2006 11:40:45 +0000 (11:40 +0000)]
gst/videorate/gstvideorate.c (gst_video_rate_reset)

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

* gst/videorate/gstvideorate.c (gst_video_rate_reset)
(gst_video_rate_init): Caps-related parameters should not be reset
by a flush -- move their inits to the instance init function.
(gst_video_rate_flush_prev): Don't complain if gst_pad_push
is not OK, just return the result.

* gst/audiotestsrc/gstaudiotestsrc.c
(gst_audio_test_src_class_init)
(gst_audio_test_src_get_times): Re-enable is-live=true, as was
broken by Stefan's commit on 24 March.

18 years agoext/ogg/gstoggmux.c (gst_ogg_mux_push_buffer): Set caps on buffers being pushed out...
Andy Wingo [Thu, 6 Apr 2006 10:50:14 +0000 (10:50 +0000)]
ext/ogg/gstoggmux.c (gst_ogg_mux_push_buffer): Set caps on buffers being pushed out. Fixes oggmux ! multifdsink.

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

* ext/ogg/gstoggmux.c (gst_ogg_mux_push_buffer): Set caps on
buffers being pushed out. Fixes oggmux ! multifdsink.

18 years agoext/vorbis/: Remove left-over 0.8 cruft; use GST_DEBUG_FUNCPTR; make vorbisenc adhere...
Tim-Philipp Müller [Wed, 5 Apr 2006 13:05:25 +0000 (13:05 +0000)]
ext/vorbis/: Remove left-over 0.8 cruft; use GST_DEBUG_FUNCPTR; make vorbisenc adhere to the official nomenclature; u...

Original commit message from CVS:
* ext/vorbis/vorbisdec.c: (gst_vorbis_dec_class_init),
(gst_vorbis_dec_init), (vorbis_dec_finalize):
* ext/vorbis/vorbisdec.h:
* ext/vorbis/vorbisenc.c: (gst_vorbis_enc_add_interfaces),
(gst_vorbis_enc_base_init), (gst_vorbis_enc_class_init),
(gst_vorbis_enc_sink_setcaps), (gst_vorbis_enc_convert_src),
(gst_vorbis_enc_convert_sink), (gst_vorbis_enc_get_query_types),
(gst_vorbis_enc_src_query), (gst_vorbis_enc_sink_query),
(gst_vorbis_enc_init), (gst_vorbis_enc_get_tag_value),
(gst_vorbis_enc_metadata_set1), (gst_vorbis_enc_set_metadata),
(gst_vorbis_enc_setup), (gst_vorbis_enc_clear),
(gst_vorbis_enc_buffer_from_packet),
(gst_vorbis_enc_buffer_from_header_packet),
(gst_vorbis_enc_push_buffer), (gst_vorbis_enc_push_packet),
(gst_vorbis_enc_set_header_on_caps), (gst_vorbis_enc_sink_event),
(gst_vorbis_enc_chain), (gst_vorbis_enc_output_buffers),
(gst_vorbis_enc_get_property), (gst_vorbis_enc_set_property),
(gst_vorbis_enc_change_state):
* ext/vorbis/vorbisenc.h:
Remove left-over 0.8 cruft; use GST_DEBUG_FUNCPTR; make
vorbisenc adhere to the official nomenclature; use boilerplate
macro.

18 years agogst/videorate/gstvideorate.c (gst_video_rate_flush_prev): Whoops, fix bug introduced...
Andy Wingo [Tue, 4 Apr 2006 11:20:24 +0000 (11:20 +0000)]
gst/videorate/gstvideorate.c (gst_video_rate_flush_prev): Whoops, fix bug introduced. Bad hacker!

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

* gst/videorate/gstvideorate.c (gst_video_rate_flush_prev):
Whoops, fix bug introduced. Bad hacker!

18 years agogst/videorate/gstvideorate.c (gst_video_rate_flush_prev): Properly handle the case...
Andy Wingo [Tue, 4 Apr 2006 11:15:00 +0000 (11:15 +0000)]
gst/videorate/gstvideorate.c (gst_video_rate_flush_prev): Properly handle the case where you get EOS before any buffe...

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

* gst/videorate/gstvideorate.c (gst_video_rate_flush_prev):
Properly handle the case where you get EOS before any buffers are
received. Use gst_buffer_make_metadata_writable where appropriate.