platform/upstream/gstreamer.git
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:18 +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:02 +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:42 +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:35 +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:48 +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:53 +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:15 +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:23 +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:38 +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:17 +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.

20 years agoext/Makefile.am: Fix the build fixes.
Ronald S. Bultje [Sat, 23 Oct 2004 11:38:24 +0000 (11:38 +0000)]
ext/Makefile.am: Fix the build fixes.

Original commit message from CVS:
* ext/Makefile.am:
Fix the build fixes.

20 years agoext/ogg/gstoggdemux.c: Check for pad availability before using it.
Ronald S. Bultje [Sat, 23 Oct 2004 10:06:31 +0000 (10:06 +0000)]
ext/ogg/gstoggdemux.c: Check for pad availability before using it.

Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_src_query),
(gst_ogg_demux_src_event), (_find_chain_seek),
(gst_ogg_pad_push):
Check for pad availability before using it.
* ext/ogg/gstoggdemux.c: (_find_chain_process):
Fix parsing of chained ogg. Needs more work on the decoder side.

20 years agogst/spectrum/: Fix demo and reenable it. Yes, I'm currently playing with audio analys...
Benjamin Otte [Fri, 22 Oct 2004 20:09:55 +0000 (20:09 +0000)]
gst/spectrum/: Fix demo and reenable it. Yes, I'm currently playing with audio analysis tools

Original commit message from CVS:
* gst/spectrum/Makefile.am:
* gst/spectrum/demo-osssrc.c: (spectrum_chain), (main),
(idle_func):
Fix demo and reenable it. Yes, I'm currently playing with audio
analysis tools

20 years agoext/ogg/gstoggdemux.c: We love it if files that start at zero work too...
Ronald S. Bultje [Fri, 22 Oct 2004 13:09:12 +0000 (13:09 +0000)]
ext/ogg/gstoggdemux.c: We love it if files that start at zero work too...

Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_push):
We love it if files that start at zero work too...

20 years agoext/ogg/gstoggdemux.c: Handle files with missing EOS headers.
Ronald S. Bultje [Fri, 22 Oct 2004 11:11:28 +0000 (11:11 +0000)]
ext/ogg/gstoggdemux.c: Handle files with missing EOS headers.

Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_iterate):
Handle files with missing EOS headers.

20 years agogst/tcp/gsttcpserversink.c: Zero some variables first (need for accept not to return...
Zaheer Abbas Merali [Thu, 21 Oct 2004 10:53:20 +0000 (10:53 +0000)]
gst/tcp/gsttcpserversink.c: Zero some variables first (need for accept not to return EINVAL)

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

* gst/tcp/gsttcpserversink.c:
(gst_tcpserversink_handle_server_read),
(gst_tcpserversink_init_send):
Zero some variables first (need for accept not to return EINVAL)

20 years agoI lied, I am the One True Buildmaster
Wim Taymans [Wed, 20 Oct 2004 16:48:57 +0000 (16:48 +0000)]
I lied, I am the One True Buildmaster

Original commit message from CVS:
I lied, I am the One True Buildmaster

20 years agoext/: Seeking and querying finetune.
Ronald S. Bultje [Wed, 20 Oct 2004 16:24:18 +0000 (16:24 +0000)]
ext/: Seeking and querying finetune.

Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_src_query),
(gst_ogg_demux_src_event), (gst_ogg_pad_push):
* ext/theora/theoradec.c: (theora_dec_sink_convert),
(theora_dec_chain):
* ext/vorbis/vorbisdec.c: (vorbis_dec_get_formats),
(gst_vorbis_dec_init), (vorbis_dec_convert), (vorbis_dec_chain):
Seeking and querying finetune.

20 years agofix the build
Thomas Vander Stichele [Wed, 20 Oct 2004 13:51:27 +0000 (13:51 +0000)]
fix the build

Original commit message from CVS:
fix the build

20 years agoext/ogg/gstoggdemux.c: Wrong return.
Ronald S. Bultje [Wed, 20 Oct 2004 12:02:19 +0000 (12:02 +0000)]
ext/ogg/gstoggdemux.c: Wrong return.

Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_iterate):
Wrong return.
* gst/playback/Makefile.am:
* gst/playback/gstdecodebin.c: (gst_decode_bin_class_init):
* gst/playback/gstplay-marshal.list:
* gst/playback/gstplaybasebin.c: (gst_play_base_bin_class_init):
Fix marshallers.

20 years agoext/ogg/gstoggdemux.c: Silence.
Ronald S. Bultje [Mon, 18 Oct 2004 19:29:11 +0000 (19:29 +0000)]
ext/ogg/gstoggdemux.c: Silence.

Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_src_event):
Silence.

20 years agoext/ogg/gstoggdemux.c: Yay for non-lineair granulepos in theora.
Ronald S. Bultje [Mon, 18 Oct 2004 19:12:32 +0000 (19:12 +0000)]
ext/ogg/gstoggdemux.c: Yay for non-lineair granulepos in theora.

Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_src_query),
(gst_ogg_demux_src_event), (gst_ogg_pad_populate),
(gst_ogg_pad_push):
Yay for non-lineair granulepos in theora.

20 years agoext/dv/gstdvdec.*: Make sure we renegotiate aspect ratio when the camera switches.
Wim Taymans [Mon, 18 Oct 2004 17:49:09 +0000 (17:49 +0000)]
ext/dv/gstdvdec.*: Make sure we renegotiate aspect ratio when the camera switches.

Original commit message from CVS:
* ext/dv/gstdvdec.c: (gst_dvdec_init), (gst_dvdec_video_getcaps),
(gst_dvdec_video_link), (gst_dvdec_push), (gst_dvdec_loop):
* ext/dv/gstdvdec.h:
Make sure we renegotiate aspect ratio when the camera switches.

20 years agoext/ogg/gstoggdemux.c: Start at zero.
Ronald S. Bultje [Mon, 18 Oct 2004 15:49:00 +0000 (15:49 +0000)]
ext/ogg/gstoggdemux.c: Start at zero.

Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_src_query),
(gst_ogg_demux_src_event), (gst_ogg_pad_push):
Start at zero.
* ext/theora/theoradec.c: (theora_dec_chain):
Skip headers. Bad idea for chained ogg, but fixes seeking.

20 years agoconfigure.ac: I swear, this is the last time I touch this.
Wim Taymans [Mon, 18 Oct 2004 15:37:57 +0000 (15:37 +0000)]
configure.ac: I swear, this is the last time I touch this.

Original commit message from CVS:
* configure.ac:
I swear, this is the last time I touch this.

20 years agoext/ogg/gstoggdemux.c: Faster seeking.
Ronald S. Bultje [Mon, 18 Oct 2004 15:23:41 +0000 (15:23 +0000)]
ext/ogg/gstoggdemux.c: Faster seeking.

Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_src_query),
(gst_ogg_demux_src_event), (gst_ogg_pad_populate),
(_read_bos_process), (gst_ogg_demux_iterate), (gst_ogg_pad_new):
Faster seeking.
* ext/theora/theoradec.c: (theora_dec_sink_convert):
Time-to-default conversion.
* ext/vorbis/vorbisdec.c: (vorbis_dec_chain):
Don't error on unknown packets, just skip. We should probably
read them if we want to support chained ogg.

20 years agoconfigure.ac: Added cdaudio to wrong list.
Wim Taymans [Mon, 18 Oct 2004 15:18:18 +0000 (15:18 +0000)]
configure.ac: Added cdaudio to wrong list.

Original commit message from CVS:
* configure.ac:
Added cdaudio to wrong list.

20 years agoconfigure.ac: Revive cdaudio.
Wim Taymans [Mon, 18 Oct 2004 14:20:10 +0000 (14:20 +0000)]
configure.ac: Revive cdaudio.

Original commit message from CVS:
* configure.ac:
Revive cdaudio.

20 years agoext/: Fix mimetype on smoke encoder.
Wim Taymans [Mon, 18 Oct 2004 14:02:51 +0000 (14:02 +0000)]
ext/: Fix mimetype on smoke encoder.

Original commit message from CVS:
* ext/dv/gstdvdec.c: (gst_dvdec_video_getcaps),
(gst_dvdec_video_link), (gst_dvdec_push):
* ext/jpeg/gstsmokeenc.c: (gst_smokeenc_class_init),
(gst_smokeenc_resync), (gst_smokeenc_chain):
Fix mimetype on smoke encoder.
Add aspect ratio to dvdec. Not sure if these
values are correct though....

20 years agoext/vorbis/vorbisenc.c: Fix vorbis property descriptions and ranges.
Wim Taymans [Mon, 18 Oct 2004 13:55:47 +0000 (13:55 +0000)]
ext/vorbis/vorbisenc.c: Fix vorbis property descriptions and ranges.

Original commit message from CVS:
* ext/vorbis/vorbisenc.c: (gst_vorbisenc_class_init):
Fix vorbis property descriptions and ranges.

20 years agoext/ogg/gstoggdemux.c: Really do nothing when no data is available.
Wim Taymans [Mon, 18 Oct 2004 13:52:15 +0000 (13:52 +0000)]
ext/ogg/gstoggdemux.c: Really do nothing when no data is available.

Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_iterate):
Really do nothing when no data is available.
Go to the playing state when the stream is not seekable
instead of failing.

20 years agoext/cdaudio/gstcdaudio.c: Added uri handler for cd://
Wim Taymans [Mon, 18 Oct 2004 13:45:12 +0000 (13:45 +0000)]
ext/cdaudio/gstcdaudio.c: Added uri handler for cd://

Original commit message from CVS:
* ext/cdaudio/gstcdaudio.c: (_do_init), (gst_cdaudio_base_init),
(gst_cdaudio_get_event_masks), (gst_cdaudio_send_event),
(gst_cdaudio_query), (plugin_init), (cdaudio_uri_get_type),
(cdaudio_uri_get_protocols), (cdaudio_uri_get_uri),
(cdaudio_uri_set_uri), (cdaudio_uri_handler_init):
Added uri handler for cd://
Port to new API.

20 years agogst/playback/: Add sink padtemplate to decodebin.
Wim Taymans [Mon, 18 Oct 2004 13:40:48 +0000 (13:40 +0000)]
gst/playback/: Add sink padtemplate to decodebin.

Original commit message from CVS:
* gst/playback/gstdecodebin.c: (gst_decode_bin_class_init),
(gst_decode_bin_init), (find_compatibles), (close_pad_link),
(try_to_link_1), (no_more_pads), (close_link), (type_found):
* gst/playback/gstplaybasebin.c: (gen_preroll_element),
(remove_prerolls), (unknown_type), (add_element_stream),
(new_decoded_pad), (setup_source), (gst_play_base_bin_add_element),
(gst_play_base_bin_remove_element),
(gst_play_base_bin_link_stream):
* gst/playback/gstplaybin.c: (gen_video_element),
(gen_vis_element), (remove_sinks), (setup_sinks):
* gst/playback/gststreaminfo.c: (gst_stream_type_get_type),
(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:
Add sink padtemplate to decodebin.
Added some more comments.
Make queue size configurable in playbasebin.
Added possibility to use elements as sinks (ex cdaudio).

20 years agoext/speex/gstspeexenc.c: Fix speex timestamps so that it gets muxed properly.
Wim Taymans [Mon, 18 Oct 2004 10:57:45 +0000 (10:57 +0000)]
ext/speex/gstspeexenc.c: Fix speex timestamps so that it gets muxed properly.

Original commit message from CVS:
* ext/speex/gstspeexenc.c: (gst_speexenc_class_init),
(gst_speexenc_chain):
Fix speex timestamps so that it gets muxed properly.

20 years agoext/raw1394/gstdv1394src.*: Added conversion/query functions.
Wim Taymans [Fri, 15 Oct 2004 14:35:54 +0000 (14:35 +0000)]
ext/raw1394/gstdv1394src.*: Added conversion/query functions.

Original commit message from CVS:
* ext/raw1394/gstdv1394src.c: (gst_dv1394src_get_type),
(gst_dv1394src_base_init), (gst_dv1394src_class_init),
(gst_dv1394src_init), (gst_dv1394src_dispose),
(gst_dv1394src_iso_receive), (gst_dv1394src_discover_avc_node),
(gst_dv1394src_change_state), (gst_dv1394src_get_event_mask),
(gst_dv1394src_event), (gst_dv1394src_get_formats),
(gst_dv1394src_convert), (gst_dv1394src_get_query_types),
(gst_dv1394src_query), (gst_dv1394src_uri_get_type),
(gst_dv1394src_uri_get_protocols), (gst_dv1394src_uri_get_uri),
(gst_dv1394src_uri_set_uri), (gst_dv1394src_uri_handler_init):
* ext/raw1394/gstdv1394src.h:
Added conversion/query functions.
Update buffer timestamps,
Added signals.
Added uri dv:// so it might play from the firewire in playbin.
Fix a possible leak.
Added debugging.

20 years agoext/raw1394/gstdv1394src.*: Added AV/C VTR control support needed for some cameras.
Wim Taymans [Fri, 15 Oct 2004 09:59:01 +0000 (09:59 +0000)]
ext/raw1394/gstdv1394src.*: Added AV/C VTR control support needed for some cameras.

Original commit message from CVS:
* ext/raw1394/gstdv1394src.c: (gst_dv1394src_class_init),
(gst_dv1394src_init), (gst_dv1394src_set_property),
(gst_dv1394src_get_property), (gst_dv1394src_iso_receive),
(gst_dv1394src_discover_avc_node), (gst_dv1394src_change_state):
* ext/raw1394/gstdv1394src.h:
Added AV/C VTR control support needed for some cameras.
Added automatic port detection.
Added properties for selecting the channel.
The configure.ac script is not yet updated to reflect the
new libavc1394 and librom1394 dependencies.

20 years agogst/qtdemux/qtdemux.c: An esds box is not a container.
Wim Taymans [Fri, 15 Oct 2004 09:19:37 +0000 (09:19 +0000)]
gst/qtdemux/qtdemux.c: An esds box is not a container.

Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (gst_qtdemux_loop_header),
(qtdemux_parse), (gst_qtdemux_handle_esds):
An esds box is not a container.
Fix parsing of mp4v boxes.
Do not try to renegotiate fps for each frame. Need to
find a better method. This should fix mp4 playback.

20 years agoconfigure.ac: update for swfdec-0.3 and liboil-0.2
David Schleef [Thu, 14 Oct 2004 23:19:58 +0000 (23:19 +0000)]
configure.ac: update for swfdec-0.3 and liboil-0.2

Original commit message from CVS:
* configure.ac: update for swfdec-0.3 and liboil-0.2
* ext/swfdec/gstswfdec.c: update for swfdec-0.3
* ext/swfdec/gstswfdec.h: same
* gst/videofilter/gstvideobalance.c: update for liboil-0.2
* gst/videotestsrc/videotestsrc.c: same

20 years agogst/tcp/gstmultifdsink.c: Turn warnings into info.
Wim Taymans [Thu, 14 Oct 2004 11:28:20 +0000 (11:28 +0000)]
gst/tcp/gstmultifdsink.c: Turn warnings into info.

Original commit message from CVS:
* gst/tcp/gstmultifdsink.c: (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_change_state):
Turn warnings into info.
Don't allow a state change in the streaming thread.

20 years agofix sample rate template
Thomas Vander Stichele [Thu, 14 Oct 2004 09:16:32 +0000 (09:16 +0000)]
fix sample rate template

Original commit message from CVS:
fix sample rate template

20 years agoext/mad/gstmad.c: Decoding the header first fixes some problems in resyncing in more...
Wim Taymans [Wed, 13 Oct 2004 14:21:01 +0000 (14:21 +0000)]
ext/mad/gstmad.c: Decoding the header first fixes some problems in resyncing in more mp3s.

Original commit message from CVS:
* ext/mad/gstmad.c: (gst_mad_check_caps_reset), (gst_mad_chain):
Decoding the header first fixes some problems in resyncing
in more mp3s.

20 years agogst/playback/gstplaybin.c: Added vis plugin support, need to configure the vis elemen...
Wim Taymans [Tue, 12 Oct 2004 16:41:23 +0000 (16:41 +0000)]
gst/playback/gstplaybin.c: Added vis plugin support, need to configure the vis element to activate it.

Original commit message from CVS:
* gst/playback/gstplaybin.c: (gen_video_element),
(gen_vis_element), (remove_sinks), (setup_sinks):
Added vis plugin support, need to configure the vis
element to activate it.

20 years agoext/gnomevfs/gstgnomevfssrc.c: Some debug.
Ronald S. Bultje [Tue, 12 Oct 2004 12:29:45 +0000 (12:29 +0000)]
ext/gnomevfs/gstgnomevfssrc.c: Some debug.

Original commit message from CVS:
* ext/gnomevfs/gstgnomevfssrc.c: (gst_gnomevfssrc_get),
(gst_gnomevfssrc_srcpad_query), (gst_gnomevfssrc_srcpad_event):
Some debug.
* gst/avi/gstavidemux.c: (gst_avi_demux_reset),
(gst_avi_demux_handle_src_event), (gst_avi_demux_read_superindex),
(gst_avi_demux_read_subindexes), (gst_avi_demux_add_stream),
(gst_avi_demux_stream_index), (gst_avi_demux_skip),
(gst_avi_demux_sync), (gst_avi_demux_stream_scan),
(gst_avi_demux_massage_index), (gst_avi_demux_stream_header):
* gst/avi/gstavidemux.h:
Support for openDML-2.0 indx/ix## chunks. Support for broken index
recovery (where, if part of the index is broken, we will still read
the rest of the index and recover the broken part by stream
scanning). More broken media support. EOS workarounds. General AVI
braindamage headache recovery. Aspirin included.

20 years agoext/cdparanoia/gstcdparanoia.c: Get rid of hideous lead-in.
Ronald S. Bultje [Mon, 11 Oct 2004 12:18:42 +0000 (12:18 +0000)]
ext/cdparanoia/gstcdparanoia.c: Get rid of hideous lead-in.

Original commit message from CVS:
* ext/cdparanoia/gstcdparanoia.c: (cdparanoia_open),
(cdparanoia_event), (cdparanoia_query):
Get rid of hideous lead-in.

20 years agogst/playback/gstplaybasebin.c: Wrong var used to get g_list_next.
Wim Taymans [Mon, 11 Oct 2004 12:07:15 +0000 (12:07 +0000)]
gst/playback/gstplaybasebin.c: Wrong var used to get g_list_next.

Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (setup_source):
Wrong var used to get g_list_next.