platform/upstream/gstreamer.git
20 years agogst/ffmpegcolorspace/imgconvert.c: Actually test for odd width/height rather than...
Ronald S. Bultje [Thu, 11 Nov 2004 14:42:08 +0000 (14:42 +0000)]
gst/ffmpegcolorspace/imgconvert.c: Actually test for odd width/height rather than testing whether a temporary variabl...

Original commit message from CVS:
* gst/ffmpegcolorspace/imgconvert.c: (yuv420p_to_yuv422):
Actually test for odd width/height rather than testing whether
a temporary variable that was 0 before we subtracted 1 is now
not equal to zero (which it always is).

20 years agosys/v4l2/gstv4l2element.c: Fix compilation if HAVE_XVIDEO is not defined
Zaheer Abbas Merali [Thu, 11 Nov 2004 14:25:10 +0000 (14:25 +0000)]
sys/v4l2/gstv4l2element.c: Fix compilation if HAVE_XVIDEO is not defined

Original commit message from CVS:
2004-11-11  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

* sys/v4l2/gstv4l2element.c: (gst_v4l2_iface_supported):
Fix compilation if HAVE_XVIDEO is not defined

20 years agosys/v4l/gstv4lelement.c: Fix compilation if HAVE_XVIDEO is not defined
Zaheer Abbas Merali [Thu, 11 Nov 2004 14:20:16 +0000 (14:20 +0000)]
sys/v4l/gstv4lelement.c: Fix compilation if HAVE_XVIDEO is not defined

Original commit message from CVS:
2004-11-11  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

* sys/v4l/gstv4lelement.c: (gst_v4l_iface_supported):
Fix compilation if HAVE_XVIDEO is not defined

20 years agoUse bytestream in goom for input samples
Jan Schmidt [Thu, 11 Nov 2004 11:21:06 +0000 (11:21 +0000)]
Use bytestream in goom for input samples

Original commit message from CVS:
Use bytestream in goom for input samples
Add a debug category

20 years agoext/alsa/gstalsa.c: Only set hardware parameters *after* negotiation. Before negotiat...
Ronald S. Bultje [Thu, 11 Nov 2004 10:27:01 +0000 (10:27 +0000)]
ext/alsa/gstalsa.c: Only set hardware parameters *after* negotiation. Before negotiation, it will set ANY and that se...

Original commit message from CVS:
* ext/alsa/gstalsa.c: (gst_alsa_change_state):
Only set hardware parameters *after* negotiation. Before
negotiation, it will set ANY and that seems to cause crashes
(see e.g. #151288, #153227).

20 years agoext/alsa/gstalsasink.c: This seems to be antique leftover. It needs to pass error...
Ronald S. Bultje [Wed, 10 Nov 2004 22:01:19 +0000 (22:01 +0000)]
ext/alsa/gstalsasink.c: This seems to be antique leftover. It needs to pass error checking.

Original commit message from CVS:
* ext/alsa/gstalsasink.c: (gst_alsa_sink_get_time):
This seems to be antique leftover. It needs to pass error
checking.
* ext/sdl/sdlvideosink.c: (gst_sdlvideosink_init),
(gst_sdlvideosink_deinitsdl), (gst_sdlvideosink_initsdl),
(gst_sdlvideosink_destroy), (gst_sdlvideosink_create),
(gst_sdlvideosink_sinkconnect), (gst_sdlvideosink_chain):
Fix GstXOverlay implementation (#151059).

20 years agogst/playback/gstplaybasebin.c: Don't assert (#157853).
Ronald S. Bultje [Wed, 10 Nov 2004 16:05:17 +0000 (16:05 +0000)]
gst/playback/gstplaybasebin.c: Don't assert (#157853).

Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (gst_play_base_bin_change_state):
Don't assert (#157853).

20 years agoext/alsa/gstalsasink.c: Fix bytes/samples confustion.
Ronald S. Bultje [Wed, 10 Nov 2004 14:53:49 +0000 (14:53 +0000)]
ext/alsa/gstalsasink.c: Fix bytes/samples confustion.

Original commit message from CVS:
* ext/alsa/gstalsasink.c: (gst_alsa_sink_check_event),
Fix bytes/samples confustion.
(gst_alsa_sink_mmap), (gst_alsa_sink_loop):
Fix for underrun (#144389).

20 years agogst/typefind/gsttypefindfunctions.c: Disable halfway-seek for pending release (since...
Ronald S. Bultje [Tue, 9 Nov 2004 21:06:11 +0000 (21:06 +0000)]
gst/typefind/gsttypefindfunctions.c: Disable halfway-seek for pending release (since it needs a new core release).

Original commit message from CVS:
* gst/typefind/gsttypefindfunctions.c: (mp3_type_find):
Disable halfway-seek for pending release (since it needs a new
core release).

20 years agoadd autoprobe-fps property so we can separate autoprobing parts
Thomas Vander Stichele [Tue, 9 Nov 2004 20:29:44 +0000 (20:29 +0000)]
add autoprobe-fps property so we can separate autoprobing parts

Original commit message from CVS:
add autoprobe-fps property so we can separate autoprobing parts

20 years agoinitialise fourcc to catch unset fourcc's, and debug
Thomas Vander Stichele [Tue, 9 Nov 2004 18:27:32 +0000 (18:27 +0000)]
initialise fourcc to catch unset fourcc's, and debug

Original commit message from CVS:
initialise fourcc to catch unset fourcc's, and debug

20 years agogst/playback/: Cleanups and some more documentation.
Wim Taymans [Tue, 9 Nov 2004 14:37:51 +0000 (14:37 +0000)]
gst/playback/: Cleanups and some more documentation.

Original commit message from CVS:
* gst/playback/README:
* gst/playback/gstdecodebin.c: (close_pad_link), (try_to_link_1):
* gst/playback/gstplaybin.c: (gst_play_bin_init),
(gst_play_bin_dispose), (gst_play_bin_set_property),
(remove_sinks), (setup_sinks), (gst_play_bin_change_state),
(gst_play_bin_get_event_masks), (gst_play_bin_send_event),
(gst_play_bin_get_formats), (gst_play_bin_convert),
(gst_play_bin_get_query_types), (gst_play_bin_query):
Cleanups and some more documentation.

20 years agoLet VideoSink store the clock, since Cacasink inherits from there
Jan Schmidt [Tue, 9 Nov 2004 13:03:33 +0000 (13:03 +0000)]
Let VideoSink store the clock, since Cacasink inherits from there

Original commit message from CVS:
Let VideoSink store the clock, since Cacasink inherits from there

20 years agogst/playback/: Updated README.
Wim Taymans [Tue, 9 Nov 2004 12:10:27 +0000 (12:10 +0000)]
gst/playback/: Updated README.

Original commit message from CVS:
* gst/playback/README:
* gst/playback/gstplaybasebin.c: (group_destroy), (group_is_muted),
(add_stream), (unknown_type), (add_element_stream), (no_more_pads),
(probe_triggered), (preroll_unlinked), (new_decoded_pad),
(gst_play_base_bin_change_state), (gst_play_base_bin_found_tag):
* gst/playback/gstplaybin.c: (gen_vis_element), (remove_sinks),
(setup_sinks):
* gst/playback/gststreaminfo.c: (gst_stream_info_set_mute),
(gst_stream_info_is_mute), (gst_stream_info_set_property):
* gst/playback/gststreaminfo.h:
Updated README.
Only switch groups if all streams have muted (EOSed).
Send Tags in sync with the stream playback instead of in
the playback/preroll phase.
Some cleanups, free the fakesrc elements.

20 years agoupdate these two files to contain recent additions
Christian Schaller [Tue, 9 Nov 2004 10:18:19 +0000 (10:18 +0000)]
update these two files to contain recent additions

Original commit message from CVS:
update these two files to contain recent additions

20 years agoext/alsa/gstalsa.c: buffer-frames property was missing
Benjamin Otte [Tue, 9 Nov 2004 06:08:22 +0000 (06:08 +0000)]
ext/alsa/gstalsa.c: buffer-frames property was missing

Original commit message from CVS:
* ext/alsa/gstalsa.c: (gst_alsa_get_caps_internal):
buffer-frames property was missing
* ext/arts/gst_arts.c:
rate missing from sinkcaps
* ext/audiofile/gstafparse.c:
* ext/audiofile/gstafsink.c:
* ext/audiofile/gstafsrc.c:
* ext/swfdec/gstswfdec.c:
int audio doesn't know buffer-frames
* ext/cdparanoia/gstcdparanoia.c:
int audio doesn't know chunksize either
* ext/nas/nassink.c:
it's endianness, not endianess
* gst-libs/gst/audio/audio.h:
make float standard pad template caps really describe float
* gst/law/mulaw.c: (linear_factory):
signed only, please
* gst/mpegstream/gstdvddemux.c:
widths of 20 are not valid

20 years agoadd italian (Luca Feretti)
Thomas Vander Stichele [Mon, 8 Nov 2004 19:51:31 +0000 (19:51 +0000)]
add italian (Luca Feretti)

Original commit message from CVS:
add italian (Luca Feretti)

20 years agogst/playback/: Updated README, added more comments for fixmes etc..
Wim Taymans [Mon, 8 Nov 2004 18:27:25 +0000 (18:27 +0000)]
gst/playback/: Updated README, added more comments for fixmes etc..

Original commit message from CVS:
* gst/playback/README:
* gst/playback/gstdecodebin.c: (close_pad_link), (try_to_link_1):
* gst/playback/gstplaybasebin.c: (probe_triggered),
(gst_play_base_bin_change_state):
Updated README, added more comments for fixmes etc..

20 years agogst/playback/gstplaybasebin.c: We can remove this hack now.
Wim Taymans [Mon, 8 Nov 2004 18:12:19 +0000 (18:12 +0000)]
gst/playback/gstplaybasebin.c: We can remove this hack now.

Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (gst_play_base_bin_add_element):
We can remove this hack now.

20 years agogst/videomixer/videomixer.c: Only mix AYUV for maximum quality.
Wim Taymans [Mon, 8 Nov 2004 17:22:05 +0000 (17:22 +0000)]
gst/videomixer/videomixer.c: Only mix AYUV for maximum quality.

Original commit message from CVS:
* gst/videomixer/videomixer.c: (gst_videomixer_blend_ayuv_ayuv),
(gst_videomixer_fill_checker), (gst_videomixer_fill_color),
(gst_videomixer_blend_buffers), (gst_videomixer_loop):
Only mix AYUV for maximum quality.

20 years agoext/ogg/gstoggdemux.c: Let's act as if we're synchronized now! :).
Ronald S. Bultje [Mon, 8 Nov 2004 17:02:06 +0000 (17:02 +0000)]
ext/ogg/gstoggdemux.c: Let's act as if we're synchronized now! :).

Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (get_relative), (gst_ogg_demux_src_query),
(gst_ogg_demux_push), (gst_ogg_pad_push):
Let's act as if we're synchronized now! :).
* ext/theora/theoradec.c: (theora_dec_chain):
Add some debug.

20 years agogst/alpha/gstalpha.c: Implement alpha functions for AYUV too, this increases accuracy...
Wim Taymans [Mon, 8 Nov 2004 16:16:10 +0000 (16:16 +0000)]
gst/alpha/gstalpha.c: Implement alpha functions for AYUV too, this increases accuracy quite a bit.

Original commit message from CVS:
* gst/alpha/gstalpha.c: (gst_alpha_method_get_type),
(gst_alpha_set_property), (gst_alpha_sink_link),
(gst_alpha_set_ayuv), (gst_alpha_set_i420),
(gst_alpha_chroma_key_ayuv), (gst_alpha_chroma_key_i420),
(gst_alpha_init_params), (gst_alpha_chain):
Implement alpha functions for AYUV too, this increases
accuracy quite a bit.

20 years agogst/ffmpegcolorspace/: Added AYUV colorspace and handle RGBA a bit more respectful.
Wim Taymans [Mon, 8 Nov 2004 15:18:14 +0000 (15:18 +0000)]
gst/ffmpegcolorspace/: Added AYUV colorspace and handle RGBA a bit more respectful.

Original commit message from CVS:
* gst/ffmpegcolorspace/avcodec.h:
* gst/ffmpegcolorspace/gstffmpegcodecmap.c:
(gst_ffmpeg_pixfmt_to_caps), (gst_ffmpeg_caps_to_pixfmt),
(gst_ffmpegcsp_avpicture_fill):
* gst/ffmpegcolorspace/gstffmpegcolorspace.c:
(gst_ffmpegcsp_caps_remove_format_info):
* gst/ffmpegcolorspace/imgconvert.c: (avpicture_get_size),
(shrink12), (img_get_alpha_info), (deinterlace_line),
(deinterlace_line_inplace):
* gst/ffmpegcolorspace/imgconvert_template.h:
Added AYUV colorspace and handle RGBA a bit more respectful.

20 years agoext/ogg/gstoggdemux.c: Actually always send a discont (cornercase when resending...
Ronald S. Bultje [Mon, 8 Nov 2004 14:43:47 +0000 (14:43 +0000)]
ext/ogg/gstoggdemux.c: Actually always send a discont (cornercase when resending the same serial-tagged chain twice).

Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_push):
Actually always send a discont (cornercase when resending the
same serial-tagged chain twice).

20 years agosys/: Some more cleanups, leaks fixed and checks.
Julien Moutte [Mon, 8 Nov 2004 14:31:55 +0000 (14:31 +0000)]
sys/: Some more cleanups, leaks fixed and checks.

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

* sys/ximage/ximagesink.c: (gst_ximagesink_xcontext_clear),
(gst_ximagesink_finalize):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_xcontext_clear),
(gst_xvimagesink_finalize): Some more cleanups, leaks fixed and checks.

20 years agogst/typefind/gsttypefindfunctions.c: Don't segfault on NULL data.
Wim Taymans [Mon, 8 Nov 2004 09:48:31 +0000 (09:48 +0000)]
gst/typefind/gsttypefindfunctions.c: Don't segfault on NULL data.

Original commit message from CVS:
* gst/typefind/gsttypefindfunctions.c: (aac_type_find):
Don't segfault on NULL data.

20 years agogst/playback/: Add support for chained ogg files. Prepare for playlist support. This...
Wim Taymans [Mon, 8 Nov 2004 09:46:16 +0000 (09:46 +0000)]
gst/playback/: Add support for chained ogg files. Prepare for playlist support. This patch introduces the concept of ...

Original commit message from CVS:
* gst/playback/gstdecodebin.c: (unlinked):
* gst/playback/gstplay-marshal.list:
* gst/playback/gstplaybasebin.c: (gst_play_base_bin_class_init),
(gst_play_base_bin_init), (group_create), (get_active_group),
(get_building_group), (group_destroy), (group_commit),
(queue_overrun), (remove_groups), (add_stream), (unknown_type),
(add_element_stream), (no_more_pads), (probe_triggered),
(preroll_unlinked), (new_decoded_pad), (removed_decoded_pad),
(state_change), (setup_source), (gst_play_base_bin_get_property),
(gst_play_base_bin_change_state), (gst_play_base_bin_add_element),
(gst_play_base_bin_link_stream),
(gst_play_base_bin_get_streaminfo):
* gst/playback/gstplaybasebin.h:
* gst/playback/gstplaybin.c: (gst_play_bin_class_init),
(remove_sinks), (setup_sinks), (gst_play_bin_change_state):
Add support for chained ogg files. Prepare for playlist
support. This patch introduces the concept of pad groups, which
together compose one playable media file.

20 years agotestsuite/gst-lint: Check for pad templates that aren't statically scoped.
David Schleef [Sun, 7 Nov 2004 20:50:10 +0000 (20:50 +0000)]
testsuite/gst-lint: Check for pad templates that aren't statically scoped.

Original commit message from CVS:
* testsuite/gst-lint: Check for pad templates that aren't statically
scoped.

20 years agoAdd musepack decoder.
Ronald S. Bultje [Sun, 7 Nov 2004 18:30:06 +0000 (18:30 +0000)]
Add musepack decoder.

Original commit message from CVS:
* configure.ac:
* ext/Makefile.am:
* ext/musepack/Makefile.am:
* ext/musepack/gstmusepackdec.cpp:
* ext/musepack/gstmusepackdec.h:
* ext/musepack/gstmusepackreader.cpp:
* ext/musepack/gstmusepackreader.h:
Add musepack decoder.
* ext/faad/gstfaad.c: (gst_faad_base_init):
Make pad templates static.
* gst/typefind/gsttypefindfunctions.c: (mp3_type_find),
(plugin_init):
Add musepack typefinder, make mp3 typefinding work halfway stream,
which doesn't actually work yet because id3demux doesn't implement
_get_length().

20 years agoext/ogg/gstoggmux.c: Fix interrupt event handling (#144436).
Ronald S. Bultje [Sun, 7 Nov 2004 14:03:50 +0000 (14:03 +0000)]
ext/ogg/gstoggmux.c: Fix interrupt event handling (#144436).

Original commit message from CVS:
* ext/ogg/gstoggmux.c: (gst_ogg_mux_next_buffer),
(gst_ogg_mux_queue_pads), (gst_ogg_mux_loop):
Fix interrupt event handling (#144436).

20 years agoext/mad/gstid3tag.c: Hide unused glory.
Ronald S. Bultje [Sat, 6 Nov 2004 23:53:13 +0000 (23:53 +0000)]
ext/mad/gstid3tag.c: Hide unused glory.

Original commit message from CVS:
* ext/mad/gstid3tag.c: (gst_id3_tag_do_typefind):
Hide unused glory.

20 years agoext/vorbis/vorbisenc.c: Fix weird caps (#157548).
Ronald S. Bultje [Sat, 6 Nov 2004 22:50:08 +0000 (22:50 +0000)]
ext/vorbis/vorbisenc.c: Fix weird caps (#157548).

Original commit message from CVS:
reviewed by: Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* ext/vorbis/vorbisenc.c: (raw_caps_factory):
Fix weird caps (#157548).

20 years agogst/rtp/gstrtpgsmparse.c: Add missing NULL terminator (#157543).
Ronald S. Bultje [Sat, 6 Nov 2004 22:00:40 +0000 (22:00 +0000)]
gst/rtp/gstrtpgsmparse.c: Add missing NULL terminator (#157543).

Original commit message from CVS:
Reviewed by: Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* gst/rtp/gstrtpgsmparse.c: (gst_rtpgsm_caps_nego):
Add missing NULL terminator (#157543).

20 years agoports can go up to 65535. Move common defines to gsttcp.h
Thomas Vander Stichele [Fri, 5 Nov 2004 17:38:20 +0000 (17:38 +0000)]
ports can go up to 65535.  Move common defines to gsttcp.h

Original commit message from CVS:
ports can go up to 65535.  Move common defines to gsttcp.h

20 years agogst/videotestsrc/videotestsrc.c: Added two more colorspaces.
Wim Taymans [Fri, 5 Nov 2004 15:07:57 +0000 (15:07 +0000)]
gst/videotestsrc/videotestsrc.c: Added two more colorspaces.

Original commit message from CVS:
* gst/videotestsrc/videotestsrc.c: (paint_setup_Y41B),
(paint_hline_Y41B), (paint_setup_Y42B), (paint_hline_Y42B):
Added two more colorspaces.

20 years agogst/ffmpegcolorspace/: More stride fixes.
Wim Taymans [Fri, 5 Nov 2004 14:58:49 +0000 (14:58 +0000)]
gst/ffmpegcolorspace/: More stride fixes.

Original commit message from CVS:
* gst/ffmpegcolorspace/gstffmpegcodecmap.c:
(gst_ffmpegcsp_avpicture_fill):
* gst/ffmpegcolorspace/imgconvert.c: (avpicture_get_size),
(yuv422p_to_yuv422), (yuv420p_to_yuv422), (shrink12),
(img_convert), (deinterlace_line), (deinterlace_line_inplace):
More stride fixes.

20 years agogst/: More stride fixes.
Wim Taymans [Fri, 5 Nov 2004 11:22:17 +0000 (11:22 +0000)]
gst/: More stride fixes.

Original commit message from CVS:
* gst/alpha/gstalpha.c: (gst_alpha_set_property), (gst_alpha_add),
(gst_alpha_chroma_key), (gst_alpha_init_params), (gst_alpha_chain):
* gst/videomixer/videomixer.c: (gst_videomixer_blend_ayuv_i420),
(gst_videomixer_fill_checker), (gst_videomixer_blend_buffers),
(gst_videomixer_loop):
More stride fixes.

20 years agoext/mad/gstmad.c: don't overflow data buffer. Flush not needed sync data when syncing...
Benjamin Otte [Fri, 5 Nov 2004 03:33:26 +0000 (03:33 +0000)]
ext/mad/gstmad.c: don't overflow data buffer. Flush not needed sync data when syncing failed.

Original commit message from CVS:
* ext/mad/gstmad.c: (gst_mad_chain):
don't overflow data buffer. Flush not needed sync data when syncing
failed.

20 years agogst/alpha/gstalpha.c: Updated the chroma keying algorithm with something more sophist...
Wim Taymans [Thu, 4 Nov 2004 17:15:19 +0000 (17:15 +0000)]
gst/alpha/gstalpha.c: Updated the chroma keying algorithm with something more sophisticated.

Original commit message from CVS:
* gst/alpha/gstalpha.c: (gst_alpha_method_get_type),
(gst_alpha_class_init), (gst_alpha_init), (gst_alpha_set_property),
(gst_alpha_get_property), (gst_alpha_add), (gst_alpha_chroma_key),
(gst_alpha_init_params), (gst_alpha_chain),
(gst_alpha_change_state):
Updated the chroma keying algorithm with something more
sophisticated.

20 years agogst/videomixer/videomixer.c: Fix stride issues. Does not completely work for odd...
Wim Taymans [Wed, 3 Nov 2004 18:57:00 +0000 (18:57 +0000)]
gst/videomixer/videomixer.c: Fix stride issues. Does not completely work for odd heights.

Original commit message from CVS:
* gst/videomixer/videomixer.c: (gst_videomixer_blend_ayuv_i420),
(gst_videomixer_fill_checker), (gst_videomixer_fill_color),
(gst_videomixer_blend_buffers), (gst_videomixer_loop):
Fix stride issues. Does not completely work for odd
heights.

20 years agogst/alpha/gstalpha.c: Fix stride issues. Does not completely work for odd heights.
Wim Taymans [Wed, 3 Nov 2004 18:54:50 +0000 (18:54 +0000)]
gst/alpha/gstalpha.c: Fix stride issues. Does not completely work for odd heights.

Original commit message from CVS:
* gst/alpha/gstalpha.c: (gst_alpha_method_get_type),
(gst_alpha_chroma_key), (gst_alpha_chain):
Fix stride issues. Does not completely work for odd
heights.

20 years agogst/videoscale/: leak fixes
Christophe Fergeau [Wed, 3 Nov 2004 16:08:13 +0000 (16:08 +0000)]
gst/videoscale/: leak fixes

Original commit message from CVS:
2004-11-03  Christophe Fergeau  <teuf@gnome.org>

* gst/videoscale/gstvideoscale.c: (gst_videoscale_getcaps):
* gst/videoscale/videoscale.c: (videoscale_find_by_structure):
leak fixes

20 years agogst/ffmpegcolorspace/: Use correct _fill function to get correct strides.
Wim Taymans [Wed, 3 Nov 2004 15:46:14 +0000 (15:46 +0000)]
gst/ffmpegcolorspace/: Use correct _fill function to get correct strides.

Original commit message from CVS:
* gst/ffmpegcolorspace/gstffmpegcodecmap.c:
(gst_ffmpegcsp_avpicture_fill):
* gst/ffmpegcolorspace/imgconvert.c: (avpicture_get_size),
(avpicture_alloc):
* gst/ffmpegcolorspace/imgconvert_template.h:
Use correct _fill function to get correct strides.

20 years agogst/qtdemux/qtdemux.c: Change all g_print()s to debugging. Add a bunch of consistenc...
David Schleef [Tue, 2 Nov 2004 23:50:15 +0000 (23:50 +0000)]
gst/qtdemux/qtdemux.c: Change all g_print()s to debugging.  Add a bunch of consistency checks.

Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (gst_qtdemux_loop_header),
(gst_qtdemux_add_stream), (qtdemux_parse), (qtdemux_parse_tree),
(qtdemux_parse_udta), (qtdemux_tag_add), (gst_qtdemux_handle_esds):
Change all g_print()s to debugging.  Add a bunch of consistency
checks.

20 years agogst/playback/: Fix playback of multiple files. a slightly different approach to handl...
Wim Taymans [Tue, 2 Nov 2004 10:30:35 +0000 (10:30 +0000)]
gst/playback/: Fix playback of multiple files. a slightly different approach to handling dynamic pad removals.

Original commit message from CVS:
* gst/playback/gstdecodebin.c: (gst_decode_bin_class_init),
(try_to_link_1), (get_our_ghost_pad), (remove_element_chain),
(unlinked), (no_more_pads), (close_link):
* gst/playback/gstplaybasebin.c: (gst_play_base_bin_init),
(unknown_type), (add_element_stream), (new_decoded_pad),
(removed_decoded_pad), (setup_source):
* gst/playback/gststreaminfo.c: (gst_stream_info_get_type),
(gst_stream_info_class_init), (gst_stream_info_init),
(gst_stream_info_new), (gst_stream_info_dispose),
(stream_info_mute_pad), (gst_stream_info_set_property),
(gst_stream_info_get_property):
* gst/playback/gststreaminfo.h:
Fix playback of multiple files.
a slightly different approach to handling dynamic pad removals.
This one only looks at pads that we have linked.

20 years agoext/ogg/gstoggdemux.c: fix an "invalid free" warning from libc.
Christophe Fergeau [Mon, 1 Nov 2004 17:25:07 +0000 (17:25 +0000)]
ext/ogg/gstoggdemux.c: fix an "invalid free" warning from libc.

Original commit message from CVS:
2004-11-01  Christophe Fergeau  <teuf@gnome.org>

* ext/ogg/gstoggdemux.c: (gst_ogg_demux_finalize): fix an "invalid
free" warning from libc.

20 years agogst/playback/gstdecodebin.c: Implement support for dynamic pad changing. We listen...
Ronald S. Bultje [Mon, 1 Nov 2004 16:08:32 +0000 (16:08 +0000)]
gst/playback/gstdecodebin.c: Implement support for dynamic pad changing. We listen to "live" pad removals (i.e. while...

Original commit message from CVS:
* gst/playback/gstdecodebin.c: (gst_decode_bin_class_init),
(get_unconnected_element), (remove_starting_from), (pad_removed),
(close_link):
Implement support for dynamic pad changing. We listen to "live"
pad removals (i.e. while playing) and re-setup autoplugging
after that. Playbasebin/playbin need some more work for this
to finally work, but decodebin supports (and replugs) chained
ogg now.

20 years agoFixes a bunch of problems with finalize and dispose functions, either assumptions...
Jan Schmidt [Mon, 1 Nov 2004 14:43:38 +0000 (14:43 +0000)]
Fixes a bunch of problems with finalize and dispose functions, either assumptions that dispose is only called once, o...

Original commit message from CVS:
* ext/alsa/gstalsa.c: (gst_alsa_class_init), (gst_alsa_dispose),
(gst_alsa_finalize):
* ext/cdaudio/gstcdaudio.c: (gst_cdaudio_class_init),
(gst_cdaudio_finalize):
* ext/cdparanoia/gstcdparanoia.c: (cdparanoia_class_init),
(cdparanoia_finalize):
* ext/divx/gstdivxdec.c: (gst_divxdec_dispose):
* ext/divx/gstdivxenc.c: (gst_divxenc_dispose):
* ext/dvdread/dvdreadsrc.c: (dvdreadsrc_class_init),
(dvdreadsrc_finalize):
* ext/flac/gstflacdec.c: (gst_flacdec_class_init),
(gst_flacdec_finalize):
* ext/flac/gstflacenc.c: (gst_flacenc_class_init),
(gst_flacenc_finalize):
* ext/gnomevfs/gstgnomevfssink.c: (gst_gnomevfssink_class_init),
(gst_gnomevfssink_finalize):
* ext/gnomevfs/gstgnomevfssrc.c: (gst_gnomevfssrc_class_init),
(gst_gnomevfssrc_finalize):
* ext/libfame/gstlibfame.c: (gst_fameenc_class_init),
(gst_fameenc_finalize):
* ext/nas/nassink.c: (gst_nassink_class_init),
(gst_nassink_finalize):
* ext/sdl/sdlvideosink.c: (gst_sdlvideosink_finalize),
(gst_sdlvideosink_class_init):
* ext/sndfile/gstsf.c: (gst_sf_dispose):
* gst-libs/gst/mixer/mixertrack.c: (gst_mixer_track_dispose):
* gst-libs/gst/tuner/tunerchannel.c: (gst_tuner_channel_dispose):
* gst-libs/gst/tuner/tunernorm.c: (gst_tuner_norm_dispose):
* gst-libs/gst/xwindowlistener/xwindowlistener.c:
(gst_x_window_listener_dispose):
* gst/audioscale/gstaudioscale.c:
* gst/playondemand/gstplayondemand.c: (play_on_demand_class_init),
(play_on_demand_finalize):
* gst/videofilter/gstvideobalance.c: (gst_videobalance_dispose):
* gst/videoscale/gstvideoscale.c: (gst_videoscale_chain):
* sys/cdrom/gstcdplayer.c: (cdplayer_class_init),
(cdplayer_finalize):
* sys/glsink/glimagesink.c: (gst_glimagesink_finalize),
(gst_glimagesink_class_init):
* sys/oss/gstosselement.c: (gst_osselement_class_init),
(gst_osselement_finalize):
* sys/oss/gstosssink.c: (gst_osssink_dispose):
* sys/oss/gstosssrc.c: (gst_osssrc_dispose):
* sys/v4l/gstv4lelement.c: (gst_v4lelement_dispose):
Fixes a bunch of problems with finalize and dispose functions,
either assumptions that dispose is only called once, or not calling
the parent class dispose/finalize function

20 years agoadded two api precondition guards use g_strdup with getenv to fix crash when using...
Stefan Kost [Mon, 1 Nov 2004 11:45:26 +0000 (11:45 +0000)]
added two api precondition guards use g_strdup with getenv to fix crash when using ENVVAR

Original commit message from CVS:
added two api precondition guards
use g_strdup with getenv to fix crash when using ENVVAR

20 years agoext/esd/esdsink.c: Use a finalize function, not dispose, and more importantly, call...
Jan Schmidt [Mon, 1 Nov 2004 11:02:31 +0000 (11:02 +0000)]
ext/esd/esdsink.c: Use a finalize function, not dispose, and more importantly, call the parent class finalize functio...

Original commit message from CVS:
* ext/esd/esdsink.c: (gst_esdsink_class_init),
(gst_esdsink_finalize):
Use a finalize function, not dispose, and more importantly,
call the parent class finalize function too

20 years agoPlug more leaks.
Johan Dahlin [Mon, 1 Nov 2004 10:38:29 +0000 (10:38 +0000)]
Plug more leaks.

Original commit message from CVS:
Plug more leaks.

20 years agogst/tags/gstvorbistag.c: lotsa memleaks today. But they're all small...
Benjamin Otte [Sun, 31 Oct 2004 17:29:01 +0000 (17:29 +0000)]
gst/tags/gstvorbistag.c: lotsa memleaks today. But they're all small...

Original commit message from CVS:
* gst/tags/gstvorbistag.c: (gst_vorbis_tag_chain):
lotsa memleaks today. But they're all small...

20 years agoext/ogg/gstoggdemux.c: another memleak crushed
Benjamin Otte [Sun, 31 Oct 2004 17:16:57 +0000 (17:16 +0000)]
ext/ogg/gstoggdemux.c: another memleak crushed

Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_push):
another memleak crushed

20 years agogst/tags/gstvorbistag.c: fix memleak
Benjamin Otte [Sun, 31 Oct 2004 16:26:01 +0000 (16:26 +0000)]
gst/tags/gstvorbistag.c: fix memleak

Original commit message from CVS:
* gst/tags/gstvorbistag.c: (gst_tag_to_vorbis_comments):
fix memleak

20 years agoext/ogg/gstoggdemux.c: Hack to prevent crash when going to READY inside signal handle...
Ronald S. Bultje [Sun, 31 Oct 2004 15:33:43 +0000 (15:33 +0000)]
ext/ogg/gstoggdemux.c: Hack to prevent crash when going to READY inside signal handler while this function is active.

Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_push):
Hack to prevent crash when going to READY inside signal handler
while this function is active.

20 years agogst/ffmpegcolorspace/: Sync back from gst-ffmpeg. Deprecates ffcolorspace. Adds palle...
Ronald S. Bultje [Sun, 31 Oct 2004 14:33:17 +0000 (14:33 +0000)]
gst/ffmpegcolorspace/: Sync back from gst-ffmpeg. Deprecates ffcolorspace. Adds pallette handling plus update from ff...

Original commit message from CVS:
* gst/ffmpegcolorspace/Makefile.am:
* gst/ffmpegcolorspace/avcodec.h:
* gst/ffmpegcolorspace/common.h:
* gst/ffmpegcolorspace/dsputil.c: (dsputil_static_init):
* gst/ffmpegcolorspace/dsputil.h:
* gst/ffmpegcolorspace/gstffmpeg.c: (plugin_init):
* gst/ffmpegcolorspace/gstffmpegcodecmap.c:
(gst_ffmpeg_get_palette), (gst_ffmpeg_set_palette),
(gst_ffmpeg_pixfmt_to_caps), (gst_ffmpeg_smpfmt_to_caps),
(gst_ffmpegcsp_codectype_to_caps), (gst_ffmpeg_caps_to_smpfmt),
(gst_ffmpeg_caps_to_pixfmt), (gst_ffmpegcsp_caps_with_codectype),
(gst_ffmpegcsp_avpicture_fill):
* gst/ffmpegcolorspace/gstffmpegcodecmap.h:
* gst/ffmpegcolorspace/gstffmpegcolorspace.c:
(gst_ffmpegcsp_caps_remove_format_info), (gst_ffmpegcsp_getcaps),
(gst_ffmpegcsp_pad_link), (gst_ffmpegcsp_get_type),
(gst_ffmpegcsp_base_init), (gst_ffmpegcsp_class_init),
(gst_ffmpegcsp_init), (gst_ffmpegcsp_chain),
(gst_ffmpegcsp_change_state), (gst_ffmpegcsp_set_property),
(gst_ffmpegcsp_get_property), (gst_ffmpegcolorspace_register):
* gst/ffmpegcolorspace/imgconvert.c:
(avcodec_get_chroma_sub_sample), (avcodec_get_pix_fmt_name),
(avcodec_get_pix_fmt), (avpicture_fill), (avpicture_layout),
(avpicture_get_size), (avcodec_get_pix_fmt_loss),
(avg_bits_per_pixel), (avcodec_find_best_pix_fmt1),
(avcodec_find_best_pix_fmt), (img_copy_plane), (img_copy),
(yuv422_to_yuv420p), (uyvy422_to_yuv420p), (uyvy422_to_yuv422p),
(yuv422_to_yuv422p), (yuv422p_to_yuv422), (yuv422p_to_uyvy422),
(uyvy411_to_yuv411p), (yuv420p_to_yuv422), (C_JPEG_TO_CCIR),
(img_convert_init), (img_apply_table), (shrink41), (shrink21),
(shrink12), (shrink22), (shrink44), (grow21_line), (grow41_line),
(grow21), (grow22), (grow41), (grow44), (conv411),
(gif_clut_index), (build_rgb_palette), (bitcopy_n), (mono_to_gray),
(monowhite_to_gray), (monoblack_to_gray), (gray_to_mono),
(gray_to_monowhite), (gray_to_monoblack), (avpicture_alloc),
(avpicture_free), (is_yuv_planar), (img_convert),
(get_alpha_info_pal8), (img_get_alpha_info), (deinterlace_line),
(deinterlace_line_inplace), (deinterlace_bottom_field),
(deinterlace_bottom_field_inplace), (avpicture_deinterlace):
* gst/ffmpegcolorspace/imgconvert_template.h:
* gst/ffmpegcolorspace/mem.c: (av_malloc), (av_realloc), (av_free):
* gst/ffmpegcolorspace/mmx.h:
* gst/ffmpegcolorspace/utils.c: (av_mallocz), (av_strdup),
(av_fast_realloc), (av_mallocz_static), (av_free_static),
(av_freep), (avcodec_get_context_defaults),
(avcodec_alloc_context), (avcodec_init):
Sync back from gst-ffmpeg. Deprecates ffcolorspace. Adds pallette
handling plus update from ffmpeg CVS. Large clean-up.

20 years agogst/playback/Makefile.am: We need the marshallers for decodebin, too.
Ronald S. Bultje [Sun, 31 Oct 2004 13:37:25 +0000 (13:37 +0000)]
gst/playback/Makefile.am: We need the marshallers for decodebin, too.

Original commit message from CVS:
* gst/playback/Makefile.am:
We need the marshallers for decodebin, too.

20 years agogst/typefind/gsttypefindfunctions.c: Make quicktime typefinding work with 64-bit...
David Schleef [Sun, 31 Oct 2004 02:09:40 +0000 (02:09 +0000)]
gst/typefind/gsttypefindfunctions.c: Make quicktime typefinding work with 64-bit offsets.

Original commit message from CVS:
* gst/typefind/gsttypefindfunctions.c: (qt_type_find): Make
quicktime typefinding work with 64-bit offsets.

20 years agoext/dv/gstdvdec.c: Set EOS on the element when processing an EOS event.
Jan Schmidt [Sat, 30 Oct 2004 06:44:03 +0000 (06:44 +0000)]
ext/dv/gstdvdec.c: Set EOS on the element when processing an EOS event.

Original commit message from CVS:
* ext/dv/gstdvdec.c: (gst_dvdec_handle_sink_event):
Set EOS on the element when processing an EOS event.
* ext/speex/gstspeexdec.h:
* ext/speex/gstspeexenc.h:
Only keep a const ptr to the mode
* gst-libs/gst/riff/riff-media.c:
(gst_riff_create_audio_caps_with_data),
(gst_riff_create_audio_template_caps):
Allow WMAV3, with up to 6 channels.
* gst/asfdemux/gstasfmux.c: (gst_asfmux_request_new_pad):
Don't call gst_pad_set_event_function on a sink pad.
* gst/mpegstream/gstdvddemux.c:
(gst_dvd_demux_get_subpicture_stream),
(gst_dvd_demux_set_cur_audio), (gst_dvd_demux_set_cur_subpicture):
Copy the explicit caps that were set across to the cur_* pads,
instead of trying to use a possibly non-existent negotiated caps.
Reset the type of subpicture pads to UNKNOWN after calling init_stream,
so that the caps get set.

20 years agogst/asfdemux/gstasfdemux.c: Don't touch buffer if it is of size 0 (fixes #151064).
Ronald S. Bultje [Fri, 29 Oct 2004 17:27:43 +0000 (17:27 +0000)]
gst/asfdemux/gstasfdemux.c: Don't touch buffer if it is of size 0 (fixes #151064).

Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_process_chunk):
Don't touch buffer if it is of size 0 (fixes #151064).

20 years agoext/ogg/gstoggdemux.c: Synchronized discont handling.
Ronald S. Bultje [Fri, 29 Oct 2004 16:18:08 +0000 (16:18 +0000)]
ext/ogg/gstoggdemux.c: Synchronized discont handling.

Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_push), (gst_ogg_pad_push):
Synchronized discont handling.

20 years agoext/ogg/gstoggdemux.c: Make seeking sort-of exact again (fixes #156387).
Ronald S. Bultje [Fri, 29 Oct 2004 15:59:37 +0000 (15:59 +0000)]
ext/ogg/gstoggdemux.c: Make seeking sort-of exact again (fixes #156387).

Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_src_event),
(gst_ogg_demux_push):
Make seeking sort-of exact again (fixes #156387).

20 years agogst/playback/: Make caps explicitely available. Makes testing for unsupported types...
Ronald S. Bultje [Fri, 29 Oct 2004 15:27:09 +0000 (15:27 +0000)]
gst/playback/: Make caps explicitely available. Makes testing for unsupported types possible. Improves error reporting.

Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (unknown_type),
(add_element_stream), (new_decoded_pad),
(gst_play_base_bin_change_state):
* gst/playback/gststreaminfo.c: (gst_stream_info_class_init),
(gst_stream_info_init), (gst_stream_info_new),
(gst_stream_info_dispose), (gst_stream_info_get_property):
* gst/playback/gststreaminfo.h:
Make caps explicitely available. Makes testing for unsupported
types possible. Improves error reporting.

20 years agogst/audioconvert/gstaudioconvert.c: Really don't touch read-only buffers (#156563).
Ronald S. Bultje [Fri, 29 Oct 2004 12:48:45 +0000 (12:48 +0000)]
gst/audioconvert/gstaudioconvert.c: Really don't touch read-only buffers (#156563).

Original commit message from CVS:
* gst/audioconvert/gstaudioconvert.c:
(gst_audio_convert_buffer_to_default_format):
Really don't touch read-only buffers (#156563).

20 years agogst/wavparse/gstwavparse.c: Fix memleak (#155223).
Ronald S. Bultje [Fri, 29 Oct 2004 11:57:34 +0000 (11:57 +0000)]
gst/wavparse/gstwavparse.c: Fix memleak (#155223).

Original commit message from CVS:
Reviewd by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* gst/wavparse/gstwavparse.c: (gst_wavparse_fmt):
Fix memleak (#155223).

20 years agogst/tcp/: Added burst on connect sync_method, deprecated sync_clients, streamlined...
Wim Taymans [Fri, 29 Oct 2004 11:10:38 +0000 (11:10 +0000)]
gst/tcp/: Added burst on connect sync_method, deprecated sync_clients, streamlined the sync code some more.

Original commit message from CVS:
* gst/tcp/.cvsignore:
* gst/tcp/gstmultifdsink.c: (gst_sync_method_get_type),
(gst_multifdsink_class_init), (gst_multifdsink_init),
(gst_multifdsink_add), (gst_multifdsink_remove),
(gst_multifdsink_remove_client_link), (is_sync_frame),
(gst_multifdsink_new_client),
(gst_multifdsink_handle_client_write),
(gst_multifdsink_recover_client), (gst_multifdsink_queue_buffer),
(gst_multifdsink_handle_clients), (gst_multifdsink_set_property),
(gst_multifdsink_get_property):
* gst/tcp/gstmultifdsink.h:
Added burst on connect sync_method, deprecated sync_clients,
streamlined the sync code some more.

20 years agogst/playback/gstplaybasebin.c: Improve error reporting.
Ronald S. Bultje [Fri, 29 Oct 2004 08:40:28 +0000 (08:40 +0000)]
gst/playback/gstplaybasebin.c: Improve error reporting.

Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (thread_error), (setup_source),
(gst_play_base_bin_change_state):
Improve error reporting.

20 years agogst/tcp/: Added more locks around fdset structures. Fixed/reworked the poll array...
Wim Taymans [Thu, 28 Oct 2004 14:22:14 +0000 (14:22 +0000)]
gst/tcp/: Added more locks around fdset structures. Fixed/reworked the poll array resizing code.

Original commit message from CVS:
* gst/tcp/Makefile.am:
* gst/tcp/fdsetstress.c: (mess_some_more), (run_test), (main):
* gst/tcp/gstfdset.c: (nearest_pow), (resize), (ensure_size),
(gst_fdset_new), (gst_fdset_free), (gst_fdset_set_mode),
(gst_fdset_fd_ctl_write), (gst_fdset_fd_ctl_read),
(gst_fdset_fd_has_closed), (gst_fdset_fd_has_error),
(gst_fdset_fd_can_read), (gst_fdset_fd_can_write),
(gst_fdset_wait):
Added more locks around fdset structures. Fixed/reworked
the poll array resizing code.
Added stress test for fdset.

20 years agogst-libs/gst/audio/gstaudiofilter.c: fix build
Zaheer Abbas Merali [Thu, 28 Oct 2004 12:51:23 +0000 (12:51 +0000)]
gst-libs/gst/audio/gstaudiofilter.c: fix build

Original commit message from CVS:
2004-10-28  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

* gst-libs/gst/audio/gstaudiofilter.c: (gst_audiofilter_link):
fix build

20 years agogst-libs/gst/audio/gstaudiofilter.c: fix link function to always query channels and...
Benjamin Otte [Thu, 28 Oct 2004 02:33:47 +0000 (02:33 +0000)]
gst-libs/gst/audio/gstaudiofilter.c: fix link function to always query channels and query width for floats

Original commit message from CVS:
* gst-libs/gst/audio/gstaudiofilter.c: (gst_audiofilter_link):
fix link function to always query channels and query width for
floats
* configure.ac:
add equalizer dir
* gst/equalizer/Makefile.am:
* gst/equalizer/gstiirequalizer.c: (gst_iir_equalizer_get_type),
(gst_iir_equalizer_base_init), (gst_iir_equalizer_class_init),
(gst_iir_equalizer_init), (gst_iir_equalizer_finalize),
(arg_to_scale), (setup_filter),
(gst_iir_equalizer_compute_frequencies),
(gst_iir_equalizer_set_property), (gst_iir_equalizer_get_property),
(gst_iir_equalizer_filter_inplace), (gst_iir_equalizer_setup),
(plugin_init):
add an equalizer

20 years agocommitting Norwegian Bokmaal translation
Thomas Vander Stichele [Wed, 27 Oct 2004 21:45:58 +0000 (21:45 +0000)]
committing Norwegian Bokmaal translation

Original commit message from CVS:
committing Norwegian Bokmaal translation

20 years agoext/alsa/gstalsamixer.c: Don't break on options (fixes #156488).
Ronald S. Bultje [Wed, 27 Oct 2004 09:21:25 +0000 (09:21 +0000)]
ext/alsa/gstalsamixer.c: Don't break on options (fixes #156488).

Original commit message from CVS:
* ext/alsa/gstalsamixer.c: (gst_alsa_mixer_build_list):
Don't break on options (fixes #156488).

20 years agofix build on older automake
Thomas Vander Stichele [Wed, 27 Oct 2004 00:21:33 +0000 (00:21 +0000)]
fix build on older automake

Original commit message from CVS:
fix build on older automake

20 years agoext/dv/gstdvdec.c: Allow a little margin when negotiating the framerate.
Wim Taymans [Tue, 26 Oct 2004 17:59:18 +0000 (17:59 +0000)]
ext/dv/gstdvdec.c: Allow a little margin when negotiating the framerate.

Original commit message from CVS:
* ext/dv/gstdvdec.c: (gst_dvdec_video_getcaps),
(gst_dvdec_video_link), (gst_dvdec_push), (gst_dvdec_loop):
Allow a little margin when negotiating the framerate.

20 years agosynchonised naming of pads and pad-templates
Stefan Kost [Tue, 26 Oct 2004 15:36:17 +0000 (15:36 +0000)]
synchonised naming of pads and pad-templates

Original commit message from CVS:
synchonised naming of pads and pad-templates

20 years agoext/ogg/gstoggdemux.c: Fix EOS again. Needs to be done in a better way. We should...
Wim Taymans [Tue, 26 Oct 2004 14:41:06 +0000 (14:41 +0000)]
ext/ogg/gstoggdemux.c: Fix EOS again. Needs to be done in a better way. We should not remove the pad if there is no n...

Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_src_event),
(gst_ogg_demux_handle_event), (_find_chain_get_unknown_part),
(_find_streams_check), (gst_ogg_demux_push):
Fix EOS again. Needs to be done in a better way. We should not
remove the pad if there is no new chained stream.

20 years agoMemory leak fixes
Iain Holmes [Tue, 26 Oct 2004 11:36:52 +0000 (11:36 +0000)]
Memory leak fixes

Original commit message from CVS:
Memory leak fixes
Allow level to take mono or stereo audio

20 years agogst/avi/gstavimux.c: First calculate the rate, and only then use it. Hdr.rate is...
Ronald S. Bultje [Tue, 26 Oct 2004 11:22:07 +0000 (11:22 +0000)]
gst/avi/gstavimux.c: First calculate the rate, and only then use it. Hdr.rate is a multiple and not a derivative of h...

Original commit message from CVS:
* gst/avi/gstavimux.c: (gst_avimux_audsinkconnect),
(gst_avimux_stop_file):
First calculate the rate, and only then use it. Hdr.rate is a
multiple and not a derivative of hdr.scale. Scale is not the
same as blockalign but is solely related to rate.

20 years agoext/gnomevfs/gstgnomevfssink.c: Implement seeking.
Ronald S. Bultje [Tue, 26 Oct 2004 08:07:38 +0000 (08:07 +0000)]
ext/gnomevfs/gstgnomevfssink.c: Implement seeking.

Original commit message from CVS:
* ext/gnomevfs/gstgnomevfssink.c: (gst_gnomevfssink_init),
(gst_gnomevfssink_handle_event), (gst_gnomevfssink_chain):
Implement seeking.

20 years agoFix last entry
David Schleef [Tue, 26 Oct 2004 05:15:11 +0000 (05:15 +0000)]
Fix last entry

Original commit message from CVS:
Fix last entry

20 years agoexamples/:
David Schleef [Tue, 26 Oct 2004 05:13:22 +0000 (05:13 +0000)]
examples/:

Original commit message from CVS:
* examples/gstplay/player.c: (got_stream_length), (main):
* examples/seeking/cdplayer.c: (update_scale):
* examples/seeking/seek.c: (format_value), (update_scale):
* examples/seeking/spider_seek.c: (format_value), (update_scale),
(stop_seek):

20 years agosys/v4l/v4l_calls.c: Fix for some v4l cards which hang in v4lsrc
Zaheer Abbas Merali [Mon, 25 Oct 2004 18:42:47 +0000 (18:42 +0000)]
sys/v4l/v4l_calls.c: Fix for some v4l cards which hang in v4lsrc

Original commit message from CVS:
2004-10-25  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

reviewed by: Ronald Bultje <rbultje at gnome dot org>

* sys/v4l/v4l_calls.c: (gst_v4l_get_chan_names):
Fix for some v4l cards which hang in v4lsrc

20 years agoext/ogg/gstoggdemux.c: Make sure to remove the pad when a new chain is encountered...
Wim Taymans [Mon, 25 Oct 2004 17:46:03 +0000 (17:46 +0000)]
ext/ogg/gstoggdemux.c: Make sure to remove the pad when a new chain is encountered. Set some vars to NULL so we don't...

Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_remove),
(gst_ogg_demux_push), (gst_ogg_chains_clear):
Make sure to remove the pad when a new chain is
encountered. Set some vars to NULL so we don't try
to reference freed memory.

20 years agoexamples/seeking/: Added some more examples, update others.
Wim Taymans [Mon, 25 Oct 2004 17:43:51 +0000 (17:43 +0000)]
examples/seeking/: Added some more examples, update others.

Original commit message from CVS:
* examples/seeking/Makefile.am:
* examples/seeking/cdplayer.c: (update_scale):
* examples/seeking/chained.c: (unlinked), (new_pad), (main):
* examples/seeking/playbin.c: (make_playerbin_pipeline),
(format_value), (update_scale), (iterate), (start_seek),
(stop_seek), (print_media_info), (play_cb), (pause_cb), (stop_cb),
(print_usage), (main):
Added some more examples, update others.

20 years agoext/: Add codec-name metadata.
Ronald S. Bultje [Mon, 25 Oct 2004 16:10:58 +0000 (16:10 +0000)]
ext/: Add codec-name metadata.

Original commit message from CVS:
* ext/flac/gstflacdec.c: (gst_flacdec_update_metadata):
* ext/speex/gstspeexdec.c: (speex_dec_chain):
* ext/theora/theoradec.c: (theora_dec_chain):
* ext/vorbis/vorbisdec.c: (vorbis_dec_chain):
Add codec-name metadata.

20 years agoALSA mixer track label internationalization (#154054).
Ronald S. Bultje [Mon, 25 Oct 2004 15:58:35 +0000 (15:58 +0000)]
ALSA mixer track label internationalization (#154054).

Original commit message from CVS:
Reviewd by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* ext/alsa/gstalsamixer.c: (gst_alsa_mixer_build_list):
* ext/alsa/gstalsamixertrack.c: (gst_alsa_mixer_track_new):
* ext/alsa/gstalsamixertrack.h:
* po/POTFILES.in:
ALSA mixer track label internationalization (#154054).

20 years agoext/theora/theoradec.c: Export bitrate as metadata.
Ronald S. Bultje [Mon, 25 Oct 2004 15:31:50 +0000 (15:31 +0000)]
ext/theora/theoradec.c: Export bitrate as metadata.

Original commit message from CVS:
* ext/theora/theoradec.c: (theora_dec_chain):
Export bitrate as metadata.

20 years agoext/alsa/: Fix names, fix loop.
Ronald S. Bultje [Mon, 25 Oct 2004 13:51:40 +0000 (13:51 +0000)]
ext/alsa/: Fix names, fix loop.

Original commit message from CVS:
* ext/alsa/gstalsamixer.c: (gst_alsa_mixer_build_list):
* ext/alsa/gstalsamixertrack.c: (gst_alsa_mixer_track_new):
* ext/alsa/gstalsamixertrack.h:
Fix names, fix loop.

20 years agoext/speex/gstspeexdec.c: sinkconvert function so oggdemux can get the file length...
Ronald S. Bultje [Mon, 25 Oct 2004 09:56:12 +0000 (09:56 +0000)]
ext/speex/gstspeexdec.c: sinkconvert function so oggdemux can get the file length (totem).

Original commit message from CVS:
* ext/speex/gstspeexdec.c: (gst_speex_dec_init),
(speex_dec_convert):
sinkconvert function so oggdemux can get the file length (totem).

20 years agogst/asfdemux/gstasfdemux.c: Don't push incomplete packets.
Ronald S. Bultje [Mon, 25 Oct 2004 09:01:43 +0000 (09:01 +0000)]
gst/asfdemux/gstasfdemux.c: Don't push incomplete packets.

Original commit message from CVS:
Reviewd by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_process_chunk):
Don't push incomplete packets.
* gst/typefind/gsttypefindfunctions.c: (m4a_type_find):
Fix MPEG-4 audio typefinding.

20 years agosys/: Remove client-side overlay handling, use the X-server v4l plugin for that....
Ronald S. Bultje [Mon, 25 Oct 2004 08:51:14 +0000 (08:51 +0000)]
sys/: Remove client-side overlay handling, use the X-server v4l plugin for that. Nicer overlay, less code. Also make ...

Original commit message from CVS:
* sys/v4l/Makefile.am:
* sys/v4l/gstv4l.c: (plugin_init):
* sys/v4l/gstv4lelement.c: (gst_v4lelement_get_type),
(gst_v4lelement_init), (gst_v4lelement_dispose),
(gst_v4lelement_change_state):
* sys/v4l/gstv4lelement.h:
* sys/v4l/gstv4lxoverlay.c: (gst_v4l_xoverlay_open),
(gst_v4l_xoverlay_close), (idle_refresh),
(gst_v4l_xoverlay_set_xwindow_id):
* sys/v4l/gstv4lxoverlay.h:
* sys/v4l/v4l-overlay_calls.c:
* sys/v4l/v4l_calls.h:
* sys/v4l2/Makefile.am:
* sys/v4l2/gstv4l2.c: (plugin_init):
* sys/v4l2/gstv4l2element.c: (gst_v4l2element_get_type),
(gst_v4l2element_init), (gst_v4l2element_dispose),
(gst_v4l2element_change_state):
* sys/v4l2/gstv4l2element.h:
* sys/v4l2/gstv4l2xoverlay.c: (gst_v4l2_xoverlay_open),
(gst_v4l2_xoverlay_close), (idle_refresh),
(gst_v4l2_xoverlay_set_xwindow_id):
* sys/v4l2/gstv4l2xoverlay.h:
* sys/v4l2/v4l2-overlay_calls.c:
* sys/v4l2/v4l2_calls.h:
Remove client-side overlay handling, use the X-server v4l plugin
for that. Nicer overlay, less code. Also make the plugin
compileable without X (but then without overlay, obviously).
Makes xwindowlistener obsolete, should we remove that?

20 years agosys/oss/gstosssrc.*: OK, so people want offset in DEFAULT. This time, actually fix...
Ronald S. Bultje [Mon, 25 Oct 2004 08:40:07 +0000 (08:40 +0000)]
sys/oss/gstosssrc.*: OK, so people want offset in DEFAULT. This time, actually fix all cases.

Original commit message from CVS:
* sys/oss/gstosssrc.c: (gst_osssrc_get_time), (gst_osssrc_get),
(gst_osssrc_src_query):
* sys/oss/gstosssrc.h:
OK, so people want offset in DEFAULT. This time, actually fix all
cases.
* sys/v4l2/gstv4l2src.c: (gst_v4l2src_getcaps):
Add FPS properly.

20 years agogst/: Framerate.
Ronald S. Bultje [Sun, 24 Oct 2004 21:22:07 +0000 (21:22 +0000)]
gst/: Framerate.

Original commit message from CVS:
* gst/asfdemux/gstasfmux.c:
* gst/avi/gstavimux.c:
Framerate.

20 years agosys/v4l2/gstv4l2element.c: Fix properties (channel, norm, frequency).
Ronald S. Bultje [Sun, 24 Oct 2004 19:37:32 +0000 (19:37 +0000)]
sys/v4l2/gstv4l2element.c: Fix properties (channel, norm, frequency).

Original commit message from CVS:
* sys/v4l2/gstv4l2element.c: (gst_v4l2element_set_property):
Fix properties (channel, norm, frequency).

20 years agosys/v4l2/gstv4l2element.c: Flag typo.
Ronald S. Bultje [Sun, 24 Oct 2004 19:13:58 +0000 (19:13 +0000)]
sys/v4l2/gstv4l2element.c: Flag typo.

Original commit message from CVS:
* sys/v4l2/gstv4l2element.c: (gst_v4l2element_get_property):
Flag typo.
* sys/v4l2/v4l2_calls.c: (gst_v4l2_set_defaults):
No warnings.

20 years agosys/v4l2/v4l2src_calls.c: Fix hang.
Ronald S. Bultje [Sun, 24 Oct 2004 18:15:22 +0000 (18:15 +0000)]
sys/v4l2/v4l2src_calls.c: Fix hang.

Original commit message from CVS:
* sys/v4l2/v4l2src_calls.c: (gst_v4l2src_clear_format_list):
Fix hang.

20 years agosys/v4l2/gstv4l2element.h: Yet Another Hack (tm) for kernel header borkedness.
Ronald S. Bultje [Sun, 24 Oct 2004 15:47:40 +0000 (15:47 +0000)]
sys/v4l2/gstv4l2element.h: Yet Another Hack (tm) for kernel header borkedness.

Original commit message from CVS:
* sys/v4l2/gstv4l2element.h:
Yet Another Hack (tm) for kernel header borkedness.
* sys/v4l2/gstv4l2src.c: (gst_v4l2src_init),
(gst_v4l2src_v4l2fourcc_to_caps), (gst_v4l2_fourcc_from_structure),
(gst_v4l2src_link), (gst_v4l2src_getcaps),
(gst_v4l2src_change_state):
* sys/v4l2/gstv4l2src.h:
* sys/v4l2/v4l2src_calls.c: (gst_v4l2src_capture_init),
(gst_v4l2src_capture_start), (gst_v4l2src_capture_stop):
Fix caps, keep track of state, work.

20 years agosys/v4l/gstv4lsrc.c: Quiet.
Ronald S. Bultje [Sun, 24 Oct 2004 14:26:30 +0000 (14:26 +0000)]
sys/v4l/gstv4lsrc.c: Quiet.

Original commit message from CVS:
* sys/v4l/gstv4lsrc.c: (gst_v4lsrc_getcaps):
Quiet.

20 years agosys/oss/gstosssrc.c: Don't mix bytes and samples.
Ronald S. Bultje [Sun, 24 Oct 2004 14:04:37 +0000 (14:04 +0000)]
sys/oss/gstosssrc.c: Don't mix bytes and samples.

Original commit message from CVS:
* sys/oss/gstosssrc.c: (gst_osssrc_get):
Don't mix bytes and samples.

20 years agoext/ogg/gstoggmux.c: Basic pad template which accepts OGM tracks, speex, flac, vorbis...
Ronald S. Bultje [Sun, 24 Oct 2004 13:41:18 +0000 (13:41 +0000)]
ext/ogg/gstoggmux.c: Basic pad template which accepts OGM tracks, speex, flac, vorbis and theora. Any is incorrect.

Original commit message from CVS:
* ext/ogg/gstoggmux.c:
Basic pad template which accepts OGM tracks, speex, flac, vorbis
and theora. Any is incorrect.
* gst/asfdemux/gstasfmux.c: (gst_asfmux_vidsink_link):
Fix caps.
* sys/v4l/gstv4lmjpegsink.c: (gst_v4lmjpegsink_base_init):
* sys/v4l/gstv4lmjpegsrc.c: (gst_v4lmjpegsrc_base_init),
(gst_v4lmjpegsrc_init), (gst_v4lmjpegsrc_srcconnect),
(gst_v4lmjpegsrc_getcaps), (gst_v4lmjpegsrc_change_state):
* sys/v4l/gstv4lmjpegsrc.h:
* sys/v4l/gstv4lsrc.c: (gst_v4lsrc_src_link), (gst_v4lsrc_getcaps),
(gst_v4lsrc_change_state):
* sys/v4l/v4lmjpegsrc_calls.c: (gst_v4lmjpegsrc_capture_start),
(gst_v4lmjpegsrc_capture_stop):
Fix caps. Keep track of internal state. Work.