platform/upstream/gstreamer.git
20 years agogst/avi/gstavidemux.c: Improve allocation, cutting and sorting of the index. How...
Ronald S. Bultje [Mon, 4 Oct 2004 13:32:20 +0000 (13:32 +0000)]
gst/avi/gstavidemux.c: Improve allocation, cutting and sorting of the index. How takes a few seconds instead of minutes.

Original commit message from CVS:
* gst/avi/gstavidemux.c: (gst_avi_demux_stream_index),
(gst_avi_demux_stream_scan), (sort), (gst_avi_demux_massage_index),
(gst_avi_demux_stream_header), (gst_avi_demux_stream_data):
Improve allocation, cutting and sorting of the index. How takes a
few seconds instead of minutes.

20 years agogst/realmedia/rmdemux.c: fixed compilation
Christophe Fergeau [Sun, 3 Oct 2004 17:14:14 +0000 (17:14 +0000)]
gst/realmedia/rmdemux.c: fixed compilation

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

* gst/realmedia/rmdemux.c: (gst_rmdemux_parse_mdpr):
fixed compilation

20 years agoUse <speex.h> everywhere instead of sometimes <speex.h> and sometimes <speex/speex.h>
Ramon Garcia Fernandez [Sat, 2 Oct 2004 23:27:26 +0000 (23:27 +0000)]
Use <speex.h> everywhere instead of sometimes <speex.h> and sometimes <speex/speex.h>

Original commit message from CVS:

Use <speex.h> everywhere instead of sometimes <speex.h> and
sometimes <speex/speex.h>

20 years agogstwavparse.c: it did not build in system with Glib < 2.4 because it used the macro...
Ramon Garcia Fernandez [Sat, 2 Oct 2004 21:34:00 +0000 (21:34 +0000)]
gstwavparse.c: it did not build in system with Glib < 2.4 because it used the macro G_MAXUINT32. Now we define the ma...

Original commit message from CVS:

gstwavparse.c: it did not build in system with Glib < 2.4 because it
used the macro G_MAXUINT32. Now we define the macro if it is not yet
defined.

20 years agogst-libs/gst/riff/riff-media.c: Add wing commander format mimetype/fourccs.
Ronald S. Bultje [Sat, 2 Oct 2004 20:27:04 +0000 (20:27 +0000)]
gst-libs/gst/riff/riff-media.c: Add wing commander format mimetype/fourccs.

Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c:
(gst_riff_create_video_caps_with_data),
(gst_riff_create_video_template_caps):
Add wing commander format mimetype/fourccs.
* gst/avi/gstavidemux.c: (gst_avi_demux_massage_index):
Don't crash if some value is 0.

20 years agogst-libs/gst/riff/riff-media.c: Add DIB fourcc (raw, palettized 8-bit RGB).
Ronald S. Bultje [Sat, 2 Oct 2004 14:10:19 +0000 (14:10 +0000)]
gst-libs/gst/riff/riff-media.c: Add DIB fourcc (raw, palettized 8-bit RGB).

Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c:
(gst_riff_create_video_caps_with_data),
(gst_riff_create_video_template_caps):
Add DIB fourcc (raw, palettized 8-bit RGB).
* gst-libs/gst/riff/riff-read.c:
(gst_riff_read_strf_vids_with_data):
Oops, fix strf_data reading bug.
* gst/avi/gstavidemux.c: (gst_avi_demux_add_stream):
Use a non-NULL tag.
* gst/qtdemux/qtdemux.c: (qtdemux_parse_trak):
Time for hacks. Sorry Dave. At least one quicktime movie (a
trailer) that I've encountered contains multiple video tracks.
One of those is the actual video track, the other are one-frame
tracks (images). Unfortunately, the number of frames according
to the trak header is 1 for each, so that doesn't help. So
instead, I look at the duration and discard tracks with a
duration shorter than 20% of the length of the stream. Better
than nothing.

20 years agobuild fixes (those parameters/functions are const in 1.1.6)
Stéphane Loeuillet [Fri, 1 Oct 2004 18:55:14 +0000 (18:55 +0000)]
build fixes (those parameters/functions are const in 1.1.6)

Original commit message from CVS:
build fixes (those parameters/functions are const in 1.1.6)

20 years agosome cleanups in regards to requirements
Christian Schaller [Fri, 1 Oct 2004 17:18:09 +0000 (17:18 +0000)]
some cleanups in regards to requirements

Original commit message from CVS:
some cleanups in regards to requirements

20 years agocommiting patch from Phil Blundell
Phil Blundell [Fri, 1 Oct 2004 17:01:47 +0000 (17:01 +0000)]
commiting patch from Phil Blundell

Original commit message from CVS:
commiting patch from Phil Blundell

20 years agoext/speex/gstspeexdec.c: Small cleanups.
Wim Taymans [Fri, 1 Oct 2004 16:15:23 +0000 (16:15 +0000)]
ext/speex/gstspeexdec.c: Small cleanups.

Original commit message from CVS:
* ext/speex/gstspeexdec.c: (gst_speex_dec_class_init),
(speex_dec_get_formats), (speex_dec_convert),
(speex_dec_src_query), (speex_dec_src_event), (speex_dec_event),
(speex_dec_chain), (gst_speexdec_get_property),
(gst_speexdec_set_property):
Small cleanups.

20 years agogst/wavparse/gstwavparse.*: Added some more debugging info.
Wim Taymans [Fri, 1 Oct 2004 16:01:51 +0000 (16:01 +0000)]
gst/wavparse/gstwavparse.*: Added some more debugging info.

Original commit message from CVS:
* gst/wavparse/gstwavparse.c: (gst_wavparse_class_init),
(gst_wavparse_stream_init), (gst_wavparse_fmt),
(gst_wavparse_other), (gst_wavparse_loop),
(gst_wavparse_pad_convert), (gst_wavparse_pad_query),
(gst_wavparse_srcpad_event):
* gst/wavparse/gstwavparse.h:
Added some more debugging info.
Fix the case where the length of the file is 0.
Make sure we seek to sample borders.

20 years agogst/playback/: Add some debug info to decodebin, update README
Wim Taymans [Fri, 1 Oct 2004 15:57:53 +0000 (15:57 +0000)]
gst/playback/: Add some debug info to decodebin, update README

Original commit message from CVS:
* gst/playback/README:
* gst/playback/gstdecodebin.c: (gst_decode_bin_factory_filter),
(gst_decode_bin_init), (find_compatibles), (close_pad_link),
(try_to_link_1), (no_more_pads), (close_link), (type_found):
Add some debug info to decodebin, update README

20 years agoext/dvdnav/dvdnavsrc.c: Don't use g_print(); use GST_DEBUG().
Ronald S. Bultje [Fri, 1 Oct 2004 13:30:09 +0000 (13:30 +0000)]
ext/dvdnav/dvdnavsrc.c: Don't use g_print(); use GST_DEBUG().

Original commit message from CVS:
* ext/dvdnav/dvdnavsrc.c: (dvdnav_handle_navigation_event):
Don't use g_print(); use GST_DEBUG().

20 years agoext/ogg/gstoggmux.c: Handle EOS properly.
Ronald S. Bultje [Fri, 1 Oct 2004 13:28:29 +0000 (13:28 +0000)]
ext/ogg/gstoggmux.c: Handle EOS properly.

Original commit message from CVS:
* ext/ogg/gstoggmux.c: (gst_ogg_mux_next_buffer),
(gst_ogg_mux_queue_pads):
Handle EOS properly.

20 years agoext/faad/gstfaad.*: Allow playback of raw (unframed) MPEG AAC files (#148993).
Ronald S. Bultje [Fri, 1 Oct 2004 13:00:41 +0000 (13:00 +0000)]
ext/faad/gstfaad.*: Allow playback of raw (unframed) MPEG AAC files (#148993).

Original commit message from CVS:
Reviewed by: Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* ext/faad/gstfaad.c: (gst_faad_init), (gst_faad_sinkconnect),
(gst_faad_chain), (gst_faad_change_state):
* ext/faad/gstfaad.h:
Allow playback of raw (unframed) MPEG AAC files (#148993).

20 years agogst/wavparse/gstwavparse.c: Throw error if we didn't recognize the stream. Fixes...
Ronald S. Bultje [Fri, 1 Oct 2004 12:39:08 +0000 (12:39 +0000)]
gst/wavparse/gstwavparse.c: Throw error if we didn't recognize the stream. Fixes #152289.

Original commit message from CVS:
Reviewed by: Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* gst/wavparse/gstwavparse.c: (gst_wavparse_fmt):
Throw error if we didn't recognize the stream. Fixes #152289.

20 years agogst/videoscale/gstvideoscale.c: Fix negotiation.
Ronald S. Bultje [Fri, 1 Oct 2004 12:32:25 +0000 (12:32 +0000)]
gst/videoscale/gstvideoscale.c: Fix negotiation.

Original commit message from CVS:
* gst/videoscale/gstvideoscale.c: (gst_videoscale_link):
Fix negotiation.

20 years agogst/wavparse/gstwavparse.c: Fix memleak.
Ronald S. Bultje [Fri, 1 Oct 2004 11:53:19 +0000 (11:53 +0000)]
gst/wavparse/gstwavparse.c: Fix memleak.

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

20 years agosys/sunaudio/gstsunaudio.c: Solve #152805.
Ronald S. Bultje [Fri, 1 Oct 2004 11:44:22 +0000 (11:44 +0000)]
sys/sunaudio/gstsunaudio.c: Solve #152805.

Original commit message from CVS:
Reviewed by: Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* sys/sunaudio/gstsunaudio.c: (gst_sunaudiosink_setparams):
Solve #152805.
* sys/sunaudio/gstsunmixer.c: (gst_sunaudiomixer_set_mute):
Solve 152806.

20 years agogst-libs/gst/riff/riff-media.c: Add codec_data handling (like asfdemux used to do).
Ronald S. Bultje [Fri, 1 Oct 2004 10:50:57 +0000 (10:50 +0000)]
gst-libs/gst/riff/riff-media.c: Add codec_data handling (like asfdemux used to do).

Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c:
(gst_riff_create_video_caps_with_data),
(gst_riff_create_audio_caps_with_data):
Add codec_data handling (like asfdemux used to do).
* gst/asfdemux/gstasf.c: (plugin_init):
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_base_init),
(gst_asf_demux_add_audio_stream), (gst_asf_demux_add_video_stream):
Use riff-media for caps creation instead of our own (mostly
broken) copy of its functions.

20 years agosys/v4l/v4lsrc_calls.c: Don't actually error out if we get another return value than
Ronald S. Bultje [Fri, 1 Oct 2004 10:02:42 +0000 (10:02 +0000)]
sys/v4l/v4lsrc_calls.c: Don't actually error out if we get another return value than

Original commit message from CVS:
* sys/v4l/v4lsrc_calls.c: (gst_v4lsrc_try_capture):
Don't actually error out if we get another return value than
-EINVAL. Opposite to what I first thought, drivers have random
return values for this, although -EINVAL is the expected return
value. Since this is not fatal, we shouldn't use
GST_ELEMENT_ERROR() but just GST_ERROR_OBJECT().

20 years agoext/dvdread/dvdreadsrc.c: Fix. Don't do one big huge loop around the whole DVD, that...
Ronald S. Bultje [Fri, 1 Oct 2004 08:42:56 +0000 (08:42 +0000)]
ext/dvdread/dvdreadsrc.c: Fix. Don't do one big huge loop around the whole DVD, that will cache all data and thus eat...

Original commit message from CVS:
* ext/dvdread/dvdreadsrc.c: (dvdreadsrc_class_init),
(dvdreadsrc_init), (dvdreadsrc_dispose), (dvdreadsrc_set_property),
(dvdreadsrc_get_property), (_open), (_seek), (_read),
(dvdreadsrc_get), (dvdreadsrc_open_file),
(dvdreadsrc_change_state):
Fix. Don't do one big huge loop around the whole DVD, that will
cache all data and thus eat sizeof(dvd) (several GB) before we
see something.
* gst-libs/gst/riff/riff-read.c: (gst_riff_read_seek):
Actually NULL'ify event after using it.
* gst/matroska/ebml-read.c: (gst_ebml_read_use_event),
(gst_ebml_read_handle_event), (gst_ebml_read_element_id),
(gst_ebml_read_element_length), (gst_ebml_read_element_data),
(gst_ebml_read_seek), (gst_ebml_read_skip):
Handle events.
* gst/mpegstream/gstdvddemux.c: (gst_dvd_demux_base_init),
(gst_dvd_demux_init), (gst_dvd_demux_get_audio_stream),
(gst_dvd_demux_get_subpicture_stream), (gst_dvd_demux_plugin_init):
Fix timing (this will probably break if I seek using menus, but
I didn't get there yet). VOBs and normal DVDs should now work.
Add a mpeg2-only pad with high rank so this get autoplugged for
MPEG-2 movies.
* gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_base_init),
(gst_mpeg_demux_class_init), (gst_mpeg_demux_init),
(gst_mpeg_demux_new_output_pad), (gst_mpeg_demux_get_video_stream),
(gst_mpeg_demux_get_audio_stream),
(gst_mpeg_demux_get_private_stream), (gst_mpeg_demux_parse_packet),
(gst_mpeg_demux_parse_pes), (gst_mpeg_demux_plugin_init):
Use this as second rank for MPEG-1 and MPEG-2. Still use this for
MPEG-1 but use dvddemux for MPEG-2.
* gst/mpegstream/gstmpegparse.c: (gst_mpeg_parse_class_init),
(gst_mpeg_parse_init), (gst_mpeg_parse_new_pad),
(gst_mpeg_parse_parse_packhead):
Timing. Only add pad template if it exists. Add sink template from
class and not from ourselves. This means we will always use the
correct sink template even if it is not the one defined in this
file.

20 years agogst/mpegstream/: Fix playback of mpeg again, timestamps where screwed up by patch...
Wim Taymans [Wed, 29 Sep 2004 19:09:25 +0000 (19:09 +0000)]
gst/mpegstream/: Fix playback of mpeg again, timestamps where screwed up by patch 1.61.

Original commit message from CVS:
* gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_parse_packet),
(gst_mpeg_demux_parse_pes):
* gst/mpegstream/gstmpegparse.c: (gst_mpeg_parse_parse_packhead):
Fix playback of mpeg again, timestamps where screwed up by
patch 1.61.

20 years agofix V4L2 spec entry
Christian Schaller [Wed, 29 Sep 2004 19:00:31 +0000 (19:00 +0000)]
fix V4L2 spec entry

Original commit message from CVS:
fix V4L2 spec entry

20 years agoext/flac/gstflacdec.c: Only return true if we actually filled something in. Prevents...
Ronald S. Bultje [Wed, 29 Sep 2004 09:45:40 +0000 (09:45 +0000)]
ext/flac/gstflacdec.c: Only return true if we actually filled something in. Prevents player applications from showing...

Original commit message from CVS:
* ext/flac/gstflacdec.c: (gst_flacdec_src_query):
Only return true if we actually filled something in. Prevents
player applications from showing a random length for flac files.
* gst-libs/gst/riff/riff-read.c: (gst_riff_read_class_init),
(gst_riff_read_use_event), (gst_riff_read_handle_event),
(gst_riff_read_seek), (gst_riff_read_skip), (gst_riff_read_strh),
(gst_riff_read_strf_vids_with_data),
(gst_riff_read_strf_auds_with_data), (gst_riff_read_strf_iavs):
OK, ok, so I implemented event handling. Apparently it's normal
that we receive random events at random points without asking
for it.
* gst/avi/gstavidemux.c: (gst_avi_demux_reset),
(gst_avi_demux_src_convert), (gst_avi_demux_handle_src_query),
(gst_avi_demux_handle_src_event), (gst_avi_demux_stream_index),
(gst_avi_demux_sync), (gst_avi_demux_stream_scan),
(gst_avi_demux_massage_index), (gst_avi_demux_stream_header),
(gst_avi_demux_handle_seek), (gst_avi_demux_process_next_entry),
(gst_avi_demux_stream_data), (gst_avi_demux_loop):
* gst/avi/gstavidemux.h:
Implement non-lineair chunk handling and subchunk processing.
The first solves playback of AVI files where the audio and video
data of individual buffers that we read are not synchronized.
This should not happen according to the wonderful AVI specs, but
of course it does happen in reality. It is also a prerequisite for
the second. Subchunk processing allows us to cut chunks in small
pieces and process each of these pieces separately. This is
required because I've seen several AVI files with incredibly large
audio chunks, even some files with only one audio chunk for the
whole file. This allows for proper playback including seeking.
This patch is supposed to fix all AVI A/V sync issues.
* gst/flx/gstflxdec.c: (gst_flxdec_class_init),
(flx_decode_chunks), (flx_decode_color), (gst_flxdec_loop):
Work.
* gst/modplug/gstmodplug.cc:
Proper return value setting for the query() function.
* gst/playback/gstplaybasebin.c: (setup_source):
Being in non-playing state (after, e.g., EOS) is not necessarily
a bad thing. Allow for that. This fixes playback of short files.
They don't actually playback fully now, because the clock already
runs. This means that small files (<500kB) with a small length
(<2sec) will still not or barely play. Other files, such as mod
or flx, will work correctly, however.

20 years agoremove last mention of kio plugin (in the dist section)
Christian Schaller [Tue, 28 Sep 2004 18:26:45 +0000 (18:26 +0000)]
remove last mention of kio plugin (in the dist section)

Original commit message from CVS:
remove last mention of kio plugin (in the dist section)

20 years agoext/speex/: Rewrote speex encoder, make sure it can be embedded in ogg.
Wim Taymans [Tue, 28 Sep 2004 16:44:12 +0000 (16:44 +0000)]
ext/speex/: Rewrote speex encoder, make sure it can be embedded in ogg.

Original commit message from CVS:
* ext/speex/gstspeex.c: (plugin_init):
* ext/speex/gstspeexdec.c: (gst_speex_dec_base_init),
(gst_speex_dec_class_init), (speex_dec_get_formats),
(speex_get_event_masks), (speex_get_query_types),
(gst_speex_dec_init), (speex_dec_convert), (speex_dec_src_query),
(speex_dec_src_event), (speex_dec_event), (speex_dec_chain),
(gst_speexdec_get_property), (gst_speexdec_set_property),
(speex_dec_change_state):
* ext/speex/gstspeexdec.h:
* ext/speex/gstspeexenc.c: (gst_speexenc_get_formats),
(gst_speexenc_get_type), (speex_caps_factory), (raw_caps_factory),
(gst_speexenc_base_init), (gst_speexenc_class_init),
(gst_speexenc_sinkconnect), (gst_speexenc_convert_src),
(gst_speexenc_convert_sink), (gst_speexenc_get_query_types),
(gst_speexenc_src_query), (gst_speexenc_init),
(gst_speexenc_get_tag_value), (comment_init), (comment_add),
(gst_speexenc_metadata_set1), (gst_speexenc_set_metadata),
(gst_speexenc_setup), (gst_speexenc_buffer_from_data),
(gst_speexenc_push_buffer), (gst_speexenc_set_header_on_caps),
(gst_speexenc_chain), (gst_speexenc_get_property),
(gst_speexenc_set_property), (gst_speexenc_change_state):
* ext/speex/gstspeexenc.h:
Rewrote speex encoder, make sure it can be embedded in ogg.
Implemented speex decoder.

20 years agoremove kio from spec
Christian Schaller [Tue, 28 Sep 2004 11:01:10 +0000 (11:01 +0000)]
remove kio from spec

Original commit message from CVS:
remove kio from spec

20 years agoRemove non-working ugly kioplugin Markey has new and much improved one in Amarok...
Christian Schaller [Tue, 28 Sep 2004 10:59:02 +0000 (10:59 +0000)]
Remove non-working ugly kioplugin Markey has new and much improved one in Amarok which he will send upstream

Original commit message from CVS:
Remove non-working ugly kioplugin Markey has new and much improved one in Amarok which he will send upstream

20 years agogst/tcp/gstmultifdsink.*: Make syncing to keyframes actually work for new clients...
Wim Taymans [Mon, 27 Sep 2004 15:09:34 +0000 (15:09 +0000)]
gst/tcp/gstmultifdsink.*: Make syncing to keyframes actually work for new clients and lagging clients.

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_client_queue_buffer),
(gst_multifdsink_new_client),
(gst_multifdsink_handle_client_write),
(gst_multifdsink_recover_client), (gst_multifdsink_queue_buffer),
(gst_multifdsink_handle_clients):
* gst/tcp/gstmultifdsink.h:
Make syncing to keyframes actually work for new clients and lagging
clients.

20 years agoImplement event compression for new-media discont events
Iain Holmes [Sun, 26 Sep 2004 21:32:20 +0000 (21:32 +0000)]
Implement event compression for new-media discont events

Original commit message from CVS:
Implement event compression for new-media discont events

20 years agogst/debug/gstnavigationtest.*: make navigationtest display button-press and button...
Benjamin Otte [Sun, 26 Sep 2004 16:53:53 +0000 (16:53 +0000)]
gst/debug/gstnavigationtest.*: make navigationtest display button-press and button-release events

Original commit message from CVS:
* gst/debug/gstnavigationtest.c: (gst_navigationtest_class_init),
(gst_navigationtest_handle_src_event), (draw_box_planar411),
(gst_navigationtest_planar411), (gst_navigationtest_change_state):
* gst/debug/gstnavigationtest.h:
make navigationtest display button-press and button-release events

20 years agoForgot to commit this
Iain Holmes [Sun, 26 Sep 2004 15:18:51 +0000 (15:18 +0000)]
Forgot to commit this

Original commit message from CVS:
Forgot to commit this

20 years agoCompany's wisdom:
Iain Holmes [Sun, 26 Sep 2004 15:06:35 +0000 (15:06 +0000)]
Company's wisdom:

Original commit message from CVS:
Company's wisdom:
Events should be passed on using the sinkpad's default handler not the src
Seek events only go upstream, so send a discont downstream instead.

20 years agoremove changelog conflict indicators
Christian Schaller [Sat, 25 Sep 2004 14:54:01 +0000 (14:54 +0000)]
remove changelog conflict indicators

Original commit message from CVS:
remove changelog conflict indicators

20 years agoupdate spec to work with thomas and freshrpms rpms. Fix bug that hindered totem in...
Christian Schaller [Sat, 25 Sep 2004 14:52:29 +0000 (14:52 +0000)]
update spec to work with thomas and freshrpms rpms. Fix bug that hindered totem in building with it. Add new plugins

Original commit message from CVS:
update spec to work with thomas and freshrpms rpms. Fix bug that hindered totem in building with it. Add new plugins

20 years agogst/playback/gstplaybasebin.c: Only signal the no_more_pads signal when we have added...
Wim Taymans [Fri, 24 Sep 2004 17:33:00 +0000 (17:33 +0000)]
gst/playback/gstplaybasebin.c: Only signal the no_more_pads signal when we have added the stream to our list.

Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (new_decoded_pad):
Only signal the no_more_pads signal when we have
added the stream to our list.

20 years agogst/playback/: Don't try to preroll or decode more than one audio/video track.
Wim Taymans [Fri, 24 Sep 2004 16:38:28 +0000 (16:38 +0000)]
gst/playback/: Don't try to preroll or decode more than one audio/video track.

Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (remove_prerolls),
(new_decoded_pad):
* gst/playback/gstplaybasebin.h:
* gst/playback/gstplaybin.c: (setup_sinks):
Don't try to preroll or decode more than one audio/video
track.

20 years agogst/playback/gstplaybasebin.c: Throw error if we failed to find a suitable output...
Ronald S. Bultje [Fri, 24 Sep 2004 16:01:45 +0000 (16:01 +0000)]
gst/playback/gstplaybasebin.c: Throw error if we failed to find a suitable output. This should throw an error if we s...

Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (gst_play_base_bin_change_state):
Throw error if we failed to find a suitable output. This should
throw an error if we successfully set up a pipeline (e.g. because
we recognized a media file) but found no decodable streams in it
(e.g. because it contains only media stream types for which we
have no decoders, or because it's not a media type).

20 years agoext/dirac/: Do something. Don't actually know if this works because I don't have...
Ronald S. Bultje [Thu, 23 Sep 2004 14:59:22 +0000 (14:59 +0000)]
ext/dirac/: Do something. Don't actually know if this works because I don't have a demuxer yet.

Original commit message from CVS:
* ext/dirac/Makefile.am:
* ext/dirac/gstdirac.cc:
* ext/dirac/gstdiracdec.cc:
* ext/dirac/gstdiracdec.h:
Do something. Don't actually know if this works because I don't
have a demuxer yet.
* ext/gsm/gstgsmdec.c: (gst_gsmdec_getcaps):
Add channels=1 to caps returned from _getcaps().
* ext/ogg/gstogmparse.c: (gst_ogm_audio_parse_get_type),
(gst_ogm_video_parse_get_type), (gst_ogm_audio_parse_base_init),
(gst_ogm_video_parse_base_init), (gst_ogm_parse_init),
(gst_ogm_audio_parse_init), (gst_ogm_video_parse_init),
(gst_ogm_parse_sink_convert), (gst_ogm_parse_chain),
(gst_ogm_parse_change_state):
Separate between audio/video so ogmaudioparse actually uses the
audio pad templates. Both audio and video work now, including
autoplugging. Also use sometimes-srcpad hack.
* gst-libs/gst/riff/riff-read.c: (gst_riff_read_seek):
Handle events better. Don't hang on infinite loops.
* gst/avi/gstavidemux.c: (gst_avi_demux_class_init),
(gst_avi_demux_init), (gst_avi_demux_reset),
(gst_avi_demux_src_convert), (gst_avi_demux_handle_src_query),
(gst_avi_demux_stream_header), (gst_avi_demux_stream_data),
(gst_avi_demux_change_state):
* gst/avi/gstavidemux.h:
Improve A/V sync. Still not perfect.
* gst/matroska/ebml-read.c: (gst_ebml_read_seek),
(gst_ebml_read_skip):
Handle events better.
* gst/qtdemux/qtdemux.c: (gst_qtdemux_handle_sink_event),
(gst_qtdemux_loop_header), (qtdemux_parse_trak),
(qtdemux_audio_caps):
Add IMA4. Improve event handling. Save offset after a seek when
the headers are at the end of the file so that we don't end up in
an infinite loop.
* gst/typefind/gsttypefindfunctions.c: (qt_type_find):
Add low-priority typefind support for files with no length.

20 years agotestsuite/multifilesink/Makefile.am: fix typo
Zaheer Abbas Merali [Thu, 23 Sep 2004 12:11:15 +0000 (12:11 +0000)]
testsuite/multifilesink/Makefile.am: fix typo

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

* testsuite/multifilesink/Makefile.am:
fix typo

20 years agosys/: Fix mistakes from thaytan's patches.
Julien Moutte [Wed, 22 Sep 2004 15:59:56 +0000 (15:59 +0000)]
sys/: Fix mistakes from thaytan's patches.

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

* sys/ximage/ximagesink.c: (gst_ximagesink_ximage_destroy):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_check_xshm_calls): Fix
mistakes from thaytan's patches.

20 years agosys/ximage/ximagesink.c: For completeness, XSync in the destroy function as xvimage...
Jan Schmidt [Wed, 22 Sep 2004 15:32:39 +0000 (15:32 +0000)]
sys/ximage/ximagesink.c: For completeness, XSync in the destroy function as xvimage does.

Original commit message from CVS:
* sys/ximage/ximagesink.c: (gst_ximagesink_ximage_destroy):
For completeness, XSync in the destroy function as xvimage does.

20 years agoext/gdk_pixbuf/pixbufscale.c: Correct caps negotiation
Jan Schmidt [Wed, 22 Sep 2004 15:03:08 +0000 (15:03 +0000)]
ext/gdk_pixbuf/pixbufscale.c: Correct caps negotiation

Original commit message from CVS:
* ext/gdk_pixbuf/pixbufscale.c: (gst_pixbufscale_getcaps):
Correct caps negotiation
* gst/volume/gstvolume.c: (volume_chain_float),
(volume_chain_int16):
Modify debug output to be little more informative
* sys/ximage/ximagesink.c: (gst_ximagesink_check_xshm_calls):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_check_xshm_calls),
(gst_xvimagesink_xvimage_destroy):
Add XSync calls after detaching from the shared memory segment to
avoid a crash.

20 years agoext/: remove explicit newmedia support from oggmux and vorbisenc add debug category...
Zaheer Abbas Merali [Wed, 22 Sep 2004 14:35:12 +0000 (14:35 +0000)]
ext/: remove explicit newmedia support from oggmux and vorbisenc add debug category to vorbisenc

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

* ext/ogg/gstoggmux.c: (gst_ogg_mux_init),
(gst_ogg_mux_next_buffer), (gst_ogg_mux_loop):
* ext/vorbis/vorbis.c: (plugin_init):
* ext/vorbis/vorbisenc.c: (gst_vorbisenc_init),
(gst_vorbisenc_chain):
* ext/vorbis/vorbisenc.h:
remove explicit newmedia support from oggmux and vorbisenc
add debug category to vorbisenc
* gst/multifilesink/gstmultifilesink.c:
(gst_multifilesink_class_init), (gst_multifilesink_init),
(gst_multifilesink_dispose), (gst_multifilesink_set_location),
(gst_multifilesink_set_property), (gst_multifilesink_next_file),
(gst_multifilesink_handle_event), (gst_multifilesink_chain),
(plugin_init):
* gst/multifilesink/gstmultifilesink.h:
add support for streamheader in multifilesink

20 years agogst/asfdemux/gstasfdemux.c: Prevent infinite loops. More correct error reporting.
Ronald S. Bultje [Wed, 22 Sep 2004 07:55:37 +0000 (07:55 +0000)]
gst/asfdemux/gstasfdemux.c: Prevent infinite loops. More correct error reporting.

Original commit message from CVS:
* gst/asfdemux/gstasfdemux.c: (_read_var_length), (_read_guid),
(gst_asf_demux_process_segment), (gst_asf_demux_handle_data),
(gst_asf_demux_process_chunk), (gst_asf_demux_handle_sink_event):
Prevent infinite loops. More correct error reporting.
* gst/auparse/gstauparse.c: (gst_auparse_chain):
Error out if negotiation fails.
* gst/playback/gstplaybasebin.c: (setup_source),
(gst_play_base_bin_change_state), (gst_play_base_bin_error),
(gst_play_base_bin_found_tag):
Error/tag forwarding. Pre-roll fixes for source errors on state
changes (e.g. "file does not exist") to prevent hangs.

20 years agotestsuite/multifilesink/: New media tests
Zaheer Abbas Merali [Tue, 21 Sep 2004 18:41:15 +0000 (18:41 +0000)]
testsuite/multifilesink/: New media tests

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

* testsuite/multifilesink/Makefile.am:
* testsuite/multifilesink/lame_test.c: (gst_newmedia_base_init),
(gst_newmedia_class_init), (gst_newmedia_init),
(gst_newmedia_chain), (gst_newmedia_trigger), (test_format),
(newfile_signal), (test_signal), (main):
* testsuite/multifilesink/multifilesrc_test.c: (main):
* testsuite/multifilesink/oggtheora_test.c:
(gst_newmedia_base_init), (gst_newmedia_class_init),
(gst_newmedia_init), (gst_newmedia_chain), (gst_newmedia_trigger),
(test_format), (newfile_signal), (test_signal), (main):
* testsuite/multifilesink/oggvorbis_test.c:
(gst_newmedia_base_init), (gst_newmedia_class_init),
(gst_newmedia_init), (gst_newmedia_chain), (gst_newmedia_trigger),
(test_format), (newfile_signal), (test_signal), (main):
* testsuite/multifilesink/wavenc_test.c: (gst_newmedia_base_init),
(gst_newmedia_class_init), (gst_newmedia_init),
(gst_newmedia_chain), (gst_newmedia_trigger), (test_format),
(newfile_signal), (test_signal), (main):
New media tests

20 years agofix license information
Christian Schaller [Mon, 20 Sep 2004 14:25:08 +0000 (14:25 +0000)]
fix license information

Original commit message from CVS:
fix license information

20 years agoext/mad/gstmad.c: Allow for mp3 rate/channels changes. However, only very conservativ...
Ronald S. Bultje [Mon, 20 Sep 2004 12:40:40 +0000 (12:40 +0000)]
ext/mad/gstmad.c: Allow for mp3 rate/channels changes. However, only very conservatively. Reason that we *have* to en...

Original commit message from CVS:
* ext/mad/gstmad.c: (gst_mad_check_caps_reset),
(gst_mad_change_state):
Allow for mp3 rate/channels changes. However, only very
conservatively. Reason that we *have* to enable this is smiply
because the mad find_sync() function is not good enough, it will
regularly sync on random data as valid frames and therefore make
us provide random caps as *final* caps of the stream. The best fix
I could think of is to simply require several of the same stream
changes in a row before we change caps.
The actual testcase that works now is #
* ext/ogg/Makefile.am:
* ext/ogg/gstogg.c: (plugin_init):
* ext/ogg/gstogmparse.c:
OGM support (video only for now; I need an audio sample file).
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_base_init),
(gst_asf_demux_process_stream), (gst_asf_demux_video_caps),
(gst_asf_demux_add_video_stream):
WMV extradata.
* gst/playback/gstplaybasebin.c: (unknown_type):
Don't error out on single unknown-types after all. It's wrong.
If we found type of video and audio but not of a subtitle stream,
it will still error out (which is unwanted). Will find a better fix
later on.
* gst/typefind/gsttypefindfunctions.c: (ogmvideo_type_find),
(ogmaudio_type_find), (plugin_init):
OGM support.

20 years agoext/jpeg/gstjpegdec.c (gst_jpegdec_chain): Allocate the buffer after setting caps...
Johan Dahlin [Mon, 20 Sep 2004 09:58:35 +0000 (09:58 +0000)]
ext/jpeg/gstjpegdec.c (gst_jpegdec_chain): Allocate the buffer after setting caps. Fixes mysterious segfault. Blessed...

Original commit message from CVS:
* ext/jpeg/gstjpegdec.c (gst_jpegdec_chain): Allocate the buffer
after setting caps. Fixes mysterious segfault. Blessed by Wim.

20 years agogst/wavenc/gstwavenc.*: Added newmedia support to wavenc
Zaheer Abbas Merali [Sun, 19 Sep 2004 17:55:04 +0000 (17:55 +0000)]
gst/wavenc/gstwavenc.*: Added newmedia support to wavenc

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

* gst/wavenc/gstwavenc.c: (gst_wavenc_init), (gst_wavenc_chain):
* gst/wavenc/gstwavenc.h:
Added newmedia support to wavenc

20 years agoupdate esound, gconf, alsa and ogg m4 files from upstream versions
Stéphane Loeuillet [Fri, 17 Sep 2004 22:13:07 +0000 (22:13 +0000)]
update esound, gconf, alsa and ogg m4 files from upstream versions

Original commit message from CVS:
update esound, gconf, alsa and ogg m4 files from upstream versions

20 years ago- say explicitly in the ./configure output that we're looking for libsidplay 1.36...
Stéphane Loeuillet [Fri, 17 Sep 2004 20:52:31 +0000 (20:52 +0000)]
- say explicitly in the ./configure output that we're looking for libsidplay 1.36.x (as siddec won't compile against ...

Original commit message from CVS:
- say explicitly in the ./configure output that we're looking for libsidplay 1.36.x
(as siddec won't compile against 2.x.x)

20 years ago- clarify (i hope) faad and faac plugin licencing
Stéphane Loeuillet [Fri, 17 Sep 2004 20:36:37 +0000 (20:36 +0000)]
- clarify (i hope) faad and faac plugin licencing

Original commit message from CVS:

- clarify (i hope) faad and faac plugin licencing
- move flac from LGPL to Xiph BSD like license (new license since 1.1.1)
- add URL for taking (their SVN repository)
- add version to required libsidplay (siddec won't compile against anything but 1.36.x)

20 years agogst/tcp/: Small cleanups in fdset.c
Wim Taymans [Fri, 17 Sep 2004 10:06:52 +0000 (10:06 +0000)]
gst/tcp/: Small cleanups in fdset.c

Original commit message from CVS:
* gst/tcp/gstfdset.c: (gst_fdset_fd_has_closed),
(gst_fdset_fd_has_error), (gst_fdset_fd_can_read),
(gst_fdset_fd_can_write), (gst_fdset_wait):
* gst/tcp/gstmultifdsink.c: (gst_client_status_get_type),
(gst_multifdsink_init), (gst_multifdsink_add),
(gst_multifdsink_remove), (gst_multifdsink_get_stats),
(gst_multifdsink_remove_client_link),
(gst_multifdsink_client_queue_buffer),
(gst_multifdsink_handle_client_write),
(gst_multifdsink_recover_client), (gst_multifdsink_handle_clients),
(gst_multifdsink_close), (gst_multifdsink_change_state):
* gst/tcp/gstmultifdsink.h:
* gst/tcp/gsttcpserversink.c: (gst_tcpserversink_class_init),
(gst_tcpserversink_removed):
Small cleanups in fdset.c
Use a hastable to map fd to the client structure for faster
lookup in _remove and get_stats.
Added virtual function to close the fds.
Handle clients even when the select/poll call was unblocked because
of a command.
Implement syncing to keyframe in the recovery procedure.

20 years agoFree the caps used for the try
Iain Holmes [Thu, 16 Sep 2004 11:34:50 +0000 (11:34 +0000)]
Free the caps used for the try

Original commit message from CVS:
Free the caps used for the try

20 years agogst/mpegstream/gstdvddemux.c: Caps are only set if the type of the stream is unknown...
Ronald S. Bultje [Wed, 15 Sep 2004 21:43:05 +0000 (21:43 +0000)]
gst/mpegstream/gstdvddemux.c: Caps are only set if the type of the stream is unknown, but this is initialized in ->in...

Original commit message from CVS:
* gst/mpegstream/gstdvddemux.c: (gst_dvd_demux_get_audio_stream):
Caps are only set if the type of the stream is unknown, but this
is initialized in ->init_stream(), so set to UNKNOWN after calling
->init_stream() so that capsnego starts.

20 years agogst/avi/gstavidemux.c: Just hardcode for raw audio then. AVI audio sucks.
Ronald S. Bultje [Wed, 15 Sep 2004 20:06:15 +0000 (20:06 +0000)]
gst/avi/gstavidemux.c: Just hardcode for raw audio then. AVI audio sucks.

Original commit message from CVS:
* gst/avi/gstavidemux.c: (gst_avi_demux_handle_src_query),
(gst_avi_demux_stream_data):
Just hardcode for raw audio then. AVI audio sucks.

20 years agouse audio/x-ttafile and audio/x-tta for tta instead of audio/x-tta and audio/x-raw-tta
Arwed v. Merkatz [Wed, 15 Sep 2004 19:43:37 +0000 (19:43 +0000)]
use audio/x-ttafile and audio/x-tta for tta instead of audio/x-tta and audio/x-raw-tta

Original commit message from CVS:
use audio/x-ttafile and audio/x-tta for tta instead of audio/x-tta and audio/x-raw-tta

20 years agogst/avi/gstavidemux.c: Try to fix a/v sync issues.
Ronald S. Bultje [Wed, 15 Sep 2004 19:31:47 +0000 (19:31 +0000)]
gst/avi/gstavidemux.c: Try to fix a/v sync issues.

Original commit message from CVS:
* gst/avi/gstavidemux.c: (gst_avi_demux_handle_src_query),
(gst_avi_demux_stream_data):
Try to fix a/v sync issues.

20 years agoconfigure.ac: remove NASM check, since we don't use it. Update dirac check to 0.4
David Schleef [Wed, 15 Sep 2004 19:29:24 +0000 (19:29 +0000)]
configure.ac: remove NASM check, since we don't use it.  Update dirac check to 0.4

Original commit message from CVS:
* configure.ac: remove NASM check, since we don't use it.  Update
dirac check to 0.4
* ext/dirac/gstdiracdec.cc: update to current 0.4 API
* gst/audioconvert/gstaudioconvert.c: (gst_audio_convert_link):
Initialized variables.
* gst/qtdemux/qtdemux.c: (gst_qtdemux_change_state),
(gst_qtdemux_loop_header), (qtdemux_parse), (qtdemux_parse_trak),
(gst_qtdemux_handle_esds), (qtdemux_audio_caps): Fix seeking, add
SVQ3 format

20 years agogst/avi/gstavidemux.*: Fix for compressed audio (mp3) timestamp generation. How did...
Ronald S. Bultje [Wed, 15 Sep 2004 17:14:34 +0000 (17:14 +0000)]
gst/avi/gstavidemux.*: Fix for compressed audio (mp3) timestamp generation. How did this ever work?

Original commit message from CVS:
* gst/avi/gstavidemux.c: (gst_avi_demux_handle_src_query),
(gst_avi_demux_add_stream), (gst_avi_demux_stream_data):
* gst/avi/gstavidemux.h:
Fix for compressed audio (mp3) timestamp generation. How did this
ever work?

20 years agogst/playback/gstplaybin.c: Volume is a double not a float.
Ronald S. Bultje [Wed, 15 Sep 2004 16:48:43 +0000 (16:48 +0000)]
gst/playback/gstplaybin.c: Volume is a double not a float.

Original commit message from CVS:
* gst/playback/gstplaybin.c: (gst_play_bin_get_property):
Volume is a double not a float.

20 years agogst/tcp/gstmultifdsink.c: Don't close the fd in multifdsink as we didn't open it...
Wim Taymans [Wed, 15 Sep 2004 16:03:14 +0000 (16:03 +0000)]
gst/tcp/gstmultifdsink.c: Don't close the fd in multifdsink as we didn't open it in the first place. Some cleanups.

Original commit message from CVS:
* gst/tcp/gstmultifdsink.c: (gst_multifdsink_remove_client_link),
(gst_multifdsink_handle_clients), (gst_multifdsink_change_state):
Don't close the fd in multifdsink as we didn't open it in the
first place. Some cleanups.

20 years agoext/ogg/: Fix the case where the muxer would mark pages as delta frames when they...
Wim Taymans [Wed, 15 Sep 2004 15:37:35 +0000 (15:37 +0000)]
ext/ogg/: Fix the case where the muxer would mark pages as delta frames when they are not (vorbis only ogg).

Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_push):
* ext/ogg/gstoggmux.c: (gst_ogg_mux_next_buffer),
(gst_ogg_mux_send_headers), (gst_ogg_mux_loop):
Fix the case where the muxer would mark pages as delta
frames when they are not (vorbis only ogg).

20 years agogst/playback/gstplaybasebin.c: Handle the case where we failed to setup a clear pipel...
Ronald S. Bultje [Wed, 15 Sep 2004 08:35:17 +0000 (08:35 +0000)]
gst/playback/gstplaybasebin.c: Handle the case where we failed to setup a clear pipeline. This will throw an error (o...

Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (state_change), (setup_source),
(gst_play_base_bin_change_state):
Handle the case where we failed to setup a clear pipeline. This
will throw an error (or EOS, another nice case) and if you don't
catch that, the app will wait for the signal forever (and thus
hang).

20 years agoext/gnomevfs/: Use _uri_new() instead of _open(), so it doesn't take as long and
Ronald S. Bultje [Wed, 15 Sep 2004 06:33:43 +0000 (06:33 +0000)]
ext/gnomevfs/: Use _uri_new() instead of _open(), so it doesn't take as long and

Original commit message from CVS:
* ext/gnomevfs/gstgnomevfssink.c:
(gst_gnomevfssink_uri_get_protocols):
* ext/gnomevfs/gstgnomevfssrc.c:
(gst_gnomevfssrc_uri_get_protocols):
* ext/gnomevfs/gstgnomevfsuri.c: (gst_gnomevfs_get_supported_uris):
* ext/gnomevfs/gstgnomevfsuri.h:
Use _uri_new() instead of _open(), so it doesn't take as long and
Christophe's computer won't hang.
* gst/playback/gstplaybasebin.c: (unknown_type):
Throw error on unknown media type, so apps actually display it.

20 years ago2004-09-14 Brian Cameron <brian.cameron@sun.com
Brian Cameron [Tue, 14 Sep 2004 19:30:07 +0000 (19:30 +0000)]
2004-09-14  Brian Cameron  <brian.cameron@sun.com

Original commit message from CVS:
2004-09-14  Brian Cameron  <brian.cameron@sun.com

* tools/gst-launch-ext-m.m:  Changed ~ to $ENV{HOME} to allow
this script to work on Solaris since bash shell handles echo
differenly than bash.

20 years agogst/playback/: Some more work on making sure seeking pauses the pipeline and that...
Wim Taymans [Tue, 14 Sep 2004 16:54:14 +0000 (16:54 +0000)]
gst/playback/: Some more work on making sure seeking pauses the pipeline and that changing the uri actually does some...

Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (queue_overrun), (no_more_pads),
(setup_source), (gst_play_base_bin_set_property),
(gst_play_base_bin_add_element):
* gst/playback/gstplaybin.c: (gst_play_bin_send_event):
Some more work on making sure seeking pauses the pipeline and
that changing the uri actually does something.

20 years agogst/tcp/: Be a bit more paranoid when freeing memory.
Wim Taymans [Tue, 14 Sep 2004 14:03:14 +0000 (14:03 +0000)]
gst/tcp/: Be a bit more paranoid when freeing memory.

Original commit message from CVS:
* gst/tcp/gstfdset.c: (gst_fdset_wait):
* gst/tcp/gstmultifdsink.c: (gst_multifdsink_close):
* gst/tcp/gsttcpserversink.c: (gst_tcpserversink_init_send),
(gst_tcpserversink_close):
Be a bit more paranoid when freeing memory.

20 years agogst/qtdemux/qtdemux.c: Don't crash by dividing by zero (see sample movie in #126922).
Ronald S. Bultje [Mon, 13 Sep 2004 20:13:32 +0000 (20:13 +0000)]
gst/qtdemux/qtdemux.c: Don't crash by dividing by zero (see sample movie in #126922).

Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (gst_qtdemux_add_stream),
(qtdemux_parse_trak):
Don't crash by dividing by zero (see sample movie in #126922).

20 years agogst/qtdemux/qtdemux.c: Don't touch non-existing data (fixes crash on file in #140147).
Ronald S. Bultje [Mon, 13 Sep 2004 19:38:42 +0000 (19:38 +0000)]
gst/qtdemux/qtdemux.c: Don't touch non-existing data (fixes crash on file in #140147).

Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (qtdemux_audio_caps):
Don't touch non-existing data (fixes crash on file in #140147).

20 years agogst/mpegstream/gstmpegparse.c: fix synchronistation for streams recorded from digital...
Stéphane Loeuillet [Mon, 13 Sep 2004 18:56:32 +0000 (18:56 +0000)]
gst/mpegstream/gstmpegparse.c: fix synchronistation for streams recorded from digital PCR fixes bug #119376

Original commit message from CVS:
* gst/mpegstream/gstmpegparse.c:
fix synchronistation for streams recorded from digital PCR
fixes bug #119376

20 years agogst/playback/gstplaybasebin.c: Handle double disposals, and proper change of URIs.
Ronald S. Bultje [Mon, 13 Sep 2004 18:23:49 +0000 (18:23 +0000)]
gst/playback/gstplaybasebin.c: Handle double disposals, and proper change of URIs.

Original commit message from CVS:
* gst/playback/gstplaybasebin.c:
(gst_play_base_bin_dispose), (gst_play_base_bin_set_property):
Handle double disposals, and proper change of URIs.

20 years agoext/gnomevfs/: Add URI support to Gnome-VFS plugins. Tries to load a fixed list of...
Ronald S. Bultje [Mon, 13 Sep 2004 17:33:18 +0000 (17:33 +0000)]
ext/gnomevfs/: Add URI support to Gnome-VFS plugins. Tries to load a fixed list of fake URIs to see which this versio...

Original commit message from CVS:
* ext/gnomevfs/Makefile.am:
* ext/gnomevfs/gstgnomevfs.c: (plugin_init):
* ext/gnomevfs/gstgnomevfssink.c: (gst_gnomevfssink_get_type),
(gst_gnomevfssink_dispose), (gst_gnomevfssink_init),
(gst_gnomevfssink_uri_get_type),
(gst_gnomevfssink_uri_get_protocols),
(gst_gnomevfssink_uri_get_uri), (gst_gnomevfssink_uri_set_uri),
(gst_gnomevfssink_uri_handler_init),
(gst_gnomevfssink_set_property), (gst_gnomevfssink_get_property),
(gst_gnomevfssink_open_file), (gst_gnomevfssink_close_file):
* ext/gnomevfs/gstgnomevfssrc.c: (gst_gnomevfssrc_get_type),
(gst_gnomevfssrc_init), (gst_gnomevfssrc_dispose),
(gst_gnomevfssrc_uri_get_type),
(gst_gnomevfssrc_uri_get_protocols), (gst_gnomevfssrc_uri_get_uri),
(gst_gnomevfssrc_uri_set_uri), (gst_gnomevfssrc_uri_handler_init),
(gst_gnomevfssrc_set_property), (gst_gnomevfssrc_get_property),
(gst_gnomevfssrc_open_file), (gst_gnomevfssrc_close_file):
* ext/gnomevfs/gstgnomevfsuri.c: (gst_gnomevfs_get_supported_uris):
* ext/gnomevfs/gstgnomevfsuri.h:
Add URI support to Gnome-VFS plugins. Tries to load a fixed list
of fake URIs to see which this version of Gnome-VFS likes, and
uses that for the Gst-URI interface. Makes playbin support http://
streams. Also fix up some stupid behaviour in gnomevfssrc.

20 years agoext/alsa/gstalsamixer.c: Update mixer (to sync with other sessions) if we try to...
Ronald S. Bultje [Mon, 13 Sep 2004 09:24:00 +0000 (09:24 +0000)]
ext/alsa/gstalsamixer.c: Update mixer (to sync with other sessions) if we try to obtain a new value. This makes alsam...

Original commit message from CVS:
* ext/alsa/gstalsamixer.c: (gst_alsa_mixer_update),
(gst_alsa_mixer_get_volume), (gst_alsa_mixer_set_volume),
(gst_alsa_mixer_set_mute), (gst_alsa_mixer_set_record),
(gst_alsa_mixer_set_option), (gst_alsa_mixer_get_option):
Update mixer (to sync with other sessions) if we try to obtain
a new value. This makes alsamixer work accross applications.
* ext/alsa/gstalsasink.c: (gst_alsa_sink_get_time):
Only call sync functions if we're running, else alsalib asserts.
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_src_query):
Sometimes fails to compile. Possibly a gcc bug.
* gst/playback/gstplaybin.c: (gen_video_element),
(gen_audio_element):
Add a reference to an application-provided object, because we lose
this same reference if we add it to the bin. If we don't do this,
we can only use this object once and thus crash if we go from
ready to playing, back to ready and back to playing again.
Also add an audioscale element because several cheap soundcards -
like mine - don't support all samplerates.
* sys/ximage/ximagesink.c: (gst_ximagesink_xcontext_get),
(gst_ximagesink_xcontext_clear), (gst_ximagesink_change_state):
Fix wrong order or PAR calls. Makes automatically obtained PAR
from the X server atually being used.

20 years agoFixes: #151879, #151881, #151882, #151883, #151884, #151886, #151887, #152102, #152247.
David Schleef [Sun, 12 Sep 2004 22:57:26 +0000 (22:57 +0000)]
Fixes: #151879, #151881, #151882, #151883, #151884, #151886, #151887, #152102, #152247.

Original commit message from CVS:
Fixes: #151879, #151881, #151882, #151883, #151884, #151886,
#151887, #152102, #152247.
* examples/indexing/indexmpeg.c: 64-bit warning fixes.
* examples/seeking/cdparanoia.c: same
* examples/seeking/cdplayer.c: same
* examples/seeking/seek.c: same
* examples/seeking/spider_seek.c: same
* examples/seeking/vorbisfile.c: same
* examples/stats/mp2ogg.c: same
* ext/esd/esdsink.c: (gst_esdsink_class_init),
(gst_esdsink_dispose): Dispose of element properly.
* ext/ivorbis/vorbisfile.c: (gst_ivorbisfile_seek): 64-bit warning
fixes.
* ext/nas/nassink.c: (gst_nassink_class_init),
(gst_nassink_dispose): Dispose of element correctly.
* gst/wavenc/gstwavenc.c: (gst_wavenc_chain): Fix leak.
* sys/ximage/ximagesink.c: (gst_ximagesink_check_xshm_calls),
(gst_ximagesink_ximage_new), (gst_ximagesink_ximage_destroy):
Fix 64-bit warning.
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_check_xshm_calls),
(gst_xvimagesink_xvimage_new), (gst_xvimagesink_xvimage_destroy):
Fix 64-bit warning.

20 years agoconfigure.ac: change speex detection as 1.1.6 now uses .pc/pkg-config and they change...
Stéphane Loeuillet [Sun, 12 Sep 2004 13:35:52 +0000 (13:35 +0000)]
configure.ac: change speex detection as 1.1.6 now uses .pc/pkg-config and they changed their headers location.

Original commit message from CVS:
* configure.ac : change speex detection as 1.1.6 now uses
.pc/pkg-config and they changed their headers location.

20 years agoMoving MAS plugin back to gst-sandbox module.
Zeeshan Ali [Fri, 10 Sep 2004 00:40:24 +0000 (00:40 +0000)]
Moving MAS plugin back to gst-sandbox module.

Original commit message from CVS:
Moving MAS plugin back to gst-sandbox module.

20 years agoWrite meta-seek information (seek heads).
Arwed v. Merkatz [Thu, 9 Sep 2004 17:54:26 +0000 (17:54 +0000)]
Write meta-seek information (seek heads).

Original commit message from CVS:
Write meta-seek information (seek heads).

20 years agoWrite multiple blocks/frames per cluster.
Arwed v. Merkatz [Thu, 9 Sep 2004 15:40:06 +0000 (15:40 +0000)]
Write multiple blocks/frames per cluster.

Original commit message from CVS:
Write multiple blocks/frames per cluster.

20 years agoAdded a volume element to the gstplaybin pipeline and an element for setting it.
Scott Wheeler [Thu, 9 Sep 2004 15:28:20 +0000 (15:28 +0000)]
Added a volume element to the gstplaybin pipeline and an element for setting it.

Original commit message from CVS:
Added a volume element to the gstplaybin pipeline and an element for setting
it.

20 years agogst/videomixer/videomixer.c: Copy timestamps from the master pad to the output buffers.
Wim Taymans [Tue, 7 Sep 2004 13:40:52 +0000 (13:40 +0000)]
gst/videomixer/videomixer.c: Copy timestamps from the master pad to the output buffers.

Original commit message from CVS:
* gst/videomixer/videomixer.c: (gst_videomixer_blend_buffers):
Copy timestamps from the master pad to the output buffers.

20 years agothrow errors when applicable
Thomas Vander Stichele [Fri, 3 Sep 2004 16:45:36 +0000 (16:45 +0000)]
throw errors when applicable

Original commit message from CVS:
throw errors when applicable

20 years agoTrying to correct the GST_CHECK_CONFIGPROG macro. It works perfectly for
Zeeshan Ali [Thu, 2 Sep 2004 22:46:30 +0000 (22:46 +0000)]
Trying to correct the GST_CHECK_CONFIGPROG macro. It works perfectly for

Original commit message from CVS:
* Trying to correct the GST_CHECK_CONFIGPROG macro. It works perfectly for
I hope i dont break anything.

* Shifting the MAS plugin back from gst-rotten.

20 years agoCreate cue entries for audio only files.
Arwed v. Merkatz [Wed, 1 Sep 2004 13:41:37 +0000 (13:41 +0000)]
Create cue entries for audio only files.

Original commit message from CVS:
Create cue entries for audio only files.
Fix writing of CUETIME, wrongly used gst_ebml_write_date.

20 years agoWrite track and segment UIDs, write muxing date, write TRACKDEFAULTDURATION for TTA...
Arwed v. Merkatz [Wed, 1 Sep 2004 12:10:21 +0000 (12:10 +0000)]
Write track and segment UIDs, write muxing date, write TRACKDEFAULTDURATION for TTA audio, write BLOCKDURATION if known.

Original commit message from CVS:
Write track and segment UIDs, write muxing date, write TRACKDEFAULTDURATION for TTA audio, write BLOCKDURATION if known.

20 years agoadded typecast to avoid warning
Stefan Kost [Tue, 31 Aug 2004 16:07:08 +0000 (16:07 +0000)]
added typecast to avoid warning

Original commit message from CVS:
added typecast to avoid warning

20 years agofixed seg-fault and mem leak
Stefan Kost [Tue, 31 Aug 2004 14:41:37 +0000 (14:41 +0000)]
fixed seg-fault and mem leak

Original commit message from CVS:
fixed seg-fault and mem leak

20 years agoext/alsa/: Re-commit ALSA switches.
Ronald S. Bultje [Tue, 31 Aug 2004 14:12:49 +0000 (14:12 +0000)]
ext/alsa/: Re-commit ALSA switches.

Original commit message from CVS:
* ext/alsa/gstalsamixer.c: (gst_alsa_mixer_build_list):
* ext/alsa/gstalsamixertrack.c: (gst_alsa_mixer_track_new):
Re-commit ALSA switches.
* gst/adder/gstadder.c: (gst_adder_loop):
64-bit fix (#151416).
* gst/debug/progressreport.c: (gst_progressreport_report):
64-bit fix (#151419).
* gst/matroska/matroska-demux.c:
(gst_matroska_demux_parse_contents):
64-bit fix (#151420).
* gst/playback/test3.c: (update_scale):
64-bit fix (#151421).

20 years agobump nano to cvs
Thomas Vander Stichele [Tue, 31 Aug 2004 14:04:38 +0000 (14:04 +0000)]
bump nano to cvs

Original commit message from CVS:
bump nano to cvs

20 years agoreleasing
Thomas Vander Stichele [Tue, 31 Aug 2004 09:51:49 +0000 (09:51 +0000)]
releasing

Original commit message from CVS:
releasing

20 years agofix #151462
Thomas Vander Stichele [Tue, 31 Aug 2004 08:45:46 +0000 (08:45 +0000)]
fix #151462

Original commit message from CVS:
fix #151462

20 years agorevert (freeze) until release has been made
Ronald S. Bultje [Mon, 30 Aug 2004 18:41:32 +0000 (18:41 +0000)]
revert (freeze) until release has been made

Original commit message from CVS:
revert (freeze) until release has been made

20 years agogst/tcp/: Fix some memory leaks.
Wim Taymans [Mon, 30 Aug 2004 10:28:40 +0000 (10:28 +0000)]
gst/tcp/: Fix some memory leaks.

Original commit message from CVS:
* gst/tcp/gstfdset.c: (gst_fdset_free), (gst_fdset_wait):
* gst/tcp/gstmultifdsink.c: (gst_multifdsink_add),
(gst_multifdsink_remove_client_link),
(gst_multifdsink_client_queue_buffer),
(gst_multifdsink_handle_client_write):
* gst/tcp/gsttcpclientsink.c: (gst_tcpclientsink_init_send):
* gst/tcp/gsttcpclientsrc.c: (gst_tcpclientsrc_init_receive):
Fix some memory leaks.

20 years agofix for 151236
Thomas Vander Stichele [Mon, 30 Aug 2004 10:26:52 +0000 (10:26 +0000)]
fix for 151236

Original commit message from CVS:
fix for 151236

20 years agofixes #151232
Thomas Vander Stichele [Mon, 30 Aug 2004 10:03:18 +0000 (10:03 +0000)]
fixes #151232

Original commit message from CVS:
fixes #151232

20 years agoext/alsa/: Add switches (simple boolean on/off).
Ronald S. Bultje [Sun, 29 Aug 2004 19:37:38 +0000 (19:37 +0000)]
ext/alsa/: Add switches (simple boolean on/off).

Original commit message from CVS:
* ext/alsa/gstalsamixer.c: (gst_alsa_mixer_build_list):
* ext/alsa/gstalsamixertrack.c: (gst_alsa_mixer_track_new):
Add switches (simple boolean on/off).

20 years agosys/glsink/glimagesink.c: Move local variable declarations to make gcc-2.95 happy.
David Schleef [Fri, 27 Aug 2004 19:18:23 +0000 (19:18 +0000)]
sys/glsink/glimagesink.c: Move local variable declarations to make gcc-2.95 happy.

Original commit message from CVS:
* sys/glsink/glimagesink.c: (gst_glimagesink_ximage_put),
(gst_glimagesink_xwindow_new), (gst_glimagesink_xcontext_get),
(gst_glimagesink_fixate):  Move local variable declarations to
make gcc-2.95 happy.

20 years agoprerelease
Thomas Vander Stichele [Fri, 27 Aug 2004 17:38:17 +0000 (17:38 +0000)]
prerelease

Original commit message from CVS:
prerelease