platform/upstream/gstreamer.git
17 years agowin32/common/.cvsignore: Ignore generated config.h file to make build bot happy.
Tim-Philipp Müller [Sat, 28 Apr 2007 12:23:16 +0000 (12:23 +0000)]
win32/common/.cvsignore: Ignore generated config.h file to make build bot happy.

Original commit message from CVS:
* win32/common/.cvsignore:
Ignore generated config.h file to make build bot happy.

17 years agogst/asfdemux/: Init debug category before using it.
Tim-Philipp Müller [Sat, 28 Apr 2007 10:49:17 +0000 (10:49 +0000)]
gst/asfdemux/: Init debug category before using it.

Original commit message from CVS:
* gst/asfdemux/gstasf.c: (plugin_init):
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_base_init):
* gst/asfdemux/gstasfdemux.h:
Init debug category before using it.

17 years agogst/asfdemux/gstasfdemux.c: Fix silly bug when we can't pull as much data as we want...
Tim-Philipp Müller [Fri, 27 Apr 2007 18:39:21 +0000 (18:39 +0000)]
gst/asfdemux/gstasfdemux.c: Fix silly bug when we can't pull as much data as we want; don't forget to announce pendin...

Original commit message from CVS:
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_pull_data),
(gst_asf_demux_push_complete_payloads), (gst_asf_demux_loop):
Fix silly bug when we can't pull as much data as we want; don't
forget to announce pending tags in the new packet parsing code.

17 years agoGenerate a win32 config.h into win32/common and add to MANIFEST so it gets disted...
Tim-Philipp Müller [Wed, 25 Apr 2007 17:23:33 +0000 (17:23 +0000)]
Generate a win32 config.h into win32/common and add to MANIFEST so it gets disted (#393890). Looks like win32/common/...

Original commit message from CVS:
* configure.ac:
* win32/MANIFEST:
Generate a win32 config.h into win32/common and add to MANIFEST so
it gets disted (#393890). Looks like win32/common/config.h.in needs
some work though.

17 years agoext/amrnb/amrnbparse.c: Fix pull mode operation some more: send newsegment event...
Tim-Philipp Müller [Sun, 22 Apr 2007 22:41:20 +0000 (22:41 +0000)]
ext/amrnb/amrnbparse.c: Fix pull mode operation some more: send newsegment event before sending data; handle EOS and ...

Original commit message from CVS:
* ext/amrnb/amrnbparse.c: (gst_amrnbparse_get_type),
(gst_amrnbparse_class_init), (gst_amrnbparse_init),
(gst_amrnbparse_pull_header), (gst_amrnbparse_loop):
Fix pull mode operation some more: send newsegment event before
sending data; handle EOS and fatal flow returns a bit better; don't
leak buffers in some cases. Misc. minor cleanups. Fixes #431707.

17 years agogst/asfdemux/: New packet parsing code: should put halfway decent timestamps on buffe...
Tim-Philipp Müller [Fri, 20 Apr 2007 20:57:56 +0000 (20:57 +0000)]
gst/asfdemux/: New packet parsing code: should put halfway decent timestamps on buffers, and might even set the appro...

Original commit message from CVS:
* gst/asfdemux/Makefile.am:
* gst/asfdemux/asfpacket.c: (asf_packet_read_varlen_int),
(asf_packet_create_payload_buffer),
(asf_payload_find_previous_fragment),
(gst_asf_payload_queue_for_stream), (gst_asf_demux_parse_payload),
(gst_asf_demux_parse_packet):
* gst/asfdemux/asfpacket.h:
* gst/asfdemux/gstasfdemux.c:
(gst_asf_demux_reset_stream_state_after_discont),
(gst_asf_demux_push_complete_payloads), (gst_asf_demux_loop),
(gst_asf_demux_setup_pad), (gst_asf_demux_descramble_buffer),
(gst_asf_demux_process_chunk):
* gst/asfdemux/gstasfdemux.h:
New packet parsing code: should put halfway decent timestamps on
buffers, and might even set the appropriate keyframe/discont buffer
flags from time to time (and even if it doesn't, I'm at least able
to debug this code); only used in pull-mode so far. Still needs
some more work, like payload extensions parsing and proper flow
aggregation, and stream activation based on preroll. Stay tuned.

17 years agogst/asfdemux/: Some clean-ups and small fixes: rename asf_stream_context structure to
Tim-Philipp Müller [Fri, 20 Apr 2007 17:32:00 +0000 (17:32 +0000)]
gst/asfdemux/: Some clean-ups and small fixes: rename asf_stream_context structure to

Original commit message from CVS:
* gst/asfdemux/asfheaders.h:
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_free_stream),
(gst_asf_demux_seek_index_lookup),
(gst_asf_demux_handle_seek_event), (gst_asf_demux_get_stream),
(gst_asf_demux_setup_pad), (gst_asf_demux_add_video_stream),
(gst_asf_demux_process_ext_content_desc),
(gst_asf_demux_process_file), (gst_asf_demux_descramble_segment),
(gst_asf_demux_push_buffer), (gst_asf_demux_process_chunk),
(gst_asf_demux_process_segment), (gst_asf_demux_handle_data):
* gst/asfdemux/gstasfdemux.h:
Some clean-ups and small fixes: rename asf_stream_context structure to
AsfStream; inline some three-line utility functions that are only used
once anyway and get rid of their associated helper structs; make debug
category global so that it is used by the debug statements in the other
file as well; simplify gst_asf_demux_get_stream(); fix accidental
implicit initialisation of stream->last_buffer_timestamp to 0, which
would lead to missing timestamps on the first buffer; put fourcc format
into video caps to make certain proprietary wmv decoders happy (for the
case of WMVA in particular); play_time is offset by preroll as well, so
fix overreporting of duration for some files.

17 years agogst/asfdemux/gstasfdemux.c: Printf format fixes.
Tim-Philipp Müller [Tue, 17 Apr 2007 10:21:50 +0000 (10:21 +0000)]
gst/asfdemux/gstasfdemux.c: Printf format fixes.

Original commit message from CVS:
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_handle_seek_event),
(gst_asf_demux_pull_indices):
Printf format fixes.

17 years agogst/mpegstream/gstmpegparse.c: Post an error message if EOS wasn't handled by anythin...
Tim-Philipp Müller [Mon, 16 Apr 2007 16:30:50 +0000 (16:30 +0000)]
gst/mpegstream/gstmpegparse.c: Post an error message if EOS wasn't handled by anything downstream.

Original commit message from CVS:
* gst/mpegstream/gstmpegparse.c: (gst_mpeg_parse_process_event),
(gst_mpeg_parse_send_event):
Post an error message if EOS wasn't handled by anything downstream.
This should fix playbin freezing/hanging with small VobSub subtitle
files (background: not-linked flow returns from downstream are
ignored for a while at the beginning, so if the file is small
upstream will never get a not-linked flow return even if nothing
is connected downstream). (#429960).

17 years agoext/amrnb/amrnbparse.c: Rewrite terminally broken sinkpad activation code. and push...
Michael Smith [Mon, 16 Apr 2007 15:15:07 +0000 (15:15 +0000)]
ext/amrnb/amrnbparse.c: Rewrite terminally broken sinkpad activation code. and push mode activation doesn't leave the...

Original commit message from CVS:
* ext/amrnb/amrnbparse.c: (gst_amrnbparse_init),
(gst_amrnbparse_sink_activate),
(gst_amrnbparse_sink_activate_pull):
Rewrite terminally broken sinkpad activation code.
Now actually supports pull-mode activation (didn't before), and push
mode activation doesn't leave the sinkpad flushing.

17 years agogst/asfdemux/: Make asfdemux work in pull mode where possible. If there's an index...
Tim-Philipp Müller [Thu, 12 Apr 2007 13:38:03 +0000 (13:38 +0000)]
gst/asfdemux/: Make asfdemux work in pull mode where possible. If there's an index at the end of the file, read it an...

Original commit message from CVS:
* gst/asfdemux/asfheaders.c:
* gst/asfdemux/asfheaders.h:
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_free_stream),
(gst_asf_demux_reset), (gst_asf_demux_init),
(gst_asf_demux_activate), (gst_asf_demux_activate_push),
(gst_asf_demux_activate_pull), (gst_asf_demux_sink_event),
(gst_asf_demux_seek_index_lookup),
(gst_asf_demux_reset_stream_state_after_discont),
(gst_asf_demux_handle_seek_event),
(gst_asf_demux_handle_src_event), (gst_asf_demux_chain_headers),
(gst_asf_demux_chain), (gst_asf_demux_pull_data),
(gst_asf_demux_pull_indices),
(gst_asf_demux_parse_data_object_start),
(gst_asf_demux_pull_headers), (gst_asf_demux_loop),
(gst_asf_demux_setup_pad), (gst_asf_demux_process_file),
(gst_asf_demux_process_simple_index),
(gst_asf_demux_process_object),
(gst_asf_demux_send_event_unlocked), (gst_asf_demux_push_buffer),
(gst_asf_demux_handle_data), (gst_asf_demux_change_state):
* gst/asfdemux/gstasfdemux.h:
Make asfdemux work in pull mode where possible. If there's an index
at the end of the file, read it and use it for seeking purposes.

17 years agogst/synaesthesia/gstsynaesthesia.c: Some timestamp fixes.
Wim Taymans [Thu, 12 Apr 2007 10:19:18 +0000 (10:19 +0000)]
gst/synaesthesia/gstsynaesthesia.c: Some timestamp fixes.

Original commit message from CVS:
* gst/synaesthesia/gstsynaesthesia.c: (gst_synaesthesia_init),
(gst_synaesthesia_sink_setcaps), (gst_synaesthesia_src_setcaps),
(gst_synaesthesia_chain), (gst_synaesthesia_change_state):
Some timestamp fixes.
* gst/synaesthesia/synaescope.c: (synaescope_coreGo):
Fix for 64-bit machines.

17 years agogst/realmedia/rmdemux.*: Make rmdemux handle any number of logical streams. Fixes...
René Stadler [Thu, 12 Apr 2007 10:10:22 +0000 (10:10 +0000)]
gst/realmedia/rmdemux.*: Make rmdemux handle any number of logical streams. Fixes #428698.

Original commit message from CVS:
Patch by: René Stadler <mail at renestadler dot de>
* gst/realmedia/rmdemux.c: (find_seek_offset_bytes),
(find_seek_offset_time), (gst_rmdemux_reset),
(gst_rmdemux_get_stream_by_id), (gst_rmdemux_send_event),
(gst_rmdemux_add_stream), (gst_rmdemux_combine_flows):
* gst/realmedia/rmdemux.h:
Make rmdemux handle any number of logical streams. Fixes #428698.

17 years agoupdate dutch
Thomas Vander Stichele [Thu, 5 Apr 2007 13:48:52 +0000 (13:48 +0000)]
update dutch

Original commit message from CVS:
update dutch

17 years agopo/: Added Danish translation.
Thomas Vander Stichele [Thu, 5 Apr 2007 13:48:12 +0000 (13:48 +0000)]
po/: Added Danish translation.

Original commit message from CVS:
submitted by: Mogens Jaeger <mogens@jaeger.tf>
* po/LINGUAS:
* po/da.po:
Added Danish translation.

17 years agopo/.cvsignore: Add pot.
Zaheer Abbas Merali [Wed, 28 Mar 2007 16:01:06 +0000 (16:01 +0000)]
po/.cvsignore: Add pot.

Original commit message from CVS:
* po/.cvsignore:
Add pot.

17 years agoext/mad/gstmad.c: Generate a perfect stream and try to adapt to incoming timestamps...
Julien Moutte [Tue, 27 Mar 2007 12:02:49 +0000 (12:02 +0000)]
ext/mad/gstmad.c: Generate a perfect stream and try to adapt to incoming timestamps lack of precision up to half a fr...

Original commit message from CVS:
2007-03-27  Julien MOUTTE  <julien@moutte.net>

* ext/mad/gstmad.c: (gst_mad_chain): Generate a perfect
stream and try to adapt to incoming timestamps lack of
precision up to half a frame. This allows generating
a perfect stream even with muxed formats like FLV where
the timestamps are stored in milliseconds.

17 years agogst/realmedia/rmdemux.c: Remove unused zlib.h include. Fixes #421594.
Tim-Philipp Müller [Thu, 22 Mar 2007 21:44:45 +0000 (21:44 +0000)]
gst/realmedia/rmdemux.c: Remove unused zlib.h include. Fixes #421594.

Original commit message from CVS:
* gst/realmedia/rmdemux.c:
Remove unused zlib.h include. Fixes #421594.

17 years agoext/lame/gstlame.c: Disable the bitrate checking when the user has requested
Jan Schmidt [Wed, 21 Mar 2007 12:53:57 +0000 (12:53 +0000)]
ext/lame/gstlame.c: Disable the bitrate checking when the user has requested

Original commit message from CVS:
* ext/lame/gstlame.c: (gst_lame_setup):
Disable the bitrate checking when the user has requested
Free Format mode, as all bitrates less than the maximum
are valid then.

17 years agopo/: Update translations.
Thomas Vander Stichele [Wed, 14 Mar 2007 15:21:41 +0000 (15:21 +0000)]
po/: Update translations.

Original commit message from CVS:
* po/hu.po:
* po/it.po:
* po/sv.po:
Update translations.

17 years agoext/mad/gstmad.c: When handling seeks, don't convert -1 start or stop values to a...
Jan Schmidt [Mon, 12 Mar 2007 17:26:13 +0000 (17:26 +0000)]
ext/mad/gstmad.c: When handling seeks, don't convert -1 start or stop values to a bogus byte position - pass them ups...

Original commit message from CVS:
* ext/mad/gstmad.c: (gst_mad_convert_sink), (gst_mad_convert_src):
When handling seeks, don't convert -1 start or stop values to a bogus
byte position - pass them upstream as -1.

17 years agogst/mpegaudioparse/gstmpegaudioparse.*: Implement seeking via average bitrate, and...
Jan Schmidt [Mon, 12 Mar 2007 10:47:01 +0000 (10:47 +0000)]
gst/mpegaudioparse/gstmpegaudioparse.*: Implement seeking via average bitrate, and position+duration querying in mp3p...

Original commit message from CVS:
* gst/mpegaudioparse/gstmpegaudioparse.c:
(mp3_type_frame_length_from_header), (gst_mp3parse_reset),
(gst_mp3parse_init), (gst_mp3parse_sink_event),
(gst_mp3parse_emit_frame), (gst_mp3parse_chain),
(gst_mp3parse_change_state), (mp3parse_time_to_bytepos),
(mp3parse_bytepos_to_time), (mp3parse_total_bytes),
(mp3parse_total_time), (mp3parse_handle_seek),
(mp3parse_src_event), (mp3parse_src_query),
(mp3parse_get_query_types), (plugin_init):
* gst/mpegaudioparse/gstmpegaudioparse.h:
Implement seeking via average bitrate, and position+duration
querying in mp3parse. Later, it will support frame-accurate seeking by
building a seek table as it parses.
Add 'parsed=false' to the sink pad caps, and 'parsed=true' to the src
pad caps. Bump the priority to PRIMARY+1 so that it is autoplugged
before any extant MP3 decoder plugin. This allows us to remove framing
support from the decoders, if we want, and will provide them with
accurate seeking automatically once it is finished.
Fix the handling of MPEG-1 Layer 1 files.
Partially fix timestamping of packets arriving from a demuxer by
queueing the incoming timestamp until the next packet starts, rather
than applying it immediately to the next pushed buffer.

17 years agogst/asfdemux/gstasfdemux.c: Printf format fix.
Tim-Philipp Müller [Sat, 10 Mar 2007 15:56:26 +0000 (15:56 +0000)]
gst/asfdemux/gstasfdemux.c: Printf format fix.

Original commit message from CVS:
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_process_header_ext):
Printf format fix.

17 years agoext/cdio/gstcdiocddasrc.c: Make sure we always destroy our libcdio handle.
Jan Schmidt [Sun, 4 Mar 2007 17:13:19 +0000 (17:13 +0000)]
ext/cdio/gstcdiocddasrc.c: Make sure we always destroy our libcdio handle.

Original commit message from CVS:
* ext/cdio/gstcdiocddasrc.c: (gst_cdio_cdda_src_open),
(gst_cdio_cdda_src_finalize):
Make sure we always destroy our libcdio handle.

17 years agoext/cdio/gstcdiocddasrc.c: Small code cleanups.
Wim Taymans [Fri, 2 Mar 2007 16:08:17 +0000 (16:08 +0000)]
ext/cdio/gstcdiocddasrc.c: Small code cleanups.

Original commit message from CVS:
* ext/cdio/gstcdiocddasrc.c: (gst_cdio_cdda_src_probe_devices),
(gst_cdio_cdda_src_read_sector), (gst_cdio_cdda_src_open),
(gst_cdio_cdda_src_finalize):
Small code cleanups.
Don't use pad_alloc as the base class cannot deal with the error codes.

17 years agoext/mpeg2dec/gstmpeg2dec.c: Never post a (fatal) error message on the bus on decoding...
Zaheer Abbas Merali [Fri, 2 Mar 2007 13:01:48 +0000 (13:01 +0000)]
ext/mpeg2dec/gstmpeg2dec.c: Never post a (fatal) error message on the bus on decoding errors. We should only do this ...

Original commit message from CVS:
Patch by: Zaheer Abbas Merali  <zaheermerali at gmail com>
* ext/mpeg2dec/gstmpeg2dec.c: (gst_mpeg2dec_chain):
Never post a (fatal) error message on the bus on decoding errors. We
should only do this if we can't recover, but mpeg2dec can always
recover. This is needed for DVB streams, for example, where there
may be temporary glitches in the stream. Instead of an error
message, post a warning message on the bus for every N decoding
errors. Fixes #370020.

17 years agoconfigure.ac: Convert to new AG_GST style.
Thomas Vander Stichele [Wed, 28 Feb 2007 19:30:35 +0000 (19:30 +0000)]
configure.ac: Convert to new AG_GST style.

Original commit message from CVS:
* configure.ac:
Convert to new AG_GST style.

17 years agoext/lame/gstlame.c: Display sensible defaults and limits for the vbr-min/max/mean...
Jan Schmidt [Wed, 28 Feb 2007 18:41:38 +0000 (18:41 +0000)]
ext/lame/gstlame.c: Display sensible defaults and limits for the vbr-min/max/mean properties. Fix the 'hard-limit' VB...

Original commit message from CVS:
* ext/lame/gstlame.c: (gst_lame_class_init), (gst_lame_init),
(gst_lame_setup):
Display sensible defaults and limits for the
vbr-min/max/mean properties. Fix the 'hard-limit' VBR min
property - it's supposed to be a boolean 0/1 value.

17 years agoext/lame/gstlame.c: Initialise the variables so gcc doesn't complain about possibly...
Jan Schmidt [Wed, 28 Feb 2007 16:01:08 +0000 (16:01 +0000)]
ext/lame/gstlame.c: Initialise the variables so gcc doesn't complain about possibly uninitialised uses, even though t...

Original commit message from CVS:
* ext/lame/gstlame.c:
Initialise the variables so gcc doesn't complain about possibly
uninitialised uses, even though they can't actually happen.

17 years agogst/dvdlpcmdec/gstdvdlpcmdec.*: Implement all sample rates.
Wim Taymans [Wed, 28 Feb 2007 15:52:23 +0000 (15:52 +0000)]
gst/dvdlpcmdec/gstdvdlpcmdec.*: Implement all sample rates.

Original commit message from CVS:
* gst/dvdlpcmdec/gstdvdlpcmdec.c: (gst_dvdlpcm_reset),
(update_timestamps), (parse_header), (gst_dvdlpcmdec_chain_dvd),
(gst_dvdlpcmdec_chain_raw), (dvdlpcmdec_sink_event):
* gst/dvdlpcmdec/gstdvdlpcmdec.h:
Implement all sample rates.
Implement sample permutation a little smarter avoiding a memcpy.
Fix timestamps, use segments, fix seeking.

17 years agoDocument siddec.
Wim Taymans [Wed, 28 Feb 2007 15:49:35 +0000 (15:49 +0000)]
Document siddec.

Original commit message from CVS:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-ugly-plugins-docs.sgml:
* docs/plugins/gst-plugins-ugly-plugins-sections.txt:
* docs/plugins/inspect/plugin-siddec.xml:
* ext/sidplay/gstsiddec.cc:
* ext/sidplay/gstsiddec.h:
Document siddec.

17 years agoext/lame/gstlame.c: Fix up bitrate checking macro. Make it give us a
Thomas Vander Stichele [Wed, 21 Feb 2007 16:02:33 +0000 (16:02 +0000)]
ext/lame/gstlame.c: Fix up bitrate checking macro.  Make it give us a

Original commit message from CVS:
* ext/lame/gstlame.c: (gst_lame_sink_setcaps),
(gst_lame_set_property), (gst_lame_setup):
Fix up bitrate checking macro.  Make it give us a
GST_ELEMENT_WARNING message so the application has a chance of
reporting this to the user.  Move the checking to _setup, so we
are sure it runs in the READY state, when we hope to have a pipeline
and a bus that is not flushing.
This fixes e.g. using 96 kbit/sec as a bitrate.

17 years agogst/asfdemux/gstasfdemux.*: Parse advanced mutual exclusion object and only add pads...
Tim-Philipp Müller [Thu, 15 Feb 2007 19:55:55 +0000 (19:55 +0000)]
gst/asfdemux/gstasfdemux.*: Parse advanced mutual exclusion object and only add pads for 'hidden' streams (those in a...

Original commit message from CVS:
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_process_file),
(gst_asf_demux_process_advanced_mutual_exclusion),
(gst_asf_demux_process_queued_extended_stream_objects),
(gst_asf_demux_process_object), (gst_asf_demux_change_state):
* gst/asfdemux/gstasfdemux.h:
Parse advanced mutual exclusion object and only add pads for
'hidden' streams (those in an extended stream header) that are
mutually exclusive with an already existing 'main stream' if
the broadcasting flag is not set. If the broadcasting flag is set,
assume that data for this stream isn't sent. (This should ideally be
solved better by making playbin more robust against this and/or by
making mmssrc send some information downstream about which streams
will be streamed). Fixes #353116.

17 years agogst/synaesthesia/: Move all the mutable engine state into a structure so that multipl...
Jan Schmidt [Tue, 13 Feb 2007 12:00:59 +0000 (12:00 +0000)]
gst/synaesthesia/: Move all the mutable engine state into a structure so that multiple element instances can run with...

Original commit message from CVS:
* gst/synaesthesia/gstsynaesthesia.c:
(gst_synaesthesia_class_init), (gst_synaesthesia_init),
(gst_synaesthesia_finalize), (gst_synaesthesia_chain):
* gst/synaesthesia/synaescope.c: (synaescope_coreGo),
(synaescope32), (synaescope_set_data), (synaesthesia_update),
(synaesthesia_init), (synaesthesia_new), (synaesthesia_close):
* gst/synaesthesia/synaescope.h:
Move all the mutable engine state into a structure so that
multiple element instances can run without interfering.

17 years agoAdd crossreferences to glib/gobject/gstream docs.
Stefan Kost [Tue, 13 Feb 2007 09:15:41 +0000 (09:15 +0000)]
Add crossreferences to glib/gobject/gstream docs.

Original commit message from CVS:
* configure.ac:
* docs/plugins/Makefile.am:
Add crossreferences to glib/gobject/gstream docs.

17 years agogst/synaesthesia/: More source cleanups and add FIXME comments.
Stefan Kost [Mon, 12 Feb 2007 12:46:20 +0000 (12:46 +0000)]
gst/synaesthesia/: More source cleanups and add FIXME comments.

Original commit message from CVS:
* gst/synaesthesia/gstsynaesthesia.c: (gst_synaesthesia_init),
(gst_synaesthesia_sink_setcaps), (gst_synaesthesia_src_getcaps),
(gst_synaesthesia_src_setcaps), (gst_synaesthesia_chain),
(plugin_init):
* gst/synaesthesia/synaescope.c: (synaescope_coreGo),
(synaescope8):
More source cleanups and add FIXME comments.

17 years agogst/realmedia/rmdemux.c: Use gst_guint64_to_gdouble for conversions.
Sébastien Moutte [Sun, 11 Feb 2007 13:42:45 +0000 (13:42 +0000)]
gst/realmedia/rmdemux.c: Use gst_guint64_to_gdouble for conversions.

Original commit message from CVS:
* gst/realmedia/rmdemux.c:(gst_rmdemux_parse_indx_data):
Use gst_guint64_to_gdouble for conversions.
* gst/synaesthesia/synaescope.c:
Define M_PI and do not include <pthread.h> and
<sys/time.h> for G_OS_WIN32
* win32/vs6/libgstrealmedia.dsp:
* win32/vs6/synaesthesia.dsp:
Update projects files.
* win32/common/config.h.in:
Add config.h.in for autogen of config.h

17 years agoconfigure.ac: Add --enable-experimental support. Activate synaesthesia when building...
Stefan Kost [Sun, 11 Feb 2007 10:51:42 +0000 (10:51 +0000)]
configure.ac: Add --enable-experimental support. Activate synaesthesia when building with --enable-experimental. Fix ...

Original commit message from CVS:
* configure.ac:
Add --enable-experimental support. Activate synaesthesia when building
with --enable-experimental. Fix --enable external configure switch
description.

17 years agoext/lame/gstlame.*: On receiving EOS, we try to push a last buffer with the remaining...
Tim-Philipp Müller [Fri, 9 Feb 2007 16:24:45 +0000 (16:24 +0000)]
ext/lame/gstlame.*: On receiving EOS, we try to push a last buffer with the remaining samples. Don't do that if we go...

Original commit message from CVS:
* ext/lame/gstlame.c: (gst_lame_sink_event), (gst_lame_chain),
(gst_lame_change_state):
* ext/lame/gstlame.h:
On receiving EOS, we try to push a last buffer with the remaining
samples. Don't do that if we got an unclean flow return on the last
gst_pad_push(), downstream might not handle this very gracefully
(see #403168).
* gst/mpegaudioparse/gstmpegaudioparse.c: (gst_mp3parse_chain):
Pass flow returns upstream (helps #403168).

17 years agogst/synaesthesia/gstsynaesthesia.c: check result of gst_pad_push() in _chain.
Stefan Kost [Fri, 9 Feb 2007 08:03:09 +0000 (08:03 +0000)]
gst/synaesthesia/gstsynaesthesia.c: check result of gst_pad_push() in _chain.

Original commit message from CVS:
* gst/synaesthesia/gstsynaesthesia.c:
(gst_synaesthesia_class_init), (gst_synaesthesia_init),
(gst_synaesthesia_sink_setcaps), (gst_synaesthesia_src_getcaps),
(gst_synaesthesia_chain), (plugin_init):
check result of gst_pad_push() in _chain.

17 years agogst/synaesthesia/: Added docs (not yet added to gst-plugins-ugl/docs/plugins as plugi...
Stefan Kost [Fri, 9 Feb 2007 07:48:50 +0000 (07:48 +0000)]
gst/synaesthesia/: Added docs (not yet added to gst-plugins-ugl/docs/plugins as plugin is not built by default). Fixe...

Original commit message from CVS:
* gst/synaesthesia/Makefile.am:
* gst/synaesthesia/gstsynaesthesia.c:
(gst_synaesthesia_class_init), (gst_synaesthesia_init),
(gst_synaesthesia_sink_setcaps), (gst_synaesthesia_src_getcaps),
(gst_synaesthesia_chain), (plugin_init):
* gst/synaesthesia/synaescope.c:
* gst/synaesthesia/synaescope.h:
Added docs (not yet added to gst-plugins-ugl/docs/plugins as plugin is not
built by default). Fixed Makefile.am. Fixed license headers (its GPL as it
is derived from GPL code). Fixed GST_SYNAESTHESIA_CLASS macro. Added
GST_DEBUG_FUNCPTR. Reflowed _setcaps. Updated pad setup in _init. Fix
possible leak in _chain. (#356882)

17 years agogst/asfdemux/: Refactor and clean up header parsing and chain function a bit; get...
Tim-Philipp Müller [Thu, 8 Feb 2007 21:07:27 +0000 (21:07 +0000)]
gst/asfdemux/: Refactor and clean up header parsing and chain function a bit; get rid of some cruft; make header pars...

Original commit message from CVS:
* gst/asfdemux/asfheaders.c:
* gst/asfdemux/asfheaders.h:
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_init),
(gst_asf_demux_sink_event), (gst_asf_demux_handle_seek_event),
(gst_asf_demux_identify_guid), (asf_demux_peek_object),
(gst_asf_demux_chain_headers), (gst_asf_demux_chain),
(gst_asf_demux_setup_pad), (gst_asf_demux_process_stream),
(gst_asf_demux_process_ext_content_desc),
(gst_asf_demux_get_object_header), (gst_asf_demux_process_header),
(gst_asf_demux_process_file), (gst_asf_demux_process_comment),
(gst_asf_demux_process_bitrate_props_object),
(gst_asf_demux_process_header_ext),
(gst_asf_demux_process_language_list),
(gst_asf_demux_process_ext_stream_props),
(gst_asf_demux_process_queued_extended_stream_objects),
(gst_asf_demux_process_object), (gst_asf_demux_change_state):
* gst/asfdemux/gstasfdemux.h:
Refactor and clean up header parsing and chain function a bit; get
rid of some cruft; make header parsing a tad more robust, fixing
#403188.

17 years agogst/asfdemux/gstasfdemux.c: Post an error if we receive an EOS event while still...
Tim-Philipp Müller [Thu, 1 Feb 2007 11:12:25 +0000 (11:12 +0000)]
gst/asfdemux/gstasfdemux.c: Post an error if we receive an EOS event while still waiting for the

Original commit message from CVS:
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_sink_event):
Post an error if we receive an EOS event while still waiting for the
ASF header object to come through.

17 years agogst/asfdemux/gstasfdemux.c: Guard places where we assume that a certain amount of...
Xavier B [Wed, 24 Jan 2007 17:36:36 +0000 (17:36 +0000)]
gst/asfdemux/gstasfdemux.c: Guard places where we assume that a certain amount of data is available better against le...

Original commit message from CVS:
Patch by: Xavier B. <xavierb gmail com>
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_get_guid),
(gst_asf_demux_add_audio_stream), (gst_asf_demux_add_video_stream),
(gst_asf_demux_process_ext_content_desc),
(gst_asf_demux_process_data),
(gst_asf_demux_process_language_list),
(gst_asf_demux_process_ext_stream_props),
(gst_asf_demux_process_segment), (gst_asf_demux_handle_data):
Guard places where we assume that a certain amount of data is
available better against less data being available (should fix
infamous assertion crasher bug #336370). Also fixes a small
memory leak.

17 years agogst/realmedia/: Add demuxer for RealAudio files (#349779).
Tim-Philipp Müller [Thu, 11 Jan 2007 12:49:23 +0000 (12:49 +0000)]
gst/realmedia/: Add demuxer for RealAudio files (#349779).

Original commit message from CVS:
* gst/realmedia/Makefile.am:
* gst/realmedia/rademux.c:
* gst/realmedia/rademux.h:
* gst/realmedia/rmdemux.c: (gst_rmdemux_add_stream),
(gst_rmdemux_descramble_dnet_audio), (gst_rmdemux_plugin_init):
* gst/realmedia/rmutils.c: (gst_rm_utils_descramble_dnet_buffer):
* gst/realmedia/rmutils.h:
Add demuxer for RealAudio files (#349779).

17 years agoMakefile.am: Add win32/MANIFEST to EXTRA_DIST so win32 files will be include in the...
Sébastien Moutte [Sun, 7 Jan 2007 13:37:19 +0000 (13:37 +0000)]
Makefile.am: Add win32/MANIFEST to EXTRA_DIST so win32 files will be include in the next release.

Original commit message from CVS:
* Makefile.am:
Add win32/MANIFEST to EXTRA_DIST so win32 files will
be include in the next release.
* win32/MANIFEST:
Remove win32/common/config.h is which is not autogenerated yet.

17 years agoext/lame/gstlame.c: warn when outgoing sample rate is different from incoming
Thomas Vander Stichele [Sat, 30 Dec 2006 20:01:35 +0000 (20:01 +0000)]
ext/lame/gstlame.c: warn when outgoing sample rate is different from incoming

Original commit message from CVS:
* ext/lame/gstlame.c: (gst_lame_sink_setcaps), (gst_lame_chain):
warn when outgoing sample rate is different from incoming

17 years agogst/mpegaudioparse/gstmpegaudioparse.c: All sample-rates < 32khz come from the LSF...
Jan Schmidt [Fri, 29 Dec 2006 14:51:19 +0000 (14:51 +0000)]
gst/mpegaudioparse/gstmpegaudioparse.c: All sample-rates < 32khz come from the LSF extensions, which only use 1 granu...

Original commit message from CVS:
* gst/mpegaudioparse/gstmpegaudioparse.c: (gst_mp3parse_chain):
All sample-rates < 32khz come from the LSF extensions, which only
use 1 granule. Fixes parsing of 22.05khz, 24khz and 16khz files.
Use gst_util_uint64_scale because we can.

17 years agotests/check/elements/amrnbenc.c: and fix compilation of this test
Stefan Kost [Fri, 22 Dec 2006 13:06:24 +0000 (13:06 +0000)]
tests/check/elements/amrnbenc.c: and fix compilation of this test

Original commit message from CVS:
* tests/check/elements/amrnbenc.c: (setup_amrnbenc),
(cleanup_amrnbenc):
and fix compilation of this test

17 years agotests/check/elements/: re-apply as it was -bad and not -ugly that is frozen, doh
Stefan Kost [Fri, 22 Dec 2006 12:41:52 +0000 (12:41 +0000)]
tests/check/elements/: re-apply as it was -bad and not -ugly that is frozen, doh

Original commit message from CVS:
* tests/check/elements/amrnbenc.c: (setup_amrnbenc),
(cleanup_amrnbenc):
* tests/check/elements/mpeg2dec.c: (setup_mpeg2dec),
(cleanup_mpeg2dec):
re-apply as it was -bad and not -ugly that is frozen, doh

17 years agotests/check/elements/: revert my freeze breakage
Stefan Kost [Thu, 21 Dec 2006 12:50:00 +0000 (12:50 +0000)]
tests/check/elements/: revert my freeze breakage

Original commit message from CVS:
* tests/check/elements/amrnbenc.c: (setup_amrnbenc),
(cleanup_amrnbenc):
* tests/check/elements/mpeg2dec.c: (setup_mpeg2dec),
(cleanup_mpeg2dec):
revert my freeze breakage

17 years agogst/asfdemux/gstasfdemux.c: add a comment about a future change
Stefan Kost [Thu, 21 Dec 2006 08:16:41 +0000 (08:16 +0000)]
gst/asfdemux/gstasfdemux.c: add a comment about a future change

Original commit message from CVS:
* gst/asfdemux/gstasfdemux.c:
(gst_asf_demux_get_gst_tag_from_tag_name),
(gst_asf_demux_process_ext_content_desc):
add a comment about a future change
* tests/check/elements/amrnbenc.c: (setup_amrnbenc),
(cleanup_amrnbenc):
* tests/check/elements/mpeg2dec.c: (setup_mpeg2dec),
(cleanup_mpeg2dec):
consistent pad (de)activation

17 years agogst/asfdemux/gstasfdemux.c: Update query_types function too.
Tim-Philipp Müller [Fri, 15 Dec 2006 18:26:41 +0000 (18:26 +0000)]
gst/asfdemux/gstasfdemux.c: Update query_types function too.

Original commit message from CVS:
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_get_src_query_types):
Update query_types function too.

17 years agogst/realmedia/rmdemux.c: Implement SEEKING query, make query function thread-safe.
Tim-Philipp Müller [Fri, 15 Dec 2006 18:25:17 +0000 (18:25 +0000)]
gst/realmedia/rmdemux.c: Implement SEEKING query, make query function thread-safe.

Original commit message from CVS:
* gst/realmedia/rmdemux.c: (gst_rmdemux_src_query),
(gst_rmdemux_src_query_types):
Implement SEEKING query, make query function thread-safe.

17 years agogst/realmedia/rmdemux.c: Use alignment-safe macros here too (subbuffers ...); guard...
Tim-Philipp Müller [Fri, 15 Dec 2006 17:59:47 +0000 (17:59 +0000)]
gst/realmedia/rmdemux.c: Use alignment-safe macros here too (subbuffers ...); guard against hypothetical memory acces...

Original commit message from CVS:
* gst/realmedia/rmdemux.c: (gst_rmdemux_descramble_dnet_audio):
Use alignment-safe macros here too (subbuffers ...); guard against
hypothetical memory access beyond our given buffer in the case
where the buffer size is not a multiple of 2.

17 years agogst/asfdemux/gstasfdemux.*: Don't crash in the seek event handling code when playtime...
Tim-Philipp Müller [Fri, 15 Dec 2006 17:54:48 +0000 (17:54 +0000)]
gst/asfdemux/gstasfdemux.*: Don't crash in the seek event handling code when playtime is 0, as may be the case with l...

Original commit message from CVS:
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_handle_seek_event),
(gst_asf_demux_process_data), (gst_asf_demux_process_file),
(gst_asf_demux_handle_src_query), (gst_asf_demux_change_state):
* gst/asfdemux/gstasfdemux.h:
Don't crash in the seek event handling code when playtime is 0,
as may be the case with live streams (#386218). Implement SEEKING
query so applications can query seekability without second-guessing
based on whether we have a duration or not.

17 years agoadd doap file
Thomas Vander Stichele [Fri, 15 Dec 2006 11:12:21 +0000 (11:12 +0000)]
add doap file

Original commit message from CVS:
* Makefile.am:
* gst-plugins-ugly.doap:
* gst-plugins-ugly.spec.in:
add doap file

17 years agogst/mpegstream/gstmpegparse.c: Use our alignment-safe macros here too, since we can...
Tim-Philipp Müller [Thu, 14 Dec 2006 12:05:49 +0000 (12:05 +0000)]
gst/mpegstream/gstmpegparse.c: Use our alignment-safe macros here too, since we can't assume that

Original commit message from CVS:
* gst/mpegstream/gstmpegparse.c: (gst_mpeg_parse_parse_packhead):
Use our alignment-safe macros here too, since we can't assume that
GST_BUFFER_DATA is aligned (these are subbuffers we're dealing with
here).

17 years agogst/realmedia/rmdemux.c: Also, don't read the index for a stream a second time when...
Tim-Philipp Müller [Thu, 14 Dec 2006 11:49:39 +0000 (11:49 +0000)]
gst/realmedia/rmdemux.c: Also, don't read the index for a stream a second time when operating in pull-mode and reachi...

Original commit message from CVS:
* gst/realmedia/rmdemux.c: (gst_rmdemux_parse_indx_data):
Also, don't read the index for a stream a second time when
operating in pull-mode and reaching the end of the file.

17 years agogst/realmedia/rmdemux.c: Don't leak stream index (#385292).
Roland Kay [Thu, 14 Dec 2006 11:25:00 +0000 (11:25 +0000)]
gst/realmedia/rmdemux.c: Don't leak stream index (#385292).

Original commit message from CVS:
Patch by: Roland Kay  <roland.kay at ox compsoc net>
* gst/realmedia/rmdemux.c: (gst_rmdemux_reset):
Don't leak stream index (#385292).

17 years agoext/lame/gstlame.*: Fix leak (by calling lame_init_params() before lame_close())...
Roland Kay [Thu, 14 Dec 2006 10:15:24 +0000 (10:15 +0000)]
ext/lame/gstlame.*: Fix leak (by calling lame_init_params() before lame_close()); handle

Original commit message from CVS:
Based on patch by: Roland Kay  <roland.kay at ox compsoc net>
* ext/lame/gstlame.c: (gst_lame_init), (gst_lame_chain),
(gst_lame_setup):
* ext/lame/gstlame.h:
Fix leak (by calling lame_init_params() before lame_close()); handle
NULL return from lame_init() more gracefully. Fixes #385311.

17 years agoconfigure.ac: Back to CVS
Jan Schmidt [Thu, 14 Dec 2006 09:57:12 +0000 (09:57 +0000)]
configure.ac: Back to CVS

Original commit message from CVS:
* configure.ac:
Back to CVS

17 years agoRelease 0.10.5
Jan Schmidt [Wed, 13 Dec 2006 21:04:12 +0000 (21:04 +0000)]
Release 0.10.5

Original commit message from CVS:
Release 0.10.5

17 years agogst/mpegstream/gstmpegparse.c: Use the GST_READ macro I meant to in the previous...
David Schleef [Tue, 12 Dec 2006 21:09:16 +0000 (21:09 +0000)]
gst/mpegstream/gstmpegparse.c: Use the GST_READ macro I meant to in the previous checkin.  see #385192.  You can have...

Original commit message from CVS:
* gst/mpegstream/gstmpegparse.c: Use the GST_READ macro I meant
to in the previous checkin.  see #385192.  You can have your
cheese back now.

17 years agogst/mpegstream/gstmpegparse.c: Fix unaligned load that loads from the dereferenced...
David Schleef [Tue, 12 Dec 2006 20:56:58 +0000 (20:56 +0000)]
gst/mpegstream/gstmpegparse.c: Fix unaligned load that loads from the dereferenced integer, not the pointer itself.  ...

Original commit message from CVS:
* gst/mpegstream/gstmpegparse.c: Fix unaligned load that loads
from the dereferenced integer, not the pointer itself.  Fixes
#385192.
I'm takin ur cheese!

17 years agoChangeLog surgery: fix bug number
Tim-Philipp Müller [Tue, 12 Dec 2006 10:29:32 +0000 (10:29 +0000)]
ChangeLog surgery: fix bug number

Original commit message from CVS:
ChangeLog surgery: fix bug number

17 years agogst/realmedia/rmdemux.c: For version 4 streams, read the extra codec data size from...
Roland Kay [Tue, 12 Dec 2006 10:24:40 +0000 (10:24 +0000)]
gst/realmedia/rmdemux.c: For version 4 streams, read the extra codec data size from the header instead of assuming it...

Original commit message from CVS:
Based on patch by: Roland Kay  <roland.kay at ox compsoc net>
* gst/realmedia/rmdemux.c: (gst_rmdemux_parse_mdpr):
For version 4 streams, read the extra codec data size from the
header instead of assuming it is always 16 (also read it from the
right position) (#384989). For version 4 and 5 streams, check that
the specified extra codec data size doesn't make us read beyond the
chunk boundary (#384989).

17 years agoUpdate .po files
Jan Schmidt [Sun, 10 Dec 2006 21:27:03 +0000 (21:27 +0000)]
Update .po files

Original commit message from CVS:
Update .po files

17 years agoext/mpeg2dec/gstmpeg2dec.c: Cosmetic changes: fix misleading debug statement, update...
Tim-Philipp Müller [Tue, 21 Nov 2006 12:33:25 +0000 (12:33 +0000)]
ext/mpeg2dec/gstmpeg2dec.c: Cosmetic changes: fix misleading debug statement, update comment, add cast.

Original commit message from CVS:
* ext/mpeg2dec/gstmpeg2dec.c: (gst_mpeg2dec_alloc_sized_buf):
Cosmetic changes: fix misleading debug statement, update
comment, add cast.

17 years agoext/mpeg2dec/gstmpeg2dec.*: Align buffers to a 16 byte boundary so the altivec optimi...
Sebastian Dröge [Tue, 21 Nov 2006 12:15:58 +0000 (12:15 +0000)]
ext/mpeg2dec/gstmpeg2dec.*: Align buffers to a 16 byte boundary so the altivec optimisations don't crash. Fixes #327350.

Original commit message from CVS:
Patch by: Sebastian Dröge  <slomo@circular-chaos.org>
* ext/mpeg2dec/gstmpeg2dec.c: (gst_mpeg2dec_init),
(gst_mpeg2dec_reset), (gst_mpeg2dec_alloc_sized_buf),
(gst_mpeg2dec_alloc_buffer), (init_dummybuf), (handle_slice):
* ext/mpeg2dec/gstmpeg2dec.h:
Align buffers to a 16 byte boundary so the altivec optimisations
don't crash. Fixes #327350.

17 years agogst/asfdemux/gstasfdemux.c: The availability of extra codec data isn't something...
Tim-Philipp Müller [Mon, 20 Nov 2006 15:52:42 +0000 (15:52 +0000)]
gst/asfdemux/gstasfdemux.c: The availability of extra codec data isn't something that warrants debug messages at WARN...

Original commit message from CVS:
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_add_audio_stream):
The availability of extra codec data isn't something that
warrants debug messages at WARNING level (see #376958).

17 years agogst/mpegstream/: Fix flow value combination; this fixes playbin/totem locking up...
Tim-Philipp Müller [Sun, 19 Nov 2006 13:08:30 +0000 (13:08 +0000)]
gst/mpegstream/: Fix flow value combination; this fixes playbin/totem locking up if a VobSub file is specified as sub...

Original commit message from CVS:
* gst/mpegstream/gstdvddemux.c: (gst_dvd_demux_base_init),
(gst_dvd_demux_class_init), (gst_dvd_demux_combine_flows),
(gst_dvd_demux_send_subbuffer):
* gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_class_init),
(gst_mpeg_demux_init_stream), (gst_mpeg_demux_parse_packet),
(gst_mpeg_demux_parse_pes), (gst_mpeg_demux_combine_flows),
(gst_mpeg_demux_send_subbuffer):
* gst/mpegstream/gstmpegdemux.h:
* gst/mpegstream/gstmpegparse.c: (gst_mpeg_parse_process_event),
(gst_mpeg_parse_chain):
Fix flow value combination; this fixes playbin/totem locking up if
a VobSub file is specified as subtitle file (#334322). Flow value
combination should only happen once we are fairly sure we've got all
pads that are available for now. Since there isn't a well-specified
time when this is the case in MPEG, we'll just assume this is the
case once there has been a certain number of packets for each
stream we've found so far.

17 years agoext/mpeg2dec/gstmpeg2dec.c: Simplify the framerate code and support more framerates...
Jan Arne Petersen [Wed, 15 Nov 2006 13:57:21 +0000 (13:57 +0000)]
ext/mpeg2dec/gstmpeg2dec.c: Simplify the framerate code and support more framerates. Fixes #361584.

Original commit message from CVS:
Patch by: Jan Arne Petersen <jpetersen at jpetersen dot org>
* ext/mpeg2dec/gstmpeg2dec.c: (handle_sequence), (handle_slice):
Simplify the framerate code and support more framerates. Fixes #361584.

17 years agoext/mpeg2dec/gstmpeg2dec.c: Fix minor memleak when creating pads from static pad...
Sebastian Dröge [Wed, 15 Nov 2006 11:41:39 +0000 (11:41 +0000)]
ext/mpeg2dec/gstmpeg2dec.c: Fix minor memleak when creating pads from static pad templates (#369627).

Original commit message from CVS:
Patch by: Sebastian Dröge  <slomo@circular-chaos.org>
* ext/mpeg2dec/gstmpeg2dec.c: (gst_mpeg2dec_init):
Fix minor memleak when creating pads from static pad templates (#369627).
* tests/check/Makefile.am:
* tests/check/elements/.cvsignore:
* tests/check/elements/mpeg2dec.c: (setup_mpeg2dec),
(cleanup_mpeg2dec), (GST_START_TEST), (mpeg2dec_suite), (main):
Add unit tests for mpeg2dec (#369627).

17 years agogive credit
Wim Taymans [Tue, 14 Nov 2006 10:31:11 +0000 (10:31 +0000)]
give credit

Original commit message from CVS:
give credit

17 years agoext/lame/gstlame.*: Make lame timestamp flushed eos buffer by some additional timesta...
Wim Taymans [Tue, 14 Nov 2006 10:29:37 +0000 (10:29 +0000)]
ext/lame/gstlame.*: Make lame timestamp flushed eos buffer by some additional timestamp accounting. Fixes #374760.

Original commit message from CVS:
* ext/lame/gstlame.c: (gst_lame_sink_event), (gst_lame_chain),
(gst_lame_change_state):
* ext/lame/gstlame.h:
Make lame timestamp flushed eos buffer by some additional timestamp
accounting. Fixes #374760.

17 years agogst/mpegaudioparse/gstmpegaudioparse.*: Make timestamp handling in mp3parse saner...
Michael Smith [Mon, 13 Nov 2006 17:01:15 +0000 (17:01 +0000)]
gst/mpegaudioparse/gstmpegaudioparse.*: Make timestamp handling in mp3parse saner; now works for at least simple cases.

Original commit message from CVS:
* gst/mpegaudioparse/gstmpegaudioparse.c:
(mp3_type_frame_length_from_header), (gst_mp3parse_reset),
(gst_mp3parse_init), (gst_mp3parse_dispose),
(gst_mp3parse_sink_event), (gst_mp3parse_chain), (head_check),
(gst_mp3parse_change_state):
* gst/mpegaudioparse/gstmpegaudioparse.h:
Make timestamp handling in mp3parse saner; now works for at least
simple cases.

17 years agogst/mpegaudioparse/: Bring mp3parse into the 21st century.
Michael Smith [Mon, 13 Nov 2006 16:23:22 +0000 (16:23 +0000)]
gst/mpegaudioparse/: Bring mp3parse into the 21st century.

Original commit message from CVS:
* gst/mpegaudioparse/Makefile.am:
* gst/mpegaudioparse/gstmpegaudioparse.c:
(mp3_type_frame_length_from_header), (gst_mp3parse_class_init),
(gst_mp3parse_reset), (gst_mp3parse_init), (gst_mp3parse_dispose),
(gst_mp3parse_sink_event), (gst_mp3parse_chain), (head_check),
(gst_mp3parse_change_state), (plugin_init):
* gst/mpegaudioparse/gstmpegaudioparse.h:
Bring mp3parse into the 21st century.
Use its own debug category, use gstadapter, format nicely to 80
columns, and fix incorrect handling of 32 kHz and less files.

18 years agoext/mpeg2dec/gstmpeg2dec.*: libmpeg2 requires its output buffers to start at a 16byte...
Sebastian Droege [Fri, 3 Nov 2006 09:52:12 +0000 (09:52 +0000)]
ext/mpeg2dec/gstmpeg2dec.*: libmpeg2 requires its output buffers to start at a 16byte aligned address or the altivec ...

Original commit message from CVS:
Patch by: Sebastian Droege <slomo at ubuntu dot com>
* ext/mpeg2dec/gstmpeg2dec.c: (gst_mpeg2dec_finalize),
(gst_mpeg2dec_alloc_buffer), (init_dummybuf), (handle_slice):
* ext/mpeg2dec/gstmpeg2dec.h:
libmpeg2 requires its output buffers to start at a 16byte aligned
address or the altivec optimizations will explode.

18 years agoext/cdio/: Move CD-TEXT utility function into common file so it can also be used...
Tim-Philipp Müller [Thu, 2 Nov 2006 14:43:11 +0000 (14:43 +0000)]
ext/cdio/: Move CD-TEXT utility function into common file so it can also be used by a future cdioparanoiasrc.

Original commit message from CVS:
* ext/cdio/gstcdio.c: (gst_cdio_get_cdtext):
* ext/cdio/gstcdio.h:
* ext/cdio/gstcdiocddasrc.c: (gst_cdio_cdda_src_open):
Move CD-TEXT utility function into common file so it can also be
used by a future cdioparanoiasrc.

18 years agoext/dvdread/dvdreadsrc.c: Use dsi_pack.dsi_gi.vobu_ea correctly, add some more debugg...
Tim-Philipp Müller [Thu, 19 Oct 2006 10:17:14 +0000 (10:17 +0000)]
ext/dvdread/dvdreadsrc.c: Use dsi_pack.dsi_gi.vobu_ea correctly, add some more debugging information (fixes #340433).

Original commit message from CVS:
* ext/dvdread/dvdreadsrc.c: (gst_dvd_read_src_read):
Use dsi_pack.dsi_gi.vobu_ea correctly, add some more debugging
information (fixes #340433).

18 years agogst/: Misc. fixes for problems discovered by Forte (different return types in functio...
Josep Torra Valles [Mon, 16 Oct 2006 18:07:23 +0000 (18:07 +0000)]
gst/: Misc. fixes for problems discovered by Forte (different return types in function declaration and definition, po...

Original commit message from CVS:
Patch by: Josep Torra Valles  <josep at fluendo com>
* gst/iec958/ac3_padder.c: (ac3p_init):
* gst/mpegstream/gstmpegparse.c:
* gst/realmedia/rmdemux.c: (gst_rmdemux_parse__rmf),
(gst_rmdemux_parse_prop), (gst_rmdemux_parse_mdpr),
(gst_rmdemux_parse_indx), (gst_rmdemux_parse_indx_data),
(gst_rmdemux_parse_data), (gst_rmdemux_parse_cont),
(gst_rmdemux_parse_packet):
Misc. fixes for problems discovered by Forte (different return types
in function declaration and definition, pointer arithmetics with
void pointers). Fixes #362639.

18 years agoext/dvdread/dvdreadsrc.c: Don't announce audio or subtitle streams that aren't really...
Tim-Philipp Müller [Fri, 13 Oct 2006 19:11:26 +0000 (19:11 +0000)]
ext/dvdread/dvdreadsrc.c: Don't announce audio or subtitle streams that aren't really present, it makes dvddemux crea...

Original commit message from CVS:
* ext/dvdread/dvdreadsrc.c: (gst_dvd_read_src_goto_title):
Don't announce audio or subtitle streams that aren't really present,
it makes dvddemux create pads that will never carry any data, which
is not good.

18 years agoext/lame/gstlame.c: Round up not allowed bitrates to the next higher allowed one...
Tim-Philipp Müller [Fri, 13 Oct 2006 14:45:11 +0000 (14:45 +0000)]
ext/lame/gstlame.c: Round up not allowed bitrates to the next higher allowed one (Closes: #361140).

Original commit message from CVS:
* ext/lame/gstlame.c: (gst_lame_set_property):
Round up not allowed bitrates to the next higher allowed one
(Closes: #361140).

18 years agoAdd docs for lame and lame to docs. Specify allowed bitrates in the properties descri...
Tim-Philipp Müller [Fri, 13 Oct 2006 14:19:24 +0000 (14:19 +0000)]
Add docs for lame and lame to docs. Specify allowed bitrates in the properties description (#361140). Canonicalise ob...

Original commit message from CVS:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-ugly-plugins-docs.sgml:
* docs/plugins/gst-plugins-ugly-plugins-sections.txt:
* ext/lame/gstlame.c: (gst_lame_class_init):
* ext/lame/gstlame.h:
Add docs for lame and lame to docs. Specify allowed bitrates
in the properties description (#361140). Canonicalise object
property names (ie. use hyphen instead of underscore).
* docs/plugins/inspect/plugin-a52dec.xml:
* docs/plugins/inspect/plugin-amrnb.xml:
* docs/plugins/inspect/plugin-asf.xml:
* docs/plugins/inspect/plugin-dvdlpcmdec.xml:
* docs/plugins/inspect/plugin-dvdread.xml:
* docs/plugins/inspect/plugin-dvdsub.xml:
* docs/plugins/inspect/plugin-iec958.xml:
* docs/plugins/inspect/plugin-lame.xml:
* docs/plugins/inspect/plugin-mad.xml:
* docs/plugins/inspect/plugin-mpeg2dec.xml:
* docs/plugins/inspect/plugin-mpegaudioparse.xml:
* docs/plugins/inspect/plugin-mpegstream.xml:
* docs/plugins/inspect/plugin-siddec.xml:
Update version to CVS.

18 years agoAdd i18n magic to lame plugin. Throw decent error message when we fail to setup the...
Tim-Philipp Müller [Fri, 13 Oct 2006 10:00:27 +0000 (10:00 +0000)]
Add i18n magic to lame plugin. Throw decent error message when we fail to setup the encoder (#361140, 361151); misc. ...

Original commit message from CVS:
* ext/lame/gstlame.c: (gst_lame_sink_setcaps),
(gst_lame_set_property), (gst_lame_get_property), (gst_lame_chain),
(plugin_init):
* po/POTFILES.in:
Add i18n magic to lame plugin. Throw decent error message when we
fail to setup the encoder (#361140, 361151); misc. minor clean-ups.

18 years agogst/realmedia/rdtdepay.c: Change caps to x-rdt, because it's not x-rtp.
Wim Taymans [Tue, 10 Oct 2006 17:02:05 +0000 (17:02 +0000)]
gst/realmedia/rdtdepay.c: Change caps to x-rdt, because it's not x-rtp.

Original commit message from CVS:
* gst/realmedia/rdtdepay.c: (gst_rdt_depay_base_init),
(gst_rdt_depay_init), (gst_rdt_depay_setcaps),
(gst_rdt_depay_chain), (gst_rdt_depay_change_state):
Change caps to x-rdt, because it's not x-rtp.
* gst/realmedia/rmdemux.c: (gst_rmdemux_add_stream),
(gst_rmdemux_parse_mdpr), (gst_rmdemux_parse_packet),
(gst_rmdemux_plugin_init):
Activate pad before adding to the element.
Return the combined stream return values after pad_alloc.

18 years agoext/mpeg2dec/gstmpeg2dec.*: Add some debugging to timestamp handling.
Wim Taymans [Tue, 10 Oct 2006 16:58:32 +0000 (16:58 +0000)]
ext/mpeg2dec/gstmpeg2dec.*: Add some debugging to timestamp handling.

Original commit message from CVS:
* ext/mpeg2dec/gstmpeg2dec.c: (handle_slice):
* ext/mpeg2dec/gstmpeg2dec.h:
Add some debugging to timestamp handling.
Make sure we don't convert invalid timestamps.

18 years agogst/: Active pads before adding them to the running element. Don't assert on non...
Tim-Philipp Müller [Mon, 9 Oct 2006 12:09:14 +0000 (12:09 +0000)]
gst/: Active pads before adding them to the running element. Don't assert on non-BYTE format newsegment events in asf...

Original commit message from CVS:
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_sink_event),
(gst_asf_demux_setup_pad), (gst_asf_demux_process_segment):
* gst/mpegstream/gstdvddemux.c: (gst_dvd_demux_get_audio_stream),
(gst_dvd_demux_get_subpicture_stream):
* gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_get_video_stream),
(gst_mpeg_demux_get_audio_stream),
(gst_mpeg_demux_get_private_stream):
Active pads before adding them to the running element. Don't assert
on non-BYTE format newsegment events in asfdemux.

18 years agoPrintf format fixes.
Tim-Philipp Müller [Thu, 5 Oct 2006 17:07:52 +0000 (17:07 +0000)]
Printf format fixes.

Original commit message from CVS:
* ext/dvdread/dvdreadsrc.c: (gst_dvd_read_src_goto_title),
(gst_dvd_read_src_handle_seek_event):
* ext/mad/gstid3tag.c: (gst_id3_tag_chain):
* ext/mad/gstmad.c: (gst_mad_src_query), (gst_mad_chain):
* ext/sidplay/gstsiddec.cc:
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_parse_data):
* gst/realmedia/rmdemux.c: (gst_rmdemux_loop),
(gst_rmdemux_parse_packet):
Printf format fixes.

18 years agogst/realmedia/: Added RDT depayloader.
Wim Taymans [Tue, 3 Oct 2006 10:55:42 +0000 (10:55 +0000)]
gst/realmedia/: Added RDT depayloader.

Original commit message from CVS:
* gst/realmedia/Makefile.am:
* gst/realmedia/rdtdepay.c: (gst_rdt_depay_base_init),
(gst_rdt_depay_class_init), (gst_rdt_depay_init),
(gst_rdt_depay_setcaps), (gst_rdt_depay_chain),
(gst_rdt_depay_set_property), (gst_rdt_depay_get_property),
(gst_rdt_depay_change_state), (gst_rdt_depay_plugin_init):
* gst/realmedia/rdtdepay.h:
Added RDT depayloader.
* gst/realmedia/rmdemux.c: (gst_rmdemux_parse_mdpr),
(gst_rmdemux_plugin_init), (plugin_init):
Remove unused function.
Added some more mime-types.

18 years agogst/dvdlpcmdec/gstdvdlpcmdec.c: If an incoming timestamp is within one sample of...
Jan Schmidt [Thu, 28 Sep 2006 21:44:49 +0000 (21:44 +0000)]
gst/dvdlpcmdec/gstdvdlpcmdec.c: If an incoming timestamp is within one sample of our current timestamp, then keep it....

Original commit message from CVS:
* gst/dvdlpcmdec/gstdvdlpcmdec.c: (update_timestamps):
If an incoming timestamp is within one sample of our current
timestamp, then keep it. This prevents imprecision in the
PTS (which only has 90khz granularity) from affecting our stream.

18 years agogst/mpegstream/gstmpegparse.c: Reflow code so that compiler doesn't complain about...
Tim-Philipp Müller [Thu, 28 Sep 2006 09:16:38 +0000 (09:16 +0000)]
gst/mpegstream/gstmpegparse.c: Reflow code so that compiler doesn't complain about possible use of uninitialised vari...

Original commit message from CVS:
* gst/mpegstream/gstmpegparse.c: (gst_mpeg_parse_handle_src_query):
Reflow code so that compiler doesn't complain about possible use
of uninitialised variable any longer; but just in case, initialise
it anyway; also take object ref in query function and do peer pad
stuff in a more thread-safe way.

18 years agoext/dvdread/dvdreadsrc.c: Init a variable to make compilers happy.
Wim Taymans [Wed, 27 Sep 2006 09:54:01 +0000 (09:54 +0000)]
ext/dvdread/dvdreadsrc.c: Init a variable to make compilers happy.

Original commit message from CVS:
* ext/dvdread/dvdreadsrc.c: (gst_dvd_read_src_do_convert_query):
Init a variable to make compilers happy.

18 years agogst/mpegstream/: Send newsegment updates for sparse streams (#350778).
Martin Zlomek [Thu, 21 Sep 2006 13:34:59 +0000 (13:34 +0000)]
gst/mpegstream/: Send newsegment updates for sparse streams (#350778).

Original commit message from CVS:
Patch by: Martin Zlomek <martin dot zlomek at itonis dot tv>
* gst/mpegstream/gstdvddemux.c: (gst_dvd_demux_reset),
(gst_dvd_demux_sync_stream_to_time):
* gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_send_subbuffer),
(gst_mpeg_demux_synchronise_pads),
(gst_mpeg_demux_sync_stream_to_time):
Send newsegment updates for sparse streams (#350778).

18 years agoext/dvdread/dvdreadsrc.c: fix compile warning
Thomas Vander Stichele [Wed, 20 Sep 2006 16:18:24 +0000 (16:18 +0000)]
ext/dvdread/dvdreadsrc.c: fix compile warning

Original commit message from CVS:
* ext/dvdread/dvdreadsrc.c: (gst_dvd_read_src_do_convert_query):
fix compile warning

18 years agobump the nano bitches
Thomas Vander Stichele [Wed, 20 Sep 2006 16:16:18 +0000 (16:16 +0000)]
bump the nano bitches

Original commit message from CVS:
bump the nano bitches

18 years agoconfigure.ac: As another attempt, synaesthesia can be enabled by passing
Stefan Kost [Wed, 20 Sep 2006 11:55:00 +0000 (11:55 +0000)]
configure.ac: As another attempt, synaesthesia can be enabled by passing

Original commit message from CVS:
* configure.ac:
As another attempt, synaesthesia can be enabled by passing
--with-plugins="synaesthesia" to configure

18 years agoconfigure.ac: Don't build synaesthesia by default, until someone confirms that it...
Stefan Kost [Wed, 20 Sep 2006 11:12:22 +0000 (11:12 +0000)]
configure.ac: Don't build synaesthesia by default, until someone confirms that it is okay (filed as #356882)

Original commit message from CVS:
* configure.ac:
Don't build synaesthesia by default, until someone confirms that it
is okay (filed as #356882)

18 years agoconfigure.ac: Don't build synaesthesia by default, until someone confirms that it...
Stefan Kost [Wed, 20 Sep 2006 11:11:26 +0000 (11:11 +0000)]
configure.ac: Don't build synaesthesia by default, until someone confirms that it is okay (filed as #356882)

Original commit message from CVS:
* configure.ac:
Don't build synaesthesia by default, until someone confirms that it
is okay (filed as #356882)