platform/upstream/gstreamer.git
18 years agoext/libpng/gstpngdec.*: Implement buffer clipping/dropping using GstSegment.
Edward Hervey [Mon, 3 Jul 2006 15:31:22 +0000 (15:31 +0000)]
ext/libpng/gstpngdec.*: Implement buffer clipping/dropping using GstSegment.

Original commit message from CVS:
* ext/libpng/gstpngdec.c: (gst_pngdec_init), (user_info_callback),
(buffer_clip), (user_end_callback), (gst_pngdec_chain),
(gst_pngdec_sink_event), (gst_pngdec_change_state):
* ext/libpng/gstpngdec.h:
Implement buffer clipping/dropping using GstSegment.
This provides accurate seeking.

18 years agogst/avi/gstavidemux.*: Proper aggregation of each stream's GstFlowReturn in order...
Edward Hervey [Mon, 3 Jul 2006 15:28:48 +0000 (15:28 +0000)]
gst/avi/gstavidemux.*: Proper aggregation of each stream's GstFlowReturn in order to figure out whether the task shou...

Original commit message from CVS:
* gst/avi/gstavidemux.c: (gst_avi_demux_reset),
(gst_avi_demux_read_subindexes), (gst_avi_demux_parse_stream),
(gst_avi_demux_handle_seek), (gst_avi_demux_aggregated_flow),
(gst_avi_demux_process_next_entry), (push_tag_lists),
(gst_avi_demux_stream_data), (gst_avi_demux_loop):
* gst/avi/gstavidemux.h:
Proper aggregation of each stream's GstFlowReturn in order to figure out
whether the task should stop or not.
Don't send inline events before pushing out a NEW_SEGMENT, more
specifically for GST_TAG_EVENT.
Change a GST_ERROR to a GST_WARNING for a non-fatal situation in reading
sub-indexes.

18 years agosys/sunaudio/gstsunaudiomixerctrl.c: Move "Monitor" slider to input tab so it works...
Brian Cameron [Fri, 30 Jun 2006 07:11:24 +0000 (07:11 +0000)]
sys/sunaudio/gstsunaudiomixerctrl.c: Move "Monitor" slider to input tab so it works more like sdtaudiocontrol, which ...

Original commit message from CVS:
Patch by: Brian Cameron  <brian dot cameron at sun dot com>
* sys/sunaudio/gstsunaudiomixerctrl.c:
(gst_sunaudiomixer_ctrl_build_list):
Move "Monitor" slider to input tab so it works more like
sdtaudiocontrol, which is what people on Solaris are used
to using for their mixer program (#346259).

18 years agotests/check/elements/level.c: fix a leak, clean up at the end
Thomas Vander Stichele [Thu, 29 Jun 2006 14:50:18 +0000 (14:50 +0000)]
tests/check/elements/level.c: fix a leak, clean up at the end

Original commit message from CVS:
* tests/check/elements/level.c: (GST_START_TEST):
fix a leak, clean up at the end

18 years agogst/matroska/: Send tag event after newsegment event.
Tim-Philipp Müller [Thu, 29 Jun 2006 11:41:55 +0000 (11:41 +0000)]
gst/matroska/: Send tag event after newsegment event.

Original commit message from CVS:
* gst/matroska/matroska-demux.c: (gst_matroska_demux_add_stream),
(gst_matroska_demux_send_event),
(gst_matroska_demux_loop_stream_parse_id):
* gst/matroska/matroska-ids.h:
Send tag event after newsegment event.

18 years agogst/id3demux/gstid3demux.c: Make sure we don't return GST_FLOW_OK with a NULL buffer...
Tim-Philipp Müller [Thu, 29 Jun 2006 11:11:50 +0000 (11:11 +0000)]
gst/id3demux/gstid3demux.c: Make sure we don't return GST_FLOW_OK with a NULL buffer in certain cases where a read be...

Original commit message from CVS:
* gst/id3demux/gstid3demux.c: (gst_id3demux_trim_buffer),
(gst_id3demux_read_range):
Make sure we don't return GST_FLOW_OK with a NULL buffer in
certain cases where a read beyond the end of the file is
requested. Fixes #345930.
* gst/apetag/gsttagdemux.c: (gst_tag_demux_trim_buffer),
(gst_tag_demux_read_range):
Fix same issue here as well.

18 years agosys/ximage/gstximagesrc.c: Fix hypothetical crash.
Zaheer Abbas Merali [Thu, 29 Jun 2006 11:05:14 +0000 (11:05 +0000)]
sys/ximage/gstximagesrc.c: Fix hypothetical crash.

Original commit message from CVS:
2006-06-29  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

* sys/ximage/gstximagesrc.c: (gst_ximage_src_ximage_get):

Fix hypothetical crash.

18 years agosys/sunaudio/gstsunaudiosink.c: Do not modify the ports value. If the user has turned...
Brian Cameron [Wed, 28 Jun 2006 08:36:30 +0000 (08:36 +0000)]
sys/sunaudio/gstsunaudiosink.c: Do not modify the ports value. If the user has turned off the built-in speakers, then...

Original commit message from CVS:
Patch by: Brian Cameron  <brian dot cameron at sun dot com>
* sys/sunaudio/gstsunaudiosink.c: (gst_sunaudiosink_prepare):
Do not modify the ports value. If the user has turned off the
built-in speakers, then we should not reset it in the prepare
function, since this causes the built-in speakers to turn
back on anytime the user changes a track in totem, rhythmbox,
etc. (#346066).

18 years agogst/goom/gstgoom.c: Fix double caps unref when negotiation fails.
Wim Taymans [Fri, 23 Jun 2006 09:35:45 +0000 (09:35 +0000)]
gst/goom/gstgoom.c: Fix double caps unref when negotiation fails.

Original commit message from CVS:
* gst/goom/gstgoom.c: (gst_goom_src_negotiate):
Fix double caps unref when negotiation fails.

18 years agoUse GST_DEBUG_CATEGORY_STATIC where possible (#342503) plus two minor macro fixes.
Tim-Philipp Müller [Thu, 22 Jun 2006 19:31:04 +0000 (19:31 +0000)]
Use GST_DEBUG_CATEGORY_STATIC where possible (#342503) plus two minor macro fixes.

Original commit message from CVS:
* ext/annodex/gstcmmldec.c:
* ext/annodex/gstcmmlenc.c:
* ext/annodex/gstcmmlparser.c:
* ext/dv/gstdvdec.c:
* ext/dv/gstdvdemux.c:
* ext/gdk_pixbuf/pixbufscale.c:
* ext/jpeg/gstjpegenc.c:
* ext/jpeg/gstsmokedec.c:
* ext/jpeg/gstsmokeenc.c:
* ext/libpng/gstpngdec.c:
* ext/libpng/gstpngenc.c:
* ext/speex/gstspeexenc.c:
* gst/alpha/gstalphacolor.c:
* gst/cutter/gstcutter.c:
* gst/debug/gstnavigationtest.c:
* gst/icydemux/gsticydemux.c:
* gst/level/gstlevel.c:
* gst/multipart/multipart.c:
* gst/rtp/gstrtpamrpay.c:
* gst/rtp/gstrtpdepay.c:
* gst/rtp/gstrtpilbcpay.c:
* gst/rtp/gstrtpmp4gpay.c:
* gst/rtp/gstrtpmp4vpay.c:
* gst/rtsp/gstrtpdec.c:
* gst/rtsp/gstrtspsrc.c:
* gst/udp/gstdynudpsink.c:
* gst/udp/gstmultiudpsink.c:
* gst/udp/gstudpsrc.c:
* gst/videobox/gstvideobox.c:
* gst/videofilter/gstvideoflip.c:
Use GST_DEBUG_CATEGORY_STATIC where possible (#342503)
plus two minor macro fixes.

18 years agogst/matroska/: Try to fix up broken matroska files containing subtitle streams with...
Tim-Philipp Müller [Thu, 22 Jun 2006 16:27:03 +0000 (16:27 +0000)]
gst/matroska/: Try to fix up broken matroska files containing subtitle streams with non-UTF8 character encodings (cou...

Original commit message from CVS:
* gst/matroska/matroska-demux.c:
(gst_matroska_demux_check_subtitle_buffer),
(gst_matroska_demux_parse_blockgroup_or_simpleblock),
(gst_matroska_demux_subtitle_caps):
* gst/matroska/matroska-ids.c:
(gst_matroska_track_init_subtitle_context):
* gst/matroska/matroska-ids.h:
Try to fix up broken matroska files containing subtitle
streams with non-UTF8 character encodings (courtesy of
mkvmerge) using either the encoding specified in the
GST_SUBTITLE_ENCODING environment variable or the
current locale's character set if it is non-UTF8.
Fixes #337076.

18 years agogst/id3demux/id3v2frames.c: Set image type from APIC frame as "image-type" field...
Tim-Philipp Müller [Thu, 22 Jun 2006 12:17:13 +0000 (12:17 +0000)]
gst/id3demux/id3v2frames.c: Set image type from APIC frame as "image-type" field of GST_TAG_IMAGE buffer caps (#344605).

Original commit message from CVS:
* gst/id3demux/id3v2frames.c: (parse_picture_frame):
Set image type from APIC frame as "image-type" field
of GST_TAG_IMAGE buffer caps (#344605).

18 years agoext/flac/: Support chain-based operation, should make flac-over-DAAP work (#340492).
Tim-Philipp Müller [Tue, 20 Jun 2006 19:40:29 +0000 (19:40 +0000)]
ext/flac/: Support chain-based operation, should make flac-over-DAAP work (#340492).

Original commit message from CVS:
* ext/flac/Makefile.am:
* ext/flac/gstflacdec.c: (gst_flac_dec_init),
(gst_flac_dec_reset_decoders),
(gst_flac_dec_setup_seekable_decoder),
(gst_flac_dec_setup_stream_decoder), (gst_flac_dec_finalize),
(gst_flac_dec_metadata_callback),
(gst_flac_dec_metadata_callback_seekable),
(gst_flac_dec_metadata_callback_stream),
(gst_flac_dec_error_callback),
(gst_flac_dec_error_callback_seekable),
(gst_flac_dec_error_callback_stream), (gst_flac_dec_read_seekable),
(gst_flac_dec_read_stream), (gst_flac_dec_write),
(gst_flac_dec_write_seekable), (gst_flac_dec_write_stream),
(gst_flac_dec_loop), (gst_flac_dec_sink_event),
(gst_flac_dec_chain), (gst_flac_dec_convert_sink),
(gst_flac_dec_get_sink_query_types), (gst_flac_dec_sink_query),
(gst_flac_dec_get_src_query_types), (gst_flac_dec_src_query),
(gst_flac_dec_handle_seek_event), (gst_flac_dec_sink_activate),
(gst_flac_dec_sink_activate_push),
(gst_flac_dec_sink_activate_pull), (gst_flac_dec_change_state):
* ext/flac/gstflacdec.h:
Support chain-based operation, should make flac-over-DAAP
work (#340492).

18 years agodocs/plugins/gst-plugins-good-plugins-sections.txt: Doc updates, merge some unused...
Wim Taymans [Tue, 20 Jun 2006 15:35:05 +0000 (15:35 +0000)]
docs/plugins/gst-plugins-good-plugins-sections.txt: Doc updates, merge some unused symbols.

Original commit message from CVS:
* docs/plugins/gst-plugins-good-plugins-sections.txt:
Doc updates, merge some unused symbols.

18 years agoAdded documentation for the rtsp plugin. Fixes #345393.
Wim Taymans [Tue, 20 Jun 2006 14:57:09 +0000 (14:57 +0000)]
Added documentation for the rtsp plugin. Fixes #345393.

Original commit message from CVS:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-good-plugins-docs.sgml:
* docs/plugins/gst-plugins-good-plugins-sections.txt:
* gst/rtsp/gstrtpdec.c: (gst_rtpdec_class_init):
* gst/rtsp/gstrtspsrc.c:
* gst/rtsp/gstrtspsrc.h:
Added documentation for the rtsp plugin. Fixes #345393.

18 years agogst/rtsp/rtspconnection.c: Use better G_OS_* macros. Fixes #345301 some more.
Wim Taymans [Tue, 20 Jun 2006 12:10:29 +0000 (12:10 +0000)]
gst/rtsp/rtspconnection.c: Use better G_OS_* macros. Fixes #345301 some more.

Original commit message from CVS:
* gst/rtsp/rtspconnection.c: (inet_aton), (rtsp_connection_send),
(rtsp_connection_close), (rtsp_connection_free):
Use better G_OS_* macros. Fixes #345301 some more.

18 years agosys/sunaudio/: Add a SunAudio source plugin.
Brian Cameron [Tue, 20 Jun 2006 10:35:48 +0000 (10:35 +0000)]
sys/sunaudio/: Add a SunAudio source plugin.

Original commit message from CVS:
Patch by: Brian Cameron <brian dot cameron at sun dot com>
* sys/sunaudio/Makefile.am:
* sys/sunaudio/gstsunaudio.c: (plugin_init):
* sys/sunaudio/gstsunaudiomixerctrl.c:
(gst_sunaudiomixer_ctrl_build_list), (gst_sunaudiomixer_ctrl_new),
(gst_sunaudiomixer_ctrl_list_tracks),
(gst_sunaudiomixer_ctrl_get_volume),
(gst_sunaudiomixer_ctrl_set_volume),
(gst_sunaudiomixer_ctrl_set_mute),
(gst_sunaudiomixer_ctrl_set_record):
* sys/sunaudio/gstsunaudiomixerctrl.h:
* sys/sunaudio/gstsunaudiomixertrack.c:
(gst_sunaudiomixer_track_init), (gst_sunaudiomixer_track_new):
* sys/sunaudio/gstsunaudiomixertrack.h:
* sys/sunaudio/gstsunaudiosrc.c: (gst_sunaudiosrc_dispose),
(gst_sunaudiosrc_base_init), (gst_sunaudiosrc_class_init),
(gst_sunaudiosrc_init), (gst_sunaudiosrc_set_property),
(gst_sunaudiosrc_get_property), (gst_sunaudiosrc_getcaps),
(gst_sunaudiosrc_open), (gst_sunaudiosrc_close),
(gst_sunaudiosrc_prepare), (gst_sunaudiosrc_unprepare),
(gst_sunaudiosrc_read), (gst_sunaudiosrc_delay),
(gst_sunaudiosrc_reset):
* sys/sunaudio/gstsunaudiosrc.h:
Add a SunAudio source plugin.
Support stereo and right/left channel gain in the mixer plugin.
Support the RECORD flag so that you can switch between line-input and
microphone in gnome-volume-control.
Code cleanups like using an enumerator for track number instead of an
integer. Fixes #344923.

18 years agogst/rtsp/rtspconnection.c: Make RTSP plugin compile on windows. Fixes #345301.
Joni Valtanen [Tue, 20 Jun 2006 10:31:41 +0000 (10:31 +0000)]
gst/rtsp/rtspconnection.c: Make RTSP plugin compile on windows. Fixes #345301.

Original commit message from CVS:
Patch by: Joni Valtanen <joni dot valtanen at movial dot fi>
* gst/rtsp/rtspconnection.c: (inet_aton), (rtsp_connection_send),
(rtsp_connection_close):
Make RTSP plugin compile on windows. Fixes #345301.
Some changes to original patch to catch errors better.
use ifdef WIN32 instead of ifndef.

18 years agoconfigure.ac: If we have libraw1394 >= 1.2.1, then we need libiec61883.
Zaheer Abbas Merali [Mon, 19 Jun 2006 10:00:18 +0000 (10:00 +0000)]
configure.ac: If we have libraw1394 >= 1.2.1, then we need libiec61883.

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

* configure.ac:
If we have libraw1394 >= 1.2.1, then we need libiec61883.

18 years agoext/jpeg/gstjpegdec.c: After a failed buffer alloc, we need to abort the jpeg decodin...
Edward Hervey [Sun, 18 Jun 2006 14:00:19 +0000 (14:00 +0000)]
ext/jpeg/gstjpegdec.c: After a failed buffer alloc, we need to abort the jpeg decoding (it started when parsing heade...

Original commit message from CVS:
* ext/jpeg/gstjpegdec.c: (gst_jpeg_dec_chain):
After a failed buffer alloc, we need to abort the jpeg decoding (it
started when parsing headers to figure out how many bytes we need
to request downstream).

18 years agogst/wavparse/gstwavparse.c: Make sure we don't read beyond the end of the file (...
Mark Nauwelaerts [Sun, 18 Jun 2006 12:37:12 +0000 (12:37 +0000)]
gst/wavparse/gstwavparse.c: Make sure we don't read beyond the end of the file (#345232).

Original commit message from CVS:
Patch by: Mark Nauwelaerts  <manauw at skynet be>
* gst/wavparse/gstwavparse.c: (gst_wavparse_perform_seek):
Make sure we don't read beyond the end of the file (#345232).

18 years agoconfigure.ac: Fix --disable-external (can't set conditionals conditionally, #343602).
Tim-Philipp Müller [Sat, 17 Jun 2006 14:35:37 +0000 (14:35 +0000)]
configure.ac: Fix --disable-external (can't set conditionals conditionally, #343602).

Original commit message from CVS:
* configure.ac:
Fix --disable-external (can't set conditionals conditionally,
#343602).

18 years agogst/spectrum/Makefile.am: Fix build.
Zaheer Abbas Merali [Fri, 16 Jun 2006 12:35:08 +0000 (12:35 +0000)]
gst/spectrum/Makefile.am: Fix build.

Original commit message from CVS:
2006-06-16  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

* gst/spectrum/Makefile.am:
Fix build.

18 years agoUse GST_PLUGIN_DOCS, --enable-plugin-docs etc.
Tim-Philipp Müller [Fri, 16 Jun 2006 10:56:24 +0000 (10:56 +0000)]
Use GST_PLUGIN_DOCS, --enable-plugin-docs etc.

Original commit message from CVS:
* autogen.sh:
* configure.ac:
* docs/Makefile.am:
Use GST_PLUGIN_DOCS, --enable-plugin-docs etc.
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-good-plugins-docs.sgml:
* docs/plugins/inspect/plugin-taglib.xml:
Add/fix apev2mux docs.

18 years agogst/spectrum/: port to use message to get results, cleanly exit when closing the...
Stefan Kost [Fri, 16 Jun 2006 09:49:07 +0000 (09:49 +0000)]
gst/spectrum/: port to use message to get results, cleanly exit when closing the window

Original commit message from CVS:
* gst/spectrum/demo-audiotest.c: (on_window_destroy),
(draw_spectrum), (message_handler), (main):
* gst/spectrum/demo-osssrc.c: (on_window_destroy), (draw_spectrum),
(message_handler), (main):
port to use message to get results, cleanly exit when closing the window
* gst/spectrum/gstspectrum.c: (gst_spectrum_class_init),
(gst_spectrum_init), (gst_spectrum_dispose),
(gst_spectrum_set_property), (gst_spectrum_get_property),
(gst_spectrum_set_caps), (gst_spectrum_start),
(gst_spectrum_message_new), (gst_spectrum_transform_ip):
* gst/spectrum/gstspectrum.h:
port to derive from basetransform and send results via messages
(like level element)

18 years agogst/qtdemux/qtdemux.c: Combine return values from src pad pushes.
Wim Taymans [Thu, 15 Jun 2006 15:58:09 +0000 (15:58 +0000)]
gst/qtdemux/qtdemux.c: Combine return values from src pad pushes.

Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (gst_qtdemux_perform_seek),
(gst_qtdemux_combine_flows), (gst_qtdemux_loop_state_movie),
(gst_qtdemux_loop), (gst_qtdemux_chain), (qtdemux_parse_trak):
Combine return values from src pad pushes.

18 years agogst/qtdemux/qtdemux.c: Don't crash on files with 0 samples, EOS immediatly instead.
Wim Taymans [Thu, 15 Jun 2006 08:50:09 +0000 (08:50 +0000)]
gst/qtdemux/qtdemux.c: Don't crash on files with 0 samples, EOS immediatly instead.

Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (gst_qtdemux_loop_state_header),
(gst_qtdemux_prepare_current_sample), (gst_qtdemux_advance_sample),
(gst_qtdemux_add_stream):
Don't crash on files with 0 samples, EOS immediatly instead.
Fixes #344944.

18 years agoext/dv/gstdvdec.c: Reset segment info on flush.
Wim Taymans [Wed, 14 Jun 2006 15:59:56 +0000 (15:59 +0000)]
ext/dv/gstdvdec.c: Reset segment info on flush.

Original commit message from CVS:
* ext/dv/gstdvdec.c: (gst_dvdec_class_init), (gst_dvdec_init),
(gst_dvdec_finalize), (gst_dvdec_sink_event),
(gst_dvdec_change_state):
Reset segment info on flush.
Alloc segment in _init, free in _finalize.
* ext/dv/gstdvdemux.c: (gst_dvdemux_handle_pull_seek):
Don't send segments twice.

18 years agoext/dv/gstdvdemux.c: Respect segment.stop. Fixes #342592.
Wim Taymans [Wed, 14 Jun 2006 15:07:22 +0000 (15:07 +0000)]
ext/dv/gstdvdemux.c: Respect segment.stop. Fixes #342592.

Original commit message from CVS:
* ext/dv/gstdvdemux.c: (gst_dvdemux_demux_frame):
Respect segment.stop. Fixes #342592.

18 years agogst/matroska/matroska-demux.c: No language specified means the implied language is...
Tim-Philipp Müller [Wed, 14 Jun 2006 11:28:41 +0000 (11:28 +0000)]
gst/matroska/matroska-demux.c: No language specified means the implied language is English according to the matroska ...

Original commit message from CVS:
* gst/matroska/matroska-demux.c: (gst_matroska_demux_add_stream):
No language specified means the implied language is English
according to the matroska spec (partially fixes #344708);
add some more debug output.

18 years agoext/wavpack/gstwavpackenc.*: Use bitrate property solely for bitrates and add new...
Sebastian Dröge [Wed, 14 Jun 2006 09:32:27 +0000 (09:32 +0000)]
ext/wavpack/gstwavpackenc.*: Use bitrate property solely for bitrates and add new bits-per-sample property for the ot...

Original commit message from CVS:
Patch by: Sebastian Dröge  <slomo at circular-chaos org>
* ext/wavpack/gstwavpackenc.c: (gst_wavpack_enc_base_init),
(gst_wavpack_enc_class_init), (gst_wavpack_enc_set_wp_config),
(gst_wavpack_enc_chain), (gst_wavpack_enc_sink_event),
(gst_wavpack_enc_set_property), (gst_wavpack_enc_get_property):
* ext/wavpack/gstwavpackenc.h:
Use bitrate property solely for bitrates and add new
bits-per-sample property for the other stuff. Set duration
to 'unknown' in initial header and resend header with proper
duration on EOS; update Sebastian's e-mail address.

18 years agogst/wavparse/gstwavparse.c: When operating chain-based, don't make any assumptions...
Tim-Philipp Müller [Wed, 14 Jun 2006 08:06:43 +0000 (08:06 +0000)]
gst/wavparse/gstwavparse.c: When operating chain-based, don't make any assumptions about the chunking of the incoming...

Original commit message from CVS:
* gst/wavparse/gstwavparse.c: (gst_wavparse_peek_chunk_info),
(gst_wavparse_peek_chunk), (gst_wavparse_stream_headers),
(gst_wavparse_chain):
When operating chain-based, don't make any assumptions about the
chunking of the incoming data and make streaming work on days other
than the second Thursday after a full moon. Also fix up debug
messages here and there and make use of the most excellent new
gst_pad_query_peer_duration() utility function.
Skip any 'bext' chunks in front of the 'fmt ' chunk. Fixes #343837.
* gst/wavparse/gstwavparse.h:
Remove trailing comma after last enum value, some compilers don't
like that.

18 years agogst/wavparse/gstwavparse.c: Handle premature EOS gracefully.
Wim Taymans [Tue, 13 Jun 2006 17:05:25 +0000 (17:05 +0000)]
gst/wavparse/gstwavparse.c: Handle premature EOS gracefully.

Original commit message from CVS:
* gst/wavparse/gstwavparse.c: (gst_wavparse_stream_data):
Handle premature EOS gracefully.

18 years agogst/avi/gstavidemux.c: Prevent out of bounds array access when scrubbing towards...
Tim-Philipp Müller [Tue, 13 Jun 2006 09:54:26 +0000 (09:54 +0000)]
gst/avi/gstavidemux.c: Prevent out of bounds array access when scrubbing towards the end of the file between the last...

Original commit message from CVS:
* gst/avi/gstavidemux.c: (gst_avi_demux_handle_seek):
Prevent out of bounds array access when scrubbing towards
the end of the file between the last index entry and the
end. Fixes occasional 'start <= stop' newsegment event
assertions when scrubbing in MJPEG files.

18 years agotests/check/elements/.cvsignore: And another one.
Tim-Philipp Müller [Mon, 12 Jun 2006 11:13:39 +0000 (11:13 +0000)]
tests/check/elements/.cvsignore: And another one.

Original commit message from CVS:
* tests/check/elements/.cvsignore:
And another one.

18 years agogst/spectrum/.cvsignore: Ignore more.
Tim-Philipp Müller [Mon, 12 Jun 2006 11:04:59 +0000 (11:04 +0000)]
gst/spectrum/.cvsignore: Ignore more.

Original commit message from CVS:
* gst/spectrum/.cvsignore:
Ignore more.

18 years agoext/libmms/gstmms.c: Set caps on outgoing buffers.
Tim-Philipp Müller [Mon, 12 Jun 2006 10:53:26 +0000 (10:53 +0000)]
ext/libmms/gstmms.c: Set caps on outgoing buffers.

Original commit message from CVS:
* ext/libmms/gstmms.c: (gst_mms_create):
Set caps on outgoing buffers.
* sys/directdraw/gstdirectdrawsink.c: (gst_directdrawsink_init):
Comment out unused global instance variable.

18 years agogst/id3demux/id3v2frames.c: Extract images from ID3v2 tags (APIC frames). Fixes ...
Tim-Philipp Müller [Sun, 11 Jun 2006 19:31:10 +0000 (19:31 +0000)]
gst/id3demux/id3v2frames.c: Extract images from ID3v2 tags (APIC frames). Fixes #339704.

Original commit message from CVS:
* gst/id3demux/id3v2frames.c: (id3demux_id3v2_parse_frame),
(scan_encoded_string), (parse_picture_frame):
Extract images from ID3v2 tags (APIC frames). Fixes #339704.
* configure.ac:
Require core >= 0.10.8 (for GST_TAG_IMAGE and
GST_TAG_PPEVIEW_IMAGE used in the patch above).

18 years agomoap ignore
Thomas Vander Stichele [Sun, 11 Jun 2006 18:56:24 +0000 (18:56 +0000)]
moap ignore

Original commit message from CVS:
moap ignore

18 years agoext/raw1394/gstdv1394src.c: gratuitous comment changes
Thomas Vander Stichele [Sun, 11 Jun 2006 18:52:19 +0000 (18:52 +0000)]
ext/raw1394/gstdv1394src.c: gratuitous comment changes

Original commit message from CVS:
* ext/raw1394/gstdv1394src.c: (gst_dv1394src_discover_avc_node):
gratuitous comment changes
* tests/check/elements/level.c: (GST_START_TEST):
fix level test leaks

18 years agoignore more
Thomas Vander Stichele [Sun, 11 Jun 2006 18:44:54 +0000 (18:44 +0000)]
ignore more

Original commit message from CVS:
ignore more

18 years agogst/: Use gst_pad_query_peer_duration() utility function here.
Tim-Philipp Müller [Sun, 11 Jun 2006 18:20:39 +0000 (18:20 +0000)]
gst/: Use gst_pad_query_peer_duration() utility function here.

Original commit message from CVS:
* gst/apetag/gsttagdemux.c: (gst_tag_demux_get_upstream_size):
* gst/id3demux/gstid3demux.c: (id3demux_get_upstream_size):
Use gst_pad_query_peer_duration() utility function here.

18 years agoautogen.sh: require am17
Thomas Vander Stichele [Sun, 11 Jun 2006 13:57:19 +0000 (13:57 +0000)]
autogen.sh: require am17

Original commit message from CVS:

* autogen.sh:
require am17
* configure.ac:
* ext/annodex/Makefile.am:
* ext/cdio/Makefile.am:
* ext/dv/Makefile.am:
* ext/esd/Makefile.am:
* ext/flac/Makefile.am:
* ext/gdk_pixbuf/Makefile.am:
* ext/ladspa/Makefile.am:
* ext/libcaca/Makefile.am:
* ext/speex/Makefile.am:
* ext/taglib/Makefile.am:
* sys/oss/Makefile.am:
* sys/sunaudio/Makefile.am:
* sys/ximage/Makefile.am:
clean up build further

18 years agoupdate
Thomas Vander Stichele [Sun, 11 Jun 2006 13:55:34 +0000 (13:55 +0000)]
update

Original commit message from CVS:
update

18 years agoext/wavpack/: Add wavpack encoder element (#343131).
Sebastian Dröge [Sat, 10 Jun 2006 15:33:18 +0000 (15:33 +0000)]
ext/wavpack/: Add wavpack encoder element (#343131).

Original commit message from CVS:
Patch by: Sebastian Dröge  <mail at slomosnail de>
* ext/wavpack/Makefile.am:
* ext/wavpack/gstwavpack.c: (plugin_init):
* ext/wavpack/gstwavpackcommon.h:
* ext/wavpack/gstwavpackenc.c: (gst_wavpack_enc_mode_get_type),
(gst_wavpack_enc_correction_mode_get_type),
(gst_wavpack_enc_joint_stereo_mode_get_type),
(gst_wavpack_enc_base_init), (gst_wavpack_enc_class_init),
(gst_wavpack_enc_init), (gst_wavpack_enc_dispose),
(gst_wavpack_enc_sink_set_caps), (gst_wavpack_enc_set_wp_config),
(gst_wavpack_enc_format_samples), (gst_wavpack_enc_push_block),
(gst_wavpack_enc_chain), (gst_wavpack_enc_rewrite_first_block),
(gst_wavpack_enc_sink_event), (gst_wavpack_enc_change_state),
(gst_wavpack_enc_set_property), (gst_wavpack_enc_get_property),
(gst_wavpack_enc_plugin_init):
* ext/wavpack/gstwavpackenc.h:
* ext/wavpack/md5.c:
* ext/wavpack/md5.h:
Add wavpack encoder element (#343131).

18 years agogconf/Makefile.am: Honour --disable-schemas-install configure option. Fixes #344100.
Tim-Philipp Müller [Fri, 9 Jun 2006 20:36:00 +0000 (20:36 +0000)]
gconf/Makefile.am: Honour --disable-schemas-install configure option. Fixes #344100.

Original commit message from CVS:
* gconf/Makefile.am:
Honour --disable-schemas-install configure option. Fixes #344100.

18 years agotests/examples/level/Makefile.am: Add -lm to LIBS for pow() function, don't assume...
Tim-Philipp Müller [Fri, 9 Jun 2006 18:33:01 +0000 (18:33 +0000)]
tests/examples/level/Makefile.am: Add -lm to LIBS for pow() function, don't assume one of our dependencies (such as l...

Original commit message from CVS:
* tests/examples/level/Makefile.am:
Add -lm to LIBS for pow() function, don't assume one of our
dependencies (such as libxml-2.0) drags it in automatically
(#343603).

18 years agoconfigure.ac: We should use $SED and not $(SED) in configure.ac (#343678).
Peter Kjellerstedt [Fri, 9 Jun 2006 18:17:23 +0000 (18:17 +0000)]
configure.ac: We should use $SED and not $(SED) in configure.ac (#343678).

Original commit message from CVS:
Patch by: Peter Kjellerstedt  <pkj at axis dot com>
* configure.ac:
We should use $SED and not $(SED) in configure.ac (#343678).

18 years agoconfigure.ac: Check for X before using X_CFLAGS in the check for opengl (#343866).
Tim-Philipp Müller [Fri, 9 Jun 2006 17:38:19 +0000 (17:38 +0000)]
configure.ac: Check for X before using X_CFLAGS in the check for opengl (#343866).

Original commit message from CVS:
* configure.ac:
Check for X before using X_CFLAGS in the check for opengl (#343866).
* ext/musepack/Makefile.am:
* ext/wavpack/Makefile.am:
* gst/speed/Makefile.am:
Add missing GST_LIBS, fixes build on cygwin (#343866).

18 years agosys/sunaudio/: Attached find a patch that fixes a number of bugs with the SunAudio...
Brian Cameron [Fri, 9 Jun 2006 17:29:08 +0000 (17:29 +0000)]
sys/sunaudio/: Attached find a patch that fixes a number of bugs with the SunAudio mixer plugin and fixes #344101: 1....

Original commit message from CVS:
Patch by: Brian Cameron <brian dot cameron at sun dot com>
* sys/sunaudio/gstsunaudiomixerctrl.c:
(gst_sunaudiomixer_ctrl_open), (gst_sunaudiomixer_ctrl_build_list),
(gst_sunaudiomixer_ctrl_new), (gst_sunaudiomixer_ctrl_set_volume),
(gst_sunaudiomixer_ctrl_set_mute):
* sys/sunaudio/gstsunaudiosink.c: (gst_sunaudiosink_class_init),
(gst_sunaudiosink_init), (gst_sunaudiosink_prepare),
(gst_sunaudiosink_write):
Attached find a patch that fixes a number of bugs with the SunAudio mixer
plugin and fixes #344101:
1. The gst_sunaudiomixer_ctrl_build_list kept appending the same 3 tracks onto
the tracklist causing gnome-volume-control's preferences dialog to be messed
up and would core dump if you checked/unchecked any item.
2. We weren't previously setting the MUTE flag properly.  Fixing this makes
gnome-volume-control work better.
3. Now we properly define the input track to be GST_MIXER_TRACK_INPUT and
the monitor to be GST_MIXER_TRACK_OUTPUT, so that makes gnome-volume-control
look better.
Also some minor cleanup in gstsunaudiosink.c.

18 years agoext/jpeg/gstjpegdec.*: API: Added IDCT method property
Wim Taymans [Fri, 9 Jun 2006 17:12:52 +0000 (17:12 +0000)]
ext/jpeg/gstjpegdec.*: API: Added IDCT method property

Original commit message from CVS:
* ext/jpeg/gstjpegdec.c: (gst_idct_method_get_type),
(gst_jpeg_dec_class_init), (gst_jpeg_dec_init),
(gst_jpeg_dec_decode_indirect), (gst_jpeg_dec_decode_direct),
(gst_jpeg_dec_chain), (gst_jpeg_dec_sink_event),
(gst_jpeg_dec_set_property), (gst_jpeg_dec_get_property):
* ext/jpeg/gstjpegdec.h:
API: Added IDCT method property
Small cleanups.
Avoid dynamic allocation of trivial fixed structure.
Allocate enough space for temp 4:4:4 YUV buffers. Fixes #343661.

18 years agoconfigure.ac: We now require libraw1394 >= 1.1.0 and that version onwards all have...
Zaheer Abbas Merali [Wed, 7 Jun 2006 09:25:16 +0000 (09:25 +0000)]
configure.ac: We now require libraw1394 >= 1.1.0 and that version onwards all have .pc files.

Original commit message from CVS:
2006-06-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

* configure.ac:
We now require libraw1394 >= 1.1.0 and that version onwards all
have .pc files.

18 years agogst/law/alaw-decode.c: Trying to get items from an ANY or EMPTY caps is ... stupid.
Edward Hervey [Fri, 2 Jun 2006 15:02:54 +0000 (15:02 +0000)]
gst/law/alaw-decode.c: Trying to get items from an ANY or EMPTY caps is ... stupid.

Original commit message from CVS:
* gst/law/alaw-decode.c: (alawdec_getcaps):
Trying to get items from an ANY or EMPTY caps is ... stupid.

18 years agoext/dv/gstdvdec.*: Added GstSegment handling, now implements dropping/clipping.
Edward Hervey [Fri, 2 Jun 2006 11:33:18 +0000 (11:33 +0000)]
ext/dv/gstdvdec.*: Added GstSegment handling, now implements dropping/clipping.

Original commit message from CVS:
* ext/dv/gstdvdec.c: (gst_dvdec_init), (gst_dvdec_sink_event),
(gst_dvdec_chain), (gst_dvdec_change_state):
* ext/dv/gstdvdec.h:
Added GstSegment handling, now implements dropping/clipping.

18 years agoFix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
Stefan Kost [Thu, 1 Jun 2006 22:00:26 +0000 (22:00 +0000)]
Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass

Original commit message from CVS:
* ext/alsaspdif/alsaspdifsink.h:
* ext/amrwb/gstamrwbdec.h:
* ext/amrwb/gstamrwbenc.h:
* ext/amrwb/gstamrwbparse.h:
* ext/arts/gst_arts.h:
* ext/artsd/gstartsdsink.h:
* ext/audiofile/gstafparse.h:
* ext/audiofile/gstafsink.h:
* ext/audiofile/gstafsrc.h:
* ext/audioresample/gstaudioresample.h:
* ext/bz2/gstbz2dec.h:
* ext/bz2/gstbz2enc.h:
* ext/dirac/gstdiracdec.h:
* ext/directfb/dfbvideosink.h:
* ext/divx/gstdivxdec.h:
* ext/divx/gstdivxenc.h:
* ext/dts/gstdtsdec.h:
* ext/faac/gstfaac.h:
* ext/gsm/gstgsmdec.h:
* ext/gsm/gstgsmenc.h:
* ext/ivorbis/vorbisenc.h:
* ext/libfame/gstlibfame.h:
* ext/nas/nassink.h:
* ext/neon/gstneonhttpsrc.h:
* ext/polyp/polypsink.h:
* ext/sdl/sdlaudiosink.h:
* ext/sdl/sdlvideosink.h:
* ext/shout/gstshout.h:
* ext/snapshot/gstsnapshot.h:
* ext/sndfile/gstsf.h:
* ext/swfdec/gstswfdec.h:
* ext/tarkin/gsttarkindec.h:
* ext/tarkin/gsttarkinenc.h:
* ext/theora/theoradec.h:
* ext/wavpack/gstwavpackdec.h:
* ext/wavpack/gstwavpackparse.h:
* ext/xine/gstxine.h:
* ext/xvid/gstxviddec.h:
* ext/xvid/gstxvidenc.h:
* gst/cdxaparse/gstcdxaparse.h:
* gst/cdxaparse/gstcdxastrip.h:
* gst/colorspace/gstcolorspace.h:
* gst/festival/gstfestival.h:
* gst/freeze/gstfreeze.h:
* gst/gdp/gstgdpdepay.h:
* gst/gdp/gstgdppay.h:
* gst/modplug/gstmodplug.h:
* gst/mpeg1sys/gstmpeg1systemencode.h:
* gst/mpeg1videoparse/gstmp1videoparse.h:
* gst/mpeg2sub/gstmpeg2subt.h:
* gst/mpegaudioparse/gstmpegaudioparse.h:
* gst/multifilesink/gstmultifilesink.h:
* gst/overlay/gstoverlay.h:
* gst/playondemand/gstplayondemand.h:
* gst/qtdemux/qtdemux.h:
* gst/rtjpeg/gstrtjpegdec.h:
* gst/rtjpeg/gstrtjpegenc.h:
* gst/smooth/gstsmooth.h:
* gst/smoothwave/gstsmoothwave.h:
* gst/spectrum/gstspectrum.h:
* gst/speed/gstspeed.h:
* gst/stereo/gststereo.h:
* gst/switch/gstswitch.h:
* gst/tta/gstttadec.h:
* gst/tta/gstttaparse.h:
* gst/videodrop/gstvideodrop.h:
* gst/xingheader/gstxingmux.h:
* sys/directdraw/gstdirectdrawsink.h:
* sys/directsound/gstdirectsoundsink.h:
* sys/dxr3/dxr3audiosink.h:
* sys/dxr3/dxr3spusink.h:
* sys/dxr3/dxr3videosink.h:
* sys/qcam/gstqcamsrc.h:
* sys/vcd/vcdsrc.h:
Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass

18 years agoFix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
Stefan Kost [Thu, 1 Jun 2006 21:07:26 +0000 (21:07 +0000)]
Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass

Original commit message from CVS:
* ext/aalib/gstaasink.h:
* ext/annodex/gstcmmldec.h:
* ext/cairo/gsttimeoverlay.h:
* ext/dv/gstdvdec.h:
* ext/dv/gstdvdemux.h:
* ext/esd/esdmon.h:
* ext/esd/esdsink.h:
* ext/flac/gstflacenc.h:
* ext/gconf/gstgconfaudiosink.h:
* ext/gconf/gstgconfaudiosrc.h:
* ext/gconf/gstgconfvideosink.h:
* ext/gconf/gstgconfvideosrc.h:
* ext/gdk_pixbuf/gstgdkanimation.h:
* ext/gdk_pixbuf/pixbufscale.h:
* ext/hal/gsthalaudiosink.h:
* ext/hal/gsthalaudiosrc.h:
* ext/jpeg/gstjpegenc.h:
* ext/jpeg/gstsmokedec.h:
* ext/jpeg/gstsmokeenc.h:
* ext/libcaca/gstcacasink.h:
* ext/libmng/gstmngdec.h:
* ext/libmng/gstmngenc.h:
* ext/libpng/gstpngdec.h:
* ext/libpng/gstpngenc.h:
* ext/raw1394/gstdv1394src.h:
* ext/speex/gstspeexenc.h:
* gst/autodetect/gstautoaudiosink.h:
* gst/autodetect/gstautovideosink.h:
* gst/avi/gstavidemux.h:
* gst/cutter/gstcutter.h:
* gst/debug/efence.h:
* gst/debug/gstnavigationtest.h:
* gst/debug/gstnavseek.h:
* gst/flx/gstflxdec.h:
* gst/goom/gstgoom.h:
* gst/icydemux/gsticydemux.h:
* gst/id3demux/gstid3demux.h:
* gst/law/alaw-decode.h:
* gst/law/alaw-encode.h:
* gst/law/mulaw-decode.h:
* gst/law/mulaw-encode.h:
* gst/matroska/matroska-mux.h:
* gst/median/gstmedian.h:
* gst/oldcore/gstaggregator.h:
* gst/oldcore/gstfdsink.h:
* gst/oldcore/gstmd5sink.h:
* gst/oldcore/gstmultifilesrc.h:
* gst/oldcore/gstpipefilter.h:
* gst/oldcore/gstshaper.h:
* gst/oldcore/gststatistics.h:
* gst/rtp/gstasteriskh263.h:
* gst/rtp/gstrtpL16depay.h:
* gst/rtp/gstrtpL16pay.h:
* gst/rtp/gstrtpamrdepay.h:
* gst/rtp/gstrtpamrpay.h:
* gst/rtp/gstrtpdepay.h:
* gst/rtp/gstrtpgsmdepay.h:
* gst/rtp/gstrtpgsmpay.h:
* gst/rtp/gstrtph263pay.h:
* gst/rtp/gstrtph263pdepay.h:
* gst/rtp/gstrtph263ppay.h:
* gst/rtp/gstrtpmp4gpay.h:
* gst/rtp/gstrtpmp4vdepay.h:
* gst/rtp/gstrtpmp4vpay.h:
* gst/rtp/gstrtpmpadepay.h:
* gst/rtp/gstrtpmpapay.h:
* gst/rtp/gstrtppcmadepay.h:
* gst/rtp/gstrtppcmapay.h:
* gst/rtp/gstrtppcmudepay.h:
* gst/rtp/gstrtppcmupay.h:
* gst/rtp/gstrtpspeexdepay.h:
* gst/rtp/gstrtpspeexpay.h:
* gst/rtsp/gstrtpdec.h:
* gst/rtsp/gstrtspsrc.h:
* gst/smpte/gstsmpte.h:
* gst/udp/gstdynudpsink.h:
* gst/udp/gstmultiudpsink.h:
* gst/udp/gstudpsink.h:
* gst/udp/gstudpsrc.h:
* gst/videofilter/gstvideobalance.h:
* gst/videofilter/gstvideoflip.h:
* sys/oss/gstossdmabuffer.h:
* sys/oss/gstossmixerelement.h:
* sys/oss/gstosssink.h:
* sys/oss/gstosssrc.h:
* sys/osxvideo/osxvideosink.h:
* sys/sunaudio/gstsunaudiomixer.h:
* sys/sunaudio/gstsunaudiosink.h:
* sys/ximage/gstximagesrc.h:
Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass

18 years agogst/goom/gstgoom.*: Handle QoS.
Wim Taymans [Wed, 31 May 2006 16:23:54 +0000 (16:23 +0000)]
gst/goom/gstgoom.*: Handle QoS.

Original commit message from CVS:
* gst/goom/gstgoom.c: (gst_goom_class_init), (gst_goom_init),
(gst_goom_finalize), (gst_goom_reset), (gst_goom_sink_setcaps),
(gst_goom_src_setcaps), (gst_goom_src_event),
(gst_goom_sink_event), (get_buffer), (gst_goom_chain),
(gst_goom_change_state):
* gst/goom/gstgoom.h:
Handle QoS.
Handle flushing, discont and events.
Fix timestamps and various other cleanups.

18 years agoext/raw1394/gstdv1394src.c: Fix bus reset when using libiec61883
Zaheer Abbas Merali [Wed, 31 May 2006 15:37:16 +0000 (15:37 +0000)]
ext/raw1394/gstdv1394src.c: Fix bus reset when using libiec61883

Original commit message from CVS:
2006-05-31  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

* ext/raw1394/gstdv1394src.c: (gst_dv1394src_bus_reset):
Fix bus reset when using libiec61883

18 years agoconfigure.ac: Detect libiec61883 and set necessary CFLAGS and LIBS for dv1394.
Zaheer Abbas Merali [Wed, 31 May 2006 10:31:23 +0000 (10:31 +0000)]
configure.ac: Detect libiec61883 and set necessary CFLAGS and LIBS for dv1394.

Original commit message from CVS:
2006-05-31  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

* configure.ac:
Detect libiec61883 and set necessary CFLAGS and LIBS for dv1394.
* ext/raw1394/Makefile.am:
Add CFLAGS.
* ext/raw1394/gstdv1394src.c: (gst_dv1394src_iec61883_receive),
New method, to receive using libiec61883.
(gst_dv1394src_iso_receive),
#ifdef'd out if libiec61883 is present.
(gst_dv1394src_bus_reset),
Get userdata correctly if using libiec61883.
(gst_dv1394src_create),
When using libiec61883, only poll one fd and no need to read.
(gst_dv1394src_discover_avc_node),
Replace g_warnings.
(gst_dv1394src_start),
Create new handle when we know which dv port.  More reliable
than setting port on an existing handle.  Initialise libiec61883.
(gst_dv1394src_stop):
If using libiec61883, then cleanup its handle properly.
* ext/raw1394/gstdv1394src.h:
Add libiec61883 handle.

18 years agogst/avi/gstavidemux.c: add an explicit dll imported declaration for GST_CAT_EVENT...
Sébastien Moutte [Tue, 30 May 2006 21:07:38 +0000 (21:07 +0000)]
gst/avi/gstavidemux.c: add an explicit dll imported declaration for GST_CAT_EVENT+WIN32

Original commit message from CVS:
* gst/avi/gstavidemux.c:
add an explicit dll imported declaration for GST_CAT_EVENT+WIN32
* win32/MANIFEST:
sort file listing
* win32/vs6/libgstavi.dsp:
add gstavimux.c to the project
* win32/vs6/libgstid3demux.dsp:
add link to zlib library
* win32/vs6/libgstmatroska.dsp:
add matroska-ids.c to the project

18 years agoAdd apev2mux element (#343122).
Sebastian Dröge [Tue, 30 May 2006 14:35:18 +0000 (14:35 +0000)]
Add apev2mux element (#343122).

Original commit message from CVS:
Patch by: Sebastian Dröge  <mail at slomosnail de >
* docs/plugins/gst-plugins-good-plugins-docs.sgml:
* docs/plugins/gst-plugins-good-plugins-sections.txt:
* ext/taglib/Makefile.am:
* ext/taglib/gstapev2mux.cc:
* ext/taglib/gstapev2mux.h:
* ext/taglib/gstid3v2mux.cc:
* ext/taglib/gsttaglibmux.c: (plugin_init):
* ext/taglib/gsttaglibmux.h:
Add apev2mux element (#343122).
* tests/check/Makefile.am:
* tests/check/elements/apev2mux.c:
(test_taglib_apev2mux_create_tags),
(test_taglib_apev2mux_check_tags), (fill_mp3_buffer), (got_buffer),
(demux_pad_added), (test_taglib_apev2mux_check_output_buffer),
(test_taglib_apev2mux_with_tags), (GST_START_TEST),
(apev2mux_suite), (main):
Add unit test for apev2mux element.

18 years agogst/: GST_PTR_FORMAT should be used to print caps in debug statements.
Tim-Philipp Müller [Sun, 28 May 2006 17:33:13 +0000 (17:33 +0000)]
gst/: GST_PTR_FORMAT should be used to print caps in debug statements.

Original commit message from CVS:
* gst/alpha/gstalphacolor.c: (gst_alpha_color_transform_caps):
* gst/debug/negotiation.c: (gst_negotiation_update_caps):
* gst/rtp/gstrtpilbcdepay.c: (gst_rtp_ilbc_depay_setcaps):
GST_PTR_FORMAT should be used to print caps in debug statements.

18 years agogst/apetag/gstapedemux.c: Some clean-ups and additions: map APE 'file' tag to
Sebastian Dröge [Sun, 28 May 2006 14:38:11 +0000 (14:38 +0000)]
gst/apetag/gstapedemux.c: Some clean-ups and additions: map APE 'file' tag to

Original commit message from CVS:
Patch by: Sebastian Dröge  <slomo at ubuntu dot com>
* gst/apetag/gstapedemux.c: (ape_demux_get_gst_tag_from_tag),
(ape_demux_parse_tags):
Some clean-ups and additions: map APE 'file' tag to
GST_TAG_LOCATION (#343123); add support for extracting
the track count and clean up parsing a bit (#343127).

18 years agoext/jpeg/gstjpegdec.c: Initialize segment to GST_FORMAT_UNDEFINED in READY->PAUSED.
Edward Hervey [Sun, 28 May 2006 13:49:12 +0000 (13:49 +0000)]
ext/jpeg/gstjpegdec.c: Initialize segment to GST_FORMAT_UNDEFINED in READY->PAUSED.

Original commit message from CVS:
* ext/jpeg/gstjpegdec.c: (gst_jpeg_dec_change_state):
Initialize segment to GST_FORMAT_UNDEFINED in READY->PAUSED.

18 years agoext/jpeg/gstjpegdec.*: Clip outgoing buffers according to currently configured segment.
Edward Hervey [Sun, 28 May 2006 13:30:13 +0000 (13:30 +0000)]
ext/jpeg/gstjpegdec.*: Clip outgoing buffers according to currently configured segment.

Original commit message from CVS:
* ext/jpeg/gstjpegdec.c: (gst_jpeg_dec_finalize),
(gst_jpeg_dec_init), (gst_jpeg_dec_chain),
(gst_jpeg_dec_sink_event), (gst_jpeg_dec_change_state):
* ext/jpeg/gstjpegdec.h:
Clip outgoing buffers according to currently configured segment.

18 years agoext/taglib/gstid3v2mux.cc: Handle writing of track-count or album-volume-count witho...
Tim-Philipp Müller [Sun, 28 May 2006 10:39:00 +0000 (10:39 +0000)]
ext/taglib/gstid3v2mux.cc: Handle  writing of track-count or album-volume-count without track-number or albume-volume...

Original commit message from CVS:
* ext/taglib/gstid3v2mux.cc:
Handle  writing of track-count or album-volume-count without
track-number or albume-volume-number (in this case the number
will just be set to 0).
* tests/check/elements/id3v2mux.c: (test_taglib_id3mux_check_tags):
It would be nice if we actually checked the values received for
track/album-volume number/count in  _check_tags(), rather than
setting them again ...

18 years agogst/id3demux/id3v2frames.c: A track/volume number or count of 0 does not make sense...
Tim-Philipp Müller [Sun, 28 May 2006 10:05:47 +0000 (10:05 +0000)]
gst/id3demux/id3v2frames.c: A track/volume number or count of 0 does not make sense, just ignore it along with negati...

Original commit message from CVS:
* gst/id3demux/id3v2frames.c: (id3v2_tag_to_taglist):
A track/volume number or count of 0 does not make sense,
just ignore it along with negative numbers (a tag might
only contain a track count without a track number).

18 years agoext/jpeg/gstjpegdec.c: Abort decompression when receiving FLUSH_STOP. This should...
Edward Hervey [Sat, 27 May 2006 13:11:37 +0000 (13:11 +0000)]
ext/jpeg/gstjpegdec.c: Abort decompression when receiving FLUSH_STOP. This should avoid issues when interrupting deco...

Original commit message from CVS:
* ext/jpeg/gstjpegdec.c: (gst_jpeg_dec_init),
(gst_jpeg_dec_sink_event):
Abort decompression when receiving FLUSH_STOP. This should avoid
issues when interrupting decoding with flushes.

18 years agoext/flac/gstflac.c: Don't #include file we don't dist any longer.
Tim-Philipp Müller [Sat, 27 May 2006 12:10:50 +0000 (12:10 +0000)]
ext/flac/gstflac.c: Don't #include file we don't dist any longer.

Original commit message from CVS:
* ext/flac/gstflac.c:
Don't #include file we don't dist any longer.

18 years agoREADME: Replace current README (containing the release notes from some 0.9.x version...
Tim-Philipp Müller [Sat, 27 May 2006 11:27:59 +0000 (11:27 +0000)]
README: Replace current README (containing the release notes from some 0.9.x version) with a proper README taken from...

Original commit message from CVS:
* README:
Replace current README (containing the release notes from
some 0.9.x version) with a proper README taken from the core.

18 years agogst/spectrum/: added another example
Stefan Kost [Fri, 26 May 2006 22:35:00 +0000 (22:35 +0000)]
gst/spectrum/: added another example

Original commit message from CVS:
* gst/spectrum/Makefile.am:
* gst/spectrum/demo-audiotest.c: (on_frequency_changed),
(spectrum_chain), (main):
* gst/spectrum/demo-osssrc.c:
added another example
* sys/v4l2/gstv4l2src.c:
fix typo

18 years agogst/qtdemux/qtdemux.c: Clip the outputed NEWSEGMENT stop time to the configured segme...
Edward Hervey [Fri, 26 May 2006 13:16:54 +0000 (13:16 +0000)]
gst/qtdemux/qtdemux.c: Clip the outputed NEWSEGMENT stop time to the configured segment stop time.

Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (gst_qtdemux_activate_segment):
Clip the outputed NEWSEGMENT stop time to the configured segment stop
time.

18 years agogst/qtdemux/qtdemux.c: Don't clear the running variable in the seek code.
Wim Taymans [Fri, 26 May 2006 11:48:44 +0000 (11:48 +0000)]
gst/qtdemux/qtdemux.c: Don't clear the running variable in the seek code.

Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (gst_qtdemux_do_seek):
Don't clear the running variable in the seek code.

18 years agoext/dv/gstdvdemux.c: Implement EOS correctly by either posting
Wim Taymans [Wed, 24 May 2006 16:03:40 +0000 (16:03 +0000)]
ext/dv/gstdvdemux.c: Implement EOS correctly by either posting

Original commit message from CVS:
* ext/dv/gstdvdemux.c: (gst_dvdemux_loop):
Implement EOS correctly by either posting
SEGMENT_DONE or pushing an EOS message depending
on the seek type. Fixes #342592

18 years agogst/qtdemux/qtdemux.c: Detect QCELP in mp4a descriptors.
Wim Taymans [Wed, 24 May 2006 11:56:43 +0000 (11:56 +0000)]
gst/qtdemux/qtdemux.c: Detect QCELP in mp4a descriptors.

Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (gst_qtdemux_handle_esds):
Detect QCELP in mp4a descriptors.

18 years agogst/law/: Some cleanups in the chain functions.
Wim Taymans [Wed, 24 May 2006 10:00:50 +0000 (10:00 +0000)]
gst/law/: Some cleanups in the chain functions.

Original commit message from CVS:
* gst/law/alaw-decode.c: (gst_alawdec_chain):
* gst/law/alaw-decode.h:
* gst/law/alaw-encode.c: (gst_alawenc_chain):
* gst/law/alaw-encode.h:
* gst/law/mulaw-decode.c: (gst_mulawdec_chain):
* gst/law/mulaw-decode.h:
* gst/law/mulaw-encode.c: (gst_mulawenc_chain):
* gst/law/mulaw-encode.h:
Some cleanups in the chain functions.
Remove some GStreamer 0.0.2 bits.

18 years agogst/matroska/matroska-mux.c: gst_collect_pads_stop() needs to be called before chaini...
Mark Nauwelaerts [Tue, 23 May 2006 20:15:04 +0000 (20:15 +0000)]
gst/matroska/matroska-mux.c: gst_collect_pads_stop() needs to be called before chaining up to the parent class (#3427...

Original commit message from CVS:
Patch by: Mark Nauwelaerts  <manauw at skynet be>
* gst/matroska/matroska-mux.c: (gst_matroska_mux_change_state):
gst_collect_pads_stop() needs to be called before chaining up
to the parent class (#342734).

18 years agoext/flac/: Remove backwards compatibility cruft for dealing with FLAC API changes...
Tim-Philipp Müller [Tue, 23 May 2006 16:45:22 +0000 (16:45 +0000)]
ext/flac/: Remove backwards compatibility cruft for dealing with FLAC API changes in the 1.0.x series - we require 1....

Original commit message from CVS:
* ext/flac/Makefile.am:
* ext/flac/flac_compat.h:
* ext/flac/gstflac.c:
* ext/flac/gstflacdec.c: (gst_flac_dec_init):
* ext/flac/gstflacenc.c:
Remove backwards compatibility cruft for dealing with FLAC API
changes in the 1.0.x series - we require 1.1.1 or newer these days.

18 years agogst/matroska/: Add support for muxing/demuxing theora video (#342448; too bad none...
Tim-Philipp Müller [Tue, 23 May 2006 13:44:11 +0000 (13:44 +0000)]
gst/matroska/: Add support for muxing/demuxing theora video (#342448; too bad none of the usual linux players can act...

Original commit message from CVS:
* gst/matroska/matroska-demux.c: (gst_matroska_demux_add_stream),
(gst_matroska_demux_push_xiph_codec_priv_data),
(gst_matroska_demux_parse_blockgroup_or_simpleblock),
(gst_matroska_demux_video_caps), (gst_matroska_demux_audio_caps):
* gst/matroska/matroska-ids.h:
* gst/matroska/matroska-mux.c: (gst_matroska_mux_base_init),
(gst_matroska_mux_video_pad_setcaps),
(xiph3_streamheader_to_codecdata),
(vorbis_streamheader_to_codecdata),
(theora_streamheader_to_codecdata),
(gst_matroska_mux_audio_pad_setcaps),
(gst_matroska_mux_write_data):
Add support for muxing/demuxing theora video (#342448; too bad
none of the usual linux players can actually play this). Playback
in GStreamer will require additional changes to theoradec in -base.
Refactor streamheaders <=> CodecPrivateData code a bit; some small
cleanups.

18 years agogst/qtdemux/qtdemux.c: po/POTFILES.in:
Tim-Philipp Müller [Mon, 22 May 2006 18:00:52 +0000 (18:00 +0000)]
gst/qtdemux/qtdemux.c: po/POTFILES.in:

Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (qtdemux_parse_trak), (plugin_init):
po/POTFILES.in:
Throw an error when the file is encrypted. Move plugin_init stuff
to the end of the file, add stuff for i18n, make debug category
static.

18 years agoext/jpeg/gstjpegdec.c: Fix crashes when the horizontal subsampling is 1.
Tim-Philipp Müller [Mon, 22 May 2006 15:23:05 +0000 (15:23 +0000)]
ext/jpeg/gstjpegdec.c: Fix crashes when the horizontal subsampling is 1.

Original commit message from CVS:
* ext/jpeg/gstjpegdec.c: (hresamplecpy1),
(gst_jpeg_dec_decode_indirect), (gst_jpeg_dec_chain):
Fix crashes when the horizontal subsampling is 1.
Fixes #342097.

18 years agocover up the dirty truth
Thomas Vander Stichele [Mon, 22 May 2006 14:56:29 +0000 (14:56 +0000)]
cover up the dirty truth

Original commit message from CVS:
cover up the dirty truth

18 years agogst/avi/gstavimux.*: - add odml (large file) index support
Mark Nauwelaerts [Mon, 22 May 2006 13:53:18 +0000 (13:53 +0000)]
gst/avi/gstavimux.*: - add odml (large file) index support

Original commit message from CVS:
Patch by: Mark Nauwelaerts  <manauw at skynet be>
* gst/avi/gstavimux.c: (gst_avi_mux_finalize), (gst_avi_mux_init),
(gst_avi_mux_vidsink_set_caps), (gst_avi_mux_audsink_set_caps),
(gst_avi_mux_write_tag), (gst_avi_mux_riff_get_avi_header),
(gst_avi_mux_riff_get_avix_header), (gst_avi_mux_write_avix_index),
(gst_avi_mux_add_index), (gst_avi_mux_bigfile),
(gst_avi_mux_start_file), (gst_avi_mux_stop_file),
(gst_avi_mux_handle_event), (gst_avi_mux_do_audio_buffer),
(gst_avi_mux_do_video_buffer), (gst_avi_mux_do_one_buffer),
(gst_avi_mux_change_state):
* gst/avi/gstavimux.h:
Some enhancements for avimux (#342526):
- add odml (large file) index support
- store codec init data (e.g. huffyuv)
- miscellaneous other fixes/cleanups

18 years agofix descriptions and license blocks cut and paste anyone ?
Thomas Vander Stichele [Mon, 22 May 2006 13:51:30 +0000 (13:51 +0000)]
fix descriptions and license blocks cut and paste anyone ?

Original commit message from CVS:

fix descriptions and license blocks
cut and paste anyone ?

18 years agogst/spectrum/gstspectrum.c: Use boilerplate macro, fix strings to match plugin-moval...
Stefan Kost [Sun, 21 May 2006 16:41:44 +0000 (16:41 +0000)]
gst/spectrum/gstspectrum.c: Use boilerplate macro, fix strings to match plugin-moval-requirements

Original commit message from CVS:
* gst/spectrum/gstspectrum.c: (gst_spectrum_class_init),
(gst_spectrum_init), (gst_spectrum_set_sink_caps),
(gst_spectrum_get_sink_caps), (gst_spectrum_chain):
Use boilerplate macro, fix strings to match plugin-moval-requirements

18 years agogst/spectrum/Makefile.am: Link to base libraries
Stefan Kost [Sun, 21 May 2006 16:23:23 +0000 (16:23 +0000)]
gst/spectrum/Makefile.am: Link to base libraries

Original commit message from CVS:
* gst/spectrum/Makefile.am:
Link to base libraries
* gst/spectrum/demo-osssrc.c: (main):
use new threshhold property
* gst/spectrum/gstspectrum.c: (gst_spectrum_class_init),
(gst_spectrum_init), (gst_spectrum_dispose),
(gst_spectrum_set_property), (gst_spectrum_set_sink_caps),
(gst_spectrum_get_sink_caps), (gst_spectrum_chain),
(gst_spectrum_change_state):
* gst/spectrum/gstspectrum.h:
Use gst_adapter, support multiple-channels, add threshold property for
result, add docs, fix resulting spectrum range (was including mirrored
results)

18 years agoInitial port of the spectrum element
Stefan Kost [Sat, 20 May 2006 22:42:15 +0000 (22:42 +0000)]
Initial port of the spectrum element

Original commit message from CVS:
* configure.ac:
* gst/spectrum/demo-osssrc.c: (spectrum_chain), (main):
* gst/spectrum/fix_fft.c: (gst_spectrum_fix_dot):
* gst/spectrum/gstspectrum.c: (gst_spectrum_get_type),
(gst_spectrum_base_init), (gst_spectrum_class_init),
(gst_spectrum_init), (gst_spectrum_dispose),
(gst_spectrum_set_property), (gst_spectrum_chain):
* gst/spectrum/gstspectrum.h:
Initial port of the spectrum element

18 years agoI forget to add sys/v4l2/gstv4l2xoverlay.c in las commit
Edgard Lima [Fri, 19 May 2006 18:58:05 +0000 (18:58 +0000)]
I forget to add sys/v4l2/gstv4l2xoverlay.c in las commit

Original commit message from CVS:
I forget to add sys/v4l2/gstv4l2xoverlay.c in las commit

18 years agoSome clean-ups requested by wingo in bug #338818.
Edgard Lima [Fri, 19 May 2006 18:31:25 +0000 (18:31 +0000)]
Some clean-ups requested by wingo in bug #338818.

Original commit message from CVS:
Some clean-ups requested by wingo in bug #338818.

18 years agogst/id3demux/id3v2frames.c: Don't output any tag when we encounter a negative track...
Jan Schmidt [Fri, 19 May 2006 14:05:53 +0000 (14:05 +0000)]
gst/id3demux/id3v2frames.c: Don't output any tag when we encounter a negative track number - the tag type is uint, so...

Original commit message from CVS:
* gst/id3demux/id3v2frames.c: (id3v2_tag_to_taglist):
Don't output any tag when we encounter a negative track number - the
tag type is uint, so we end up outputting huge positive numbers
instead. (Fixes: #342029)

18 years agoconfigure.ac: update for new GSTPB_PLUGINS_DIR
Thomas Vander Stichele [Thu, 18 May 2006 23:04:59 +0000 (23:04 +0000)]
configure.ac: update for new GSTPB_PLUGINS_DIR

Original commit message from CVS:

* configure.ac:
update for new GSTPB_PLUGINS_DIR

18 years agoconfigure.ac: Check for X11
Stefan Kost [Thu, 18 May 2006 19:34:47 +0000 (19:34 +0000)]
configure.ac: Check for X11

Original commit message from CVS:
* configure.ac:
Check for X11
* sys/v4l2/gstv4l2object.c: (gst_v4l2_class_probe_devices):
* sys/v4l2/gstv4l2object.h:
* sys/v4l2/gstv4l2src.c: (gst_v4l2src_iface_supported):
* sys/v4l2/gstv4l2src.h:
* sys/v4l2/gstv4l2xoverlay.c: (gst_v4l2_xoverlay_open):
* sys/v4l2/gstv4l2xoverlay.h:
Code cleanups, fix debug macros

18 years agortp/gst/gstrtph263pay.c: Properly set static caps for H263 at 34.
Philippe Kalaf [Thu, 18 May 2006 14:45:33 +0000 (14:45 +0000)]
rtp/gst/gstrtph263pay.c: Properly set static caps for H263 at 34.

Original commit message from CVS:
2006-05-18  Philippe Kalaf  <philippe.kalaf at collabora.co.uk>

* rtp/gst/gstrtph263pay.c:
Properly set static caps for H263 at 34.

18 years agoext/taglib/gsttaglibmux.c: Merge event tags and tag setter tags correctly (#339918...
James Doc Livingston [Thu, 18 May 2006 12:46:08 +0000 (12:46 +0000)]
ext/taglib/gsttaglibmux.c: Merge event tags and tag setter tags correctly (#339918). Also, don't leak taglist in case...

Original commit message from CVS:
Patch by: James "Doc" Livingston  <doclivingston gmail com>
* ext/taglib/gsttaglibmux.c: (gst_tag_lib_mux_render_tag):
Merge event tags and tag setter tags correctly (#339918). Also,
don't leak taglist in case of an error.

18 years agoFixed caps for H263 (not the same as H263+)
Philippe Kalaf [Wed, 17 May 2006 18:09:06 +0000 (18:09 +0000)]
Fixed caps for H263 (not the same as H263+)

Original commit message from CVS:
Fixed caps for H263 (not the same as H263+)

18 years agogst/law/mulaw-decode.c: We can only do caps intersection if the othercaps are non...
Edward Hervey [Wed, 17 May 2006 12:36:26 +0000 (12:36 +0000)]
gst/law/mulaw-decode.c: We can only do caps intersection if the othercaps are non-empty and not

Original commit message from CVS:
* gst/law/mulaw-decode.c: (mulawdec_getcaps):
We can only do caps intersection if the othercaps are non-empty and not
ANY. Else we return the pad template (base_caps).

18 years agoext/jpeg/gstjpegdec.c: Fix crash when outputting debugging information for certain...
Tim-Philipp Müller [Wed, 17 May 2006 11:20:44 +0000 (11:20 +0000)]
ext/jpeg/gstjpegdec.c: Fix crash when outputting debugging information for certain pictures (always good to use the r...

Original commit message from CVS:
* ext/jpeg/gstjpegdec.c: (gst_jpeg_dec_chain):
Fix crash when outputting debugging information for certain
pictures (always good to use the right struct member for
the number of records in an array).

18 years agogst/matroska/ebml-read.c: Don't create unnecessary sub-buffers all the time. Dramatic...
Jindrich Makovicka [Wed, 17 May 2006 08:10:31 +0000 (08:10 +0000)]
gst/matroska/ebml-read.c: Don't create unnecessary sub-buffers all the time. Dramatically improves performance with m...

Original commit message from CVS:
Patch by: Jindrich Makovicka  <jindrich.makivicka at itonis tv>
* gst/matroska/ebml-read.c: (gst_ebml_read_peek_bytes),
(gst_ebml_read_pull_bytes), (gst_ebml_read_element_id),
(gst_ebml_read_element_length), (gst_ebml_read_buffer),
(gst_ebml_read_bytes), (gst_ebml_read_uint), (gst_ebml_read_sint),
(gst_ebml_read_float), (gst_ebml_read_ascii),
(gst_ebml_read_binary):
Don't create unnecessary sub-buffers all the time. Dramatically
improves performance with multiple concurrently running
matroskademux instances (#341818) (and avoids doing
unnecessarily inefficient things in the general case).

18 years agoext/libpng/gstpngenc.c: In snapshot mode, we always return GST_FLOW_UNEXPECTED whatev...
Edward Hervey [Tue, 16 May 2006 17:20:04 +0000 (17:20 +0000)]
ext/libpng/gstpngenc.c: In snapshot mode, we always return GST_FLOW_UNEXPECTED whatever the return value of gst_pad_p...

Original commit message from CVS:
* ext/libpng/gstpngenc.c: (gst_pngenc_chain):
In snapshot mode, we always return GST_FLOW_UNEXPECTED whatever the
return value of gst_pad_push_event().

18 years agogst/autodetect/: Make the name of the child element be based on the name of the paren...
Jan Schmidt [Tue, 16 May 2006 14:07:29 +0000 (14:07 +0000)]
gst/autodetect/: Make the name of the child element be based on the name of the parent, so that debug output is more ...

Original commit message from CVS:
* gst/autodetect/gstautoaudiosink.c:
(gst_auto_audio_sink_find_best):
* gst/autodetect/gstautovideosink.c:
(gst_auto_video_sink_find_best):
Make the name of the child element be based on the name of the
parent, so that debug output is more useful.
* gst/id3demux/id3v2frames.c: (find_utf16_bom),
(parse_insert_string_field), (parse_split_strings):
Rework string parsing to always walk over BOM markers in UTF16
strings, using the endianness indicated by the innermost one,
then trying the opposite endianness if that fails to convert
to valid UTF-8. Fixes #341774