platform/upstream/gstreamer.git
20 years agogst-libs/gst/riff/riff-media.c: WMV3 missing in template caps.
Ronald S. Bultje [Sat, 9 Oct 2004 19:55:30 +0000 (19:55 +0000)]
gst-libs/gst/riff/riff-media.c: WMV3 missing in template caps.

Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c:
(gst_riff_create_video_template_caps):
WMV3 missing in template caps.

20 years agogst/avi/gstavidemux.c: OK, so the original code was too strict. It makes random AVI...
Ronald S. Bultje [Sat, 9 Oct 2004 19:33:21 +0000 (19:33 +0000)]
gst/avi/gstavidemux.c: OK, so the original code was too strict. It makes random AVI files hang for seconds upon openi...

Original commit message from CVS:
* gst/avi/gstavidemux.c: (gst_avi_demux_massage_index):
OK, so the original code was too strict. It makes random AVI files
hang for seconds upon opening, which is unacceptable and is far
beyond the original goal of getting multiple chunks for one-chunk
sounc stream files. So now do just that.

20 years agogst/playback/gstplaybasebin.c: Actually clean up streaminfo if output fails. This...
Ronald S. Bultje [Sat, 9 Oct 2004 13:50:33 +0000 (13:50 +0000)]
gst/playback/gstplaybasebin.c: Actually clean up streaminfo if output fails. This would trigger if, for example, ther...

Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (setup_source),
(gst_play_base_bin_change_state):
Actually clean up streaminfo if output fails. This would trigger
if, for example, there was no CD in the drive. No preroll, so
a streaminfo structure is created, but the subsequent state change
of the thread fails.
* gst/playback/gstplaybin.c: (gst_play_bin_change_state):
Don't change state if parent failed.

20 years agogst/playback/gstplaybin.c: Add small bits of code for screenshot handling.
Ronald S. Bultje [Fri, 8 Oct 2004 18:05:39 +0000 (18:05 +0000)]
gst/playback/gstplaybin.c: Add small bits of code for screenshot handling.

Original commit message from CVS:
* gst/playback/gstplaybin.c: (gst_play_bin_class_init),
(gst_play_bin_init), (gst_play_bin_get_property), (handoff),
(gen_video_element), (remove_sinks):
Add small bits of code for screenshot handling.

20 years agogst/playback/gstplaybin.c: Don't assume the user provided sinks are named "sink"...
Wim Taymans [Fri, 8 Oct 2004 17:39:27 +0000 (17:39 +0000)]
gst/playback/gstplaybin.c: Don't assume the user provided sinks are named "sink"...

Original commit message from CVS:
* gst/playback/gstplaybin.c: (gst_play_bin_set_property),
(gen_video_element), (gen_audio_element), (setup_sinks):
Don't assume the user provided sinks are named "sink"...

20 years agogst/playback/gstplaybasebin.c: Do not try to autoplug sources that generate raw strea...
Wim Taymans [Fri, 8 Oct 2004 17:10:16 +0000 (17:10 +0000)]
gst/playback/gstplaybasebin.c: Do not try to autoplug sources that generate raw streams like cdparanoia.

Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (gen_preroll_element),
(unknown_type), (setup_source), (gst_play_base_bin_remove_element),
(gst_play_base_bin_link_stream):
Do not try to autoplug sources that generate raw streams like
cdparanoia.
disconnect the preroll overrun signal when we don't need it anymore.

20 years agoext/cdparanoia/gstcdparanoia.*: Added reworked patch from #154903 from milosz derezyn...
Wim Taymans [Fri, 8 Oct 2004 17:02:51 +0000 (17:02 +0000)]
ext/cdparanoia/gstcdparanoia.*: Added reworked patch from #154903 from milosz derezynski. This adds the cdda://<track...

Original commit message from CVS:
* ext/cdparanoia/gstcdparanoia.c: (_do_init),
(cdparanoia_base_init), (cdparanoia_class_init), (cdparanoia_init),
(cdparanoia_dispose), (cdparanoia_get), (cdparanoia_change_state),
(cdparanoia_convert), (cdparanoia_uri_get_type),
(cdparanoia_uri_get_protocols), (cdparanoia_uri_get_uri),
(cdparanoia_uri_set_uri), (cdparanoia_uri_handler_init):
* ext/cdparanoia/gstcdparanoia.h:
Added reworked patch from #154903 from milosz derezynski. This
adds the cdda://<tracknum> uri.

20 years agogst/playback/: Reuse the audio and video bins.
Wim Taymans [Fri, 8 Oct 2004 11:30:32 +0000 (11:30 +0000)]
gst/playback/: Reuse the audio and video bins.

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: (gst_play_base_bin_class_init),
(unknown_type), (gst_play_base_bin_remove_element),
(gst_play_base_bin_link_stream):
* gst/playback/gstplaybasebin.h:
* gst/playback/gstplaybin.c: (gst_play_bin_init),
(gst_play_bin_set_property), (gen_video_element),
(gen_audio_element), (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:
Reuse the audio and video bins.
Some internal cleanups in the stream selection code.

20 years agosys/: Reverting Ronald's changes as the issue is not coming from those elements....
Julien Moutte [Fri, 8 Oct 2004 11:26:48 +0000 (11:26 +0000)]
sys/: Reverting Ronald's changes as the issue is not coming from those elements. Moreover these elements should not k...

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

* sys/ximage/ximagesink.c: (gst_ximagesink_sink_link),
(gst_ximagesink_set_xwindow_id), (gst_ximagesink_init):
* sys/ximage/ximagesink.h:
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_sink_link),
(gst_xvimagesink_set_xwindow_id), (gst_xvimagesink_init):
* sys/xvimage/xvimagesink.h: Reverting Ronald's changes as the issue is
not coming from those elements. Moreover these elements should not keep
the xid they have been given when in NULL state.

20 years agosys/: Actually only create a new toplevel window if we're not gonna embed it right...
Ronald S. Bultje [Thu, 7 Oct 2004 16:22:30 +0000 (16:22 +0000)]
sys/: Actually only create a new toplevel window if we're not gonna embed it right after.

Original commit message from CVS:
* sys/ximage/ximagesink.c: (gst_ximagesink_sink_link),
(gst_ximagesink_set_xwindow_id), (gst_ximagesink_init):
* sys/ximage/ximagesink.h:
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_sink_link),
(gst_xvimagesink_set_xwindow_id), (gst_xvimagesink_init):
* sys/xvimage/xvimagesink.h:
Actually only create a new toplevel window if we're not gonna
embed it right after.

20 years agogst/playback/: Implement muting/unmuting of streams, mute streams that are not used.
Wim Taymans [Thu, 7 Oct 2004 11:14:46 +0000 (11:14 +0000)]
gst/playback/: Implement muting/unmuting of streams, mute streams that are not used.

Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (play_base_bin_mute_pad),
(gst_play_base_bin_mute_stream), (gst_play_base_bin_link_stream):
* gst/playback/gstplaybin.c: (setup_sinks):
Implement muting/unmuting of streams, mute streams that are not
used.

20 years agogst/typefind/gsttypefindfunctions.c: Added lame audio/x-ac3 typefind function.
Wim Taymans [Thu, 7 Oct 2004 09:56:43 +0000 (09:56 +0000)]
gst/typefind/gsttypefindfunctions.c: Added lame audio/x-ac3 typefind function.

Original commit message from CVS:
* gst/typefind/gsttypefindfunctions.c: (ac3_type_find),
(plugin_init):
Added lame audio/x-ac3 typefind function.

20 years agodoh, the correct bug fixes
Thomas Vander Stichele [Wed, 6 Oct 2004 17:28:28 +0000 (17:28 +0000)]
doh, the correct bug fixes

Original commit message from CVS:
doh, the correct bug fixes

20 years agobump nano to cvs
Thomas Vander Stichele [Wed, 6 Oct 2004 17:10:48 +0000 (17:10 +0000)]
bump nano to cvs

Original commit message from CVS:
bump nano to cvs

20 years agoreleasing
Thomas Vander Stichele [Wed, 6 Oct 2004 17:02:14 +0000 (17:02 +0000)]
releasing

Original commit message from CVS:
releasing

20 years agogst/playback/: Do not signal the no_more_pads after the first pad when we are pluggin...
Wim Taymans [Wed, 6 Oct 2004 16:33:05 +0000 (16:33 +0000)]
gst/playback/: Do not signal the no_more_pads after the first pad when we are plugging a non dynamic element with mul...

Original commit message from CVS:
* gst/playback/gstdecodebin.c: (gst_decode_bin_init),
(find_compatibles), (close_pad_link), (try_to_link_1), (new_pad),
(no_more_pads), (close_link), (type_found):
* gst/playback/gstplaybasebin.c: (new_decoded_pad):
* gst/playback/gstplaybin.c: (gen_video_element):
Do not signal the no_more_pads after the first pad when
we are plugging a non dynamic element with multiple
output pads (like swfdec, dvdec, ...).

20 years agocomment out libshout 2 plugin as we don't have a RPM for it yet
Christian Schaller [Wed, 6 Oct 2004 16:23:42 +0000 (16:23 +0000)]
comment out libshout 2 plugin as we don't have a RPM for it yet

Original commit message from CVS:
comment out libshout 2 plugin as we don't have a RPM for it yet

20 years agobump for prerelease
Thomas Vander Stichele [Wed, 6 Oct 2004 15:56:04 +0000 (15:56 +0000)]
bump for prerelease

Original commit message from CVS:
bump for prerelease

20 years agoadd mng plugin to spec file
Christian Schaller [Wed, 6 Oct 2004 15:24:31 +0000 (15:24 +0000)]
add mng plugin to spec file

Original commit message from CVS:
add mng plugin to spec file

20 years agogst/wavparse/gstwavparse.c: add ATRAC3 to STATIC CAPS to fix a warning
Stéphane Loeuillet [Wed, 6 Oct 2004 15:12:08 +0000 (15:12 +0000)]
gst/wavparse/gstwavparse.c: add ATRAC3 to STATIC CAPS to fix a warning

Original commit message from CVS:
* gst/wavparse/gstwavparse.c:
add ATRAC3 to STATIC CAPS to fix a warning

* gst/matroska/ebml-read.c:
* gst-libs/gst/riff/riff-read.c:
fix typos

20 years agogst-libs/gst/riff/riff-media.c: generate caps for ATRAC3 audio streams
Stéphane Loeuillet [Wed, 6 Oct 2004 14:18:13 +0000 (14:18 +0000)]
gst-libs/gst/riff/riff-media.c: generate caps for ATRAC3 audio streams

Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c:
generate caps for ATRAC3 audio streams

* gst/realmedia/rmdemux.c:
generate caps for ATRAC3 audio streams

20 years agogst/wavparse/Makefile.am gst/wavparse/riff.h gst/wavparse/wavparse.vcproj riff.h...
Stéphane Loeuillet [Wed, 6 Oct 2004 14:15:25 +0000 (14:15 +0000)]
gst/wavparse/Makefile.am gst/wavparse/riff.h gst/wavparse/wavparse.vcproj riff.h removal (unused and duplication with...

Original commit message from CVS:
* gst/wavparse/Makefile.am
* gst/wavparse/riff.h
* gst/wavparse/wavparse.vcproj
riff.h removal (unused and duplication with riff-ids.h)

20 years agogst/wavparse/gstwavparse.h remove duplicated defines for audio codec codes gst-libs...
Stéphane Loeuillet [Wed, 6 Oct 2004 14:11:56 +0000 (14:11 +0000)]
gst/wavparse/gstwavparse.h remove duplicated defines for audio codec codes gst-libs/gst/riff/riff-ids.h

Original commit message from CVS:
* gst/wavparse/gstwavparse.h
remove duplicated defines for audio codec codes

* gst-libs/gst/riff/riff-ids.h
* gst/wavenc/riff.h:
add "4CC" code for ATRAC3 audio streams
add "4CC" code for ITU_G721_ADPCM (unused for now)

20 years agogst/flx/gstflxdec.c: Actually _do_ negotiation. Pass gdouble as arg instead of guint6...
Wim Taymans [Wed, 6 Oct 2004 13:56:07 +0000 (13:56 +0000)]
gst/flx/gstflxdec.c: Actually _do_ negotiation. Pass gdouble as arg instead of guint64 for the framerate.

Original commit message from CVS:
* gst/flx/gstflxdec.c: (gst_flxdec_init), (gst_flxdec_loop):
Actually _do_ negotiation. Pass gdouble as arg instead
of guint64 for the framerate.

20 years agogst/playback/: Set state on newly added element to READY so that negotiation can...
Wim Taymans [Wed, 6 Oct 2004 09:51:36 +0000 (09:51 +0000)]
gst/playback/: Set state on newly added element to READY so that negotiation can happen ASAP.

Original commit message from CVS:
* gst/playback/gstdecodebin.c: (gst_decode_bin_init),
(find_compatibles), (close_pad_link), (try_to_link_1),
(no_more_pads), (close_link), (type_found):
* gst/playback/gstplaybasebin.c: (new_decoded_pad):
* gst/playback/gstplaybin.c: (gen_video_element),
(gen_audio_element):
Set state on newly added element to READY so that negotiation
can happen ASAP.
Addes some more debug info.
Do not try to plug pads with multiple caps structures or ANY
because it is too dangerous since we do not do dynamic
replugging.

20 years agoadd Oriya translation, yippee
Thomas Vander Stichele [Wed, 6 Oct 2004 09:16:19 +0000 (09:16 +0000)]
add Oriya translation, yippee

Original commit message from CVS:
add Oriya translation, yippee

20 years agoremove unused KIO_DIR
Thomas Vander Stichele [Tue, 5 Oct 2004 15:32:43 +0000 (15:32 +0000)]
remove unused KIO_DIR

Original commit message from CVS:
remove unused KIO_DIR

20 years agofixing libmng build
Thomas Vander Stichele [Tue, 5 Oct 2004 15:29:37 +0000 (15:29 +0000)]
fixing libmng build

Original commit message from CVS:
fixing libmng build

20 years agogst/avi/gstavidemux.c: Prevent overwrite of size member. Makes audio sound crappy.
Ronald S. Bultje [Tue, 5 Oct 2004 15:28:08 +0000 (15:28 +0000)]
gst/avi/gstavidemux.c: Prevent overwrite of size member. Makes audio sound crappy.

Original commit message from CVS:
* gst/avi/gstavidemux.c: (gst_avi_demux_massage_index):
Prevent overwrite of size member. Makes audio sound crappy.

20 years ago- add .rmvb to the list of RealMedia known file extensions
Stéphane Loeuillet [Tue, 5 Oct 2004 13:07:08 +0000 (13:07 +0000)]
- add .rmvb to the list of RealMedia known file extensions

Original commit message from CVS:
- add .rmvb to the list of RealMedia known file extensions

20 years agoext/libmng/gstmngdec.c: Set the framerate correctly.
Wim Taymans [Tue, 5 Oct 2004 10:41:08 +0000 (10:41 +0000)]
ext/libmng/gstmngdec.c: Set the framerate correctly.

Original commit message from CVS:
* ext/libmng/gstmngdec.c: (gst_mngdec_loop), (mngdec_error),
(mngdec_openstream), (mngdec_closestream),
(mngdec_handle_sink_event), (mngdec_readdata),
(mngdec_gettickcount), (mngdec_settimer), (mngdec_processheader),
(mngdec_getcanvasline), (mngdec_refresh),
(gst_mngdec_change_state):
Set the framerate correctly.

20 years agogst/avi/gstavidemux.c: There was something wrong with the index massaging.
Ronald S. Bultje [Mon, 4 Oct 2004 17:29:27 +0000 (17:29 +0000)]
gst/avi/gstavidemux.c: There was something wrong with the index massaging.

Original commit message from CVS:
* gst/avi/gstavidemux.c: (gst_avi_demux_massage_index):
There was something wrong with the index massaging.

20 years agoext/jpeg/: Updated smoke, new bitstream, allows embedding in ogg.
Wim Taymans [Mon, 4 Oct 2004 16:53:48 +0000 (16:53 +0000)]
ext/jpeg/: Updated smoke, new bitstream, allows embedding in ogg.

Original commit message from CVS:
* ext/jpeg/gstjpeg.c: (smoke_type_find), (plugin_init):
* ext/jpeg/gstsmokedec.c: (gst_smokedec_init),
(gst_smokedec_chain):
* ext/jpeg/gstsmokedec.h:
* ext/jpeg/gstsmokeenc.c: (gst_smokeenc_class_init),
(gst_smokeenc_init), (gst_smokeenc_resync), (gst_smokeenc_chain):
* ext/jpeg/gstsmokeenc.h:
* ext/jpeg/smokecodec.c: (smokecodec_encode_new),
(smokecodec_decode_new), (smokecodec_info_free),
(smokecodec_set_quality), (smokecodec_get_quality),
(smokecodec_set_threshold), (smokecodec_get_threshold),
(smokecodec_set_bitrate), (smokecodec_get_bitrate),
(find_best_size), (abs_diff), (put), (smokecodec_encode_id),
(smokecodec_encode), (smokecodec_parse_id),
(smokecodec_parse_header), (smokecodec_decode):
* ext/jpeg/smokecodec.h:
* ext/jpeg/smokeformat.h:
Updated smoke, new bitstream, allows embedding in ogg.

20 years agogst/avi/gstavidemux.c: Fix seeking in some files. All this code is no longer needed...
Ronald S. Bultje [Mon, 4 Oct 2004 16:48:25 +0000 (16:48 +0000)]
gst/avi/gstavidemux.c: Fix seeking in some files. All this code is no longer needed (and actually breaks stuff) becau...

Original commit message from CVS:
* gst/avi/gstavidemux.c: (gst_avi_demux_handle_src_event):
Fix seeking in some files. All this code is no longer needed (and
actually breaks stuff) because we now synchronize the full index
right when reading the header.

20 years agoconfigure.ac: configure update for libmng.
Wim Taymans [Mon, 4 Oct 2004 16:38:45 +0000 (16:38 +0000)]
configure.ac: configure update for libmng.

Original commit message from CVS:
* configure.ac:
configure update for libmng.

20 years agoext/libmng/: Added basic MNG decoder. Needs more work. The encoder does not work...
Wim Taymans [Mon, 4 Oct 2004 16:37:06 +0000 (16:37 +0000)]
ext/libmng/: Added basic MNG decoder. Needs more work. The encoder does not work yet.

Original commit message from CVS:
* ext/libmng/Makefile.am:
* ext/libmng/gstmng.c: (plugin_init):
* ext/libmng/gstmng.h:
* ext/libmng/gstmngdec.c: (gst_mngdec_get_type),
(gst_mngdec_base_init), (gst_mngdec_class_init),
(gst_mngdec_sinklink), (gst_mngdec_init), (gst_mngdec_src_getcaps),
(gst_mngdec_loop), (gst_mngdec_get_property),
(gst_mngdec_set_property), (mngdec_error), (mngdec_openstream),
(mngdec_closestream), (mngdec_handle_sink_event),
(mngdec_readdata), (mngdec_gettickcount), (mngdec_settimer),
(mngdec_processheader), (mngdec_getcanvasline), (mngdec_refresh),
(gst_mngdec_change_state):
* ext/libmng/gstmngdec.h:
* ext/libmng/gstmngenc.c: (gst_mngenc_get_type),
(mng_caps_factory), (raw_caps_factory), (gst_mngenc_base_init),
(gst_mngenc_class_init), (gst_mngenc_sinklink), (gst_mngenc_init),
(gst_mngenc_chain), (gst_mngenc_get_property),
(gst_mngenc_set_property):
* ext/libmng/gstmngenc.h:
Added basic MNG decoder. Needs more work. The encoder does
not work yet.

20 years agogst/realmedia/rmdemux.c: Don't hang on length=0 chunks. Some negotiation fixes. Signa...
Ronald S. Bultje [Mon, 4 Oct 2004 16:10:40 +0000 (16:10 +0000)]
gst/realmedia/rmdemux.c: Don't hang on length=0 chunks. Some negotiation fixes. Signal no-more-pads.

Original commit message from CVS:
* gst/realmedia/rmdemux.c: (gst_rmdemux_handle_sink_event),
(gst_rmdemux_loop), (gst_rmdemux_add_stream),
(gst_rmdemux_parse_mdpr), (gst_rmdemux_dump_mdpr):
Don't hang on length=0 chunks. Some negotiation fixes. Signal
no-more-pads.

20 years agoand this one too
Thomas Vander Stichele [Mon, 4 Oct 2004 15:21:18 +0000 (15:21 +0000)]
and this one too

Original commit message from CVS:
and this one too

20 years agoyou need 1.0.4 of speex
Thomas Vander Stichele [Mon, 4 Oct 2004 15:11:49 +0000 (15:11 +0000)]
you need 1.0.4 of speex

Original commit message from CVS:
you need 1.0.4 of speex

20 years agoRevert the changes to the speex include file locations.
Iain Holmes [Mon, 4 Oct 2004 14:54:49 +0000 (14:54 +0000)]
Revert the changes to the speex include file locations.

Original commit message from CVS:
Revert the changes to the speex include file locations.

20 years agogst/realmedia/rmdemux.c: Use debug category, fix EOS handling. filesrc ! rmdemux...
Ronald S. Bultje [Mon, 4 Oct 2004 14:43:22 +0000 (14:43 +0000)]
gst/realmedia/rmdemux.c: Use debug category, fix EOS handling. filesrc ! rmdemux now works.

Original commit message from CVS:
* gst/realmedia/rmdemux.c: (gst_rmdemux_class_init),
(gst_rmdemux_init), (gst_rmdemux_handle_sink_event),
(gst_rmdemux_loop), (gst_rmdemux_add_stream), (re_hexdump_bytes),
(re_dump_pascal_string), (gst_rmdemux_dump__rmf),
(gst_rmdemux_dump_prop), (gst_rmdemux_parse_mdpr),
(gst_rmdemux_dump_mdpr), (gst_rmdemux_dump_indx),
(gst_rmdemux_dump_data):
Use debug category, fix EOS handling. filesrc ! rmdemux now
works.

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 agogst-libs/gst/riff/riff-media.c: Add wing commander format mimetype/fourccs.
Ronald S. Bultje [Sat, 2 Oct 2004 20:27:03 +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 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:48 +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:52 +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 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:07 +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:13 +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:36 +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:34 +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.