platform/upstream/gstreamer.git
19 years agoRaw and crude port of decodebin.
Wim Taymans [Tue, 12 Apr 2005 10:48:58 +0000 (10:48 +0000)]
Raw and crude port of decodebin.

Original commit message from CVS:
* gst/playback/README:
* gst/playback/gstdecodebin.c: (gst_decode_bin_class_init),
(compare_ranks), (print_feature), (gst_decode_bin_init),
(dynamic_create), (dynamic_free), (find_compatibles),
(mimetype_is_raw), (close_pad_link), (got_redirect),
(try_to_link_1), (get_our_ghost_pad), (remove_element_chain),
(new_pad), (no_more_pads), (unlinked), (close_link), (type_found),
(gst_decode_bin_change_state):
* gst/playback/gstplaybasebin.c: (gst_play_base_bin_class_init),
(gst_play_base_bin_init), (group_destroy), (group_commit),
(check_queue), (queue_overrun), (queue_threshold_reached),
(queue_out_of_data), (gen_preroll_element), (unknown_type),
(new_decoded_pad), (setup_subtitle), (gen_source_element),
(got_redirect), (setup_source), (play_base_eos),
(gst_play_base_bin_change_state), (gst_play_base_bin_add_element),
(gst_play_base_bin_remove_element):
* gst/playback/gstplaybasebin.h:
* gst/playback/gstplaybin.c: (gst_play_bin_class_init),
(gst_play_bin_init), (gst_play_bin_dispose),
(gst_play_bin_set_property), (gen_video_element),
(gen_text_element), (gen_audio_element), (remove_sinks),
(gst_play_bin_send_event):
* gst/playback/gststreaminfo.c: (gst_stream_info_dispose),
(stream_info_change_state), (gst_stream_info_set_mute):
* gst/playback/gststreamselector.c: (gst_stream_selector_init),
(gst_stream_selector_get_caps), (gst_stream_selector_setcaps),
(gst_stream_selector_request_new_pad), (gst_stream_selector_event),
(gst_stream_selector_chain):
* gst/playback/test.c: (gen_video_element), (gen_audio_element),
(main):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_getcaps),
(gst_xvimagesink_setcaps), (gst_xvimagesink_get_times),
(gst_xvimagesink_show_frame), (gst_xvimagesink_chain),
(gst_xvimagesink_buffer_alloc), (gst_xvimagesink_class_init):
Raw and crude port of decodebin.
Make playbin compile.

19 years agoignore already applied patch
Thomas Vander Stichele [Sun, 10 Apr 2005 20:23:09 +0000 (20:23 +0000)]
ignore already applied patch

Original commit message from CVS:
ignore already applied patch

19 years agoMake gnomevfssrc extend the source base class.
Wim Taymans [Wed, 6 Apr 2005 17:33:07 +0000 (17:33 +0000)]
Make gnomevfssrc extend the source base class.

Original commit message from CVS:
* ext/gnomevfs/Makefile.am:
* ext/gnomevfs/gstgnomevfssrc.c: (gst_gnomevfssrc_get_type),
(gst_gnomevfssrc_class_init), (gst_gnomevfssrc_init),
(gst_gnomevfssrc_set_property), (gst_gnomevfssrc_get_property),
(gst_gnomevfssrc_create), (gst_gnomevfssrc_is_seekable),
(gst_gnomevfssrc_get_size), (gst_gnomevfssrc_start),
(gst_gnomevfssrc_stop):
* ext/ogg/Makefile.am:
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_get_data),
(gst_ogg_demux_find_chains), (gst_ogg_demux_sink_activate):
* ext/theora/Makefile.am:
* ext/theora/theoradec.c: (_inc_granulepos),
(theora_dec_sink_event), (theora_dec_chain):
* ext/vorbis/Makefile.am:
* ext/vorbis/vorbisdec.c: (vorbis_dec_src_query),
(vorbis_dec_sink_event), (vorbis_dec_chain):
* gst-libs/gst/audio/Makefile.am:
* sys/xvimage/Makefile.am:
Make gnomevfssrc extend the source base class.
Fix linking against libs in various plugins.

19 years agogst-libs/gst/video/Makefile.am (libgstvideo_la_LDFLAGS): Use
Andy Wingo [Wed, 6 Apr 2005 11:34:30 +0000 (11:34 +0000)]
gst-libs/gst/video/Makefile.am (libgstvideo_la_LDFLAGS): Use

Original commit message from CVS:
2005-04-06  Andy Wingo  <wingo@pobox.com>

* gst-libs/gst/video/Makefile.am (libgstvideo_la_LDFLAGS): Use
GST_BASE_LIBS.

19 years agoconfigure.ac: Add check and AC_SUBST for libgstbase.
Andy Wingo [Wed, 6 Apr 2005 11:17:14 +0000 (11:17 +0000)]
configure.ac: Add check and AC_SUBST for libgstbase.

Original commit message from CVS:
2005-04-06  Andy Wingo  <wingo@pobox.com>

* configure.ac: Add check and AC_SUBST for libgstbase.

19 years agoPlugin port to 0.9, ogg/theora playback should work in the seek example now.
Wim Taymans [Thu, 31 Mar 2005 09:43:49 +0000 (09:43 +0000)]
Plugin port to 0.9, ogg/theora playback should work in the seek example now.

Original commit message from CVS:
Plugin port to 0.9, ogg/theora playback should work in the seek
example now.
Removed old examples.
Removed old oggvorbisenc, renamed rawvorbisenc to vorbisenc as
explained in 0.9 TODO doc.

19 years agoremove a whole bunch of plugins. This module now contains a set of free reference...
Thomas Vander Stichele [Wed, 23 Feb 2005 12:45:50 +0000 (12:45 +0000)]
remove a whole bunch of plugins.  This module now contains a set of free reference plugins/elements as agreed.

Original commit message from CVS:
remove a whole bunch of plugins.  This module now contains a set
of free reference plugins/elements as agreed.

19 years agoadd libvisual plugin
Christian Schaller [Tue, 22 Feb 2005 18:14:34 +0000 (18:14 +0000)]
add libvisual plugin

Original commit message from CVS:
add libvisual plugin

19 years agohunting season on 0.9 is now OPEN
Thomas Vander Stichele [Tue, 22 Feb 2005 16:48:58 +0000 (16:48 +0000)]
hunting season on 0.9 is now OPEN

Original commit message from CVS:
hunting season on 0.9 is now OPEN

19 years agosys/oss/gstosselement.c: Kick the hell out of gcc for not warning me about a symbol...
Ronald S. Bultje [Tue, 22 Feb 2005 15:23:04 +0000 (15:23 +0000)]
sys/oss/gstosselement.c: Kick the hell out of gcc for not warning me about a symbol conflict.

Original commit message from CVS:
* sys/oss/gstosselement.c: (gst_osselement_class_probe_devices):
Kick the hell out of gcc for not warning me about a symbol conflict.

19 years agoext/gdk_pixbuf/pixbufscale.c: Don't leak caps string (fixes #168134)
Tim-Philipp Müller [Tue, 22 Feb 2005 12:04:15 +0000 (12:04 +0000)]
ext/gdk_pixbuf/pixbufscale.c: Don't leak caps string (fixes #168134)

Original commit message from CVS:
* ext/gdk_pixbuf/pixbufscale.c: (gst_pixbufscale_link):
Don't leak caps string (fixes #168134)

* ext/jpeg/gstjpegenc.c: (gst_jpegenc_class_init),
(gst_jpegenc_init), (gst_jpegenc_finalize),
(gst_jpegenc_change_state):
Don't leak line buffers and context struct (fixes #168133).

19 years agoSince dirac 0.5.0 the framerate in dirac is expressed as a rational number. Fix build...
Tim-Philipp Müller [Mon, 21 Feb 2005 23:41:23 +0000 (23:41 +0000)]
Since dirac 0.5.0 the framerate in dirac is expressed as a rational number. Fix build and up requirement to 0.5.0, an...

Original commit message from CVS:
Since dirac 0.5.0 the framerate in dirac is expressed as a rational number. Fix build and up requirement to 0.5.0, and also pass parameters to gst_diracdec_link in the right order. (fixes #167959)

19 years agoWhoops.
Maciej Katafiasz [Mon, 21 Feb 2005 19:01:58 +0000 (19:01 +0000)]
Whoops.

Original commit message from CVS:
Whoops.

19 years agoFix playback of certain invalid muxed streams. Partial fix for #149158
Maciej Katafiasz [Mon, 21 Feb 2005 18:58:46 +0000 (18:58 +0000)]
Fix playback of certain invalid muxed streams. Partial fix for #149158

Original commit message from CVS:
Fix playback of certain invalid muxed streams. Partial fix for #149158

19 years agogst/dvdlpcmdec/gstdvdlpcmdec.c: Make sure we only write to writable buffers
Jan Schmidt [Sun, 20 Feb 2005 15:26:04 +0000 (15:26 +0000)]
gst/dvdlpcmdec/gstdvdlpcmdec.c: Make sure we only write to writable buffers

Original commit message from CVS:
* gst/dvdlpcmdec/gstdvdlpcmdec.c: (gst_dvdlpcmdec_chain):
Make sure we only write to writable buffers

19 years agogst-libs/gst/riff/riff-media.c: Do actually fix invalid RIFF fmt header values for...
Tim-Philipp Müller [Sun, 20 Feb 2005 12:49:19 +0000 (12:49 +0000)]
gst-libs/gst/riff/riff-media.c: Do actually fix invalid RIFF fmt header values for alaw and mulaw audio instead of ju...

Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c:
(gst_riff_create_audio_caps_with_data):
Do actually fix invalid RIFF fmt header values for alaw
and mulaw audio instead of just saying so.

* gst/wavparse/gstwavparse.c: (gst_wavparse_fmt):
Give gst_riff_create_audio_caps_with_data() a chance to
fix up broken format header fields before extracting any
parameters from the header. (fixes #167633)

19 years agoDon't leak othercaps in link function (fixes #167878)
Tim-Philipp Müller [Sat, 19 Feb 2005 20:01:36 +0000 (20:01 +0000)]
Don't leak othercaps in link function (fixes #167878)

Original commit message from CVS:
Don't leak othercaps in link function (fixes #167878)

19 years agosupport libvisual 0.2.0
Arwed v. Merkatz [Sat, 19 Feb 2005 17:08:27 +0000 (17:08 +0000)]
support libvisual 0.2.0

Original commit message from CVS:
support libvisual 0.2.0

19 years agoFix rowstrides
Tim-Philipp Müller [Fri, 18 Feb 2005 10:38:34 +0000 (10:38 +0000)]
Fix rowstrides

Original commit message from CVS:
Fix rowstrides

19 years agogst/avi/gstavidemux.c: Declare variables at beginning of block and make gcc-2.95...
Gergely Nagy [Thu, 17 Feb 2005 19:21:42 +0000 (19:21 +0000)]
gst/avi/gstavidemux.c: Declare variables at beginning of block and make gcc-2.95 happy

Original commit message from CVS:

* gst/avi/gstavidemux.c: (gst_avi_demux_invert):
Declare variables at beginning of block and make gcc-2.95 happy
(fixes # 167482, patch by Gergely Nagy).

* gst/tcp/gsttcpclientsrc.c:
* gst/tcp/gsttcpclientsrc.h:
Move some includes into the header, so that struct sockaddr_in is
defined when it should be defined on FreeBSD as well (fixes
#167483).

* gst/tcp/gsttcpserversrc.c: (gst_tcpserversrc_init_receive):
Don't pass uninitialised values to setsockopt() here either.

19 years agoDo not pass uninitialised values to setsockopt(). (fixes #167704)
Tim-Philipp Müller [Thu, 17 Feb 2005 17:56:39 +0000 (17:56 +0000)]
Do not pass uninitialised values to setsockopt(). (fixes #167704)

Original commit message from CVS:
Do not pass uninitialised values to setsockopt(). (fixes #167704)

19 years agogst/playback/gstplaybin.c: Invert bin_add/link order to workaround deadlock in opt.
Ronald S. Bultje [Wed, 16 Feb 2005 13:33:12 +0000 (13:33 +0000)]
gst/playback/gstplaybin.c: Invert bin_add/link order to workaround deadlock in opt.

Original commit message from CVS:
* gst/playback/gstplaybin.c: (add_sink):
Invert bin_add/link order to workaround deadlock in opt.

19 years agogst/modplug/gstmodplug.cc: Add missing break causing position queries to fail.
Ronald S. Bultje [Tue, 15 Feb 2005 16:25:48 +0000 (16:25 +0000)]
gst/modplug/gstmodplug.cc: Add missing break causing position queries to fail.

Original commit message from CVS:
* gst/modplug/gstmodplug.cc:
Add missing break causing position queries to fail.

19 years agoext/ogg/gstoggdemux.c: Granpos can apparently be -1, which screws up calculations...
Ronald S. Bultje [Tue, 15 Feb 2005 15:58:15 +0000 (15:58 +0000)]
ext/ogg/gstoggdemux.c: Granpos can apparently be -1, which screws up calculations...

Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_populate):
Granpos can apparently be -1, which screws up calculations...

19 years agosys/: Use a mutex protected list to marshal navigation events into the stream thread...
Jan Schmidt [Tue, 15 Feb 2005 14:12:11 +0000 (14:12 +0000)]
sys/: Use a mutex protected list to marshal navigation events into the stream thread from whichever thread sends them.

Original commit message from CVS:
* sys/ximage/ximagesink.c: (gst_ximagesink_chain),
(gst_ximagesink_send_pending_navigation),
(gst_ximagesink_navigation_send_event), (gst_ximagesink_finalize),
(gst_ximagesink_init):
* sys/ximage/ximagesink.h:
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_chain),
(gst_xvimagesink_send_pending_navigation),
(gst_xvimagesink_navigation_send_event),
(gst_xvimagesink_finalize), (gst_xvimagesink_init):
* sys/xvimage/xvimagesink.h:
Use a mutex protected list to marshal navigation
events into the stream thread from whichever thread
sends them.

19 years agoAdd query function to GstSpeed, so that the stream length and current position get...
Tim-Philipp Müller [Tue, 15 Feb 2005 11:05:34 +0000 (11:05 +0000)]
Add query function to GstSpeed, so that the stream length and current position get adjusted when queried (note that c...

Original commit message from CVS:
Add query function to GstSpeed, so that the stream length and current position get adjusted when queried (note that current position queries may still be wrong if the audio sink returns values based on buffer timestamps instead of passing on the query

19 years agogst/audioconvert/gstaudioconvert.c: create channel conversion matrix when linking
Benjamin Otte [Sun, 13 Feb 2005 17:39:22 +0000 (17:39 +0000)]
gst/audioconvert/gstaudioconvert.c: create channel conversion matrix when linking

Original commit message from CVS:
* gst/audioconvert/gstaudioconvert.c: (gst_audio_convert_link),
(gst_audio_convert_channels):
create channel conversion matrix when linking
* gst/audioconvert/.cvsignore:
* gst/audioconvert/Makefile.am:
* gst/audioconvert/channelmixtest.c: (main):
add (ugly) test that ensures stereo <=> mono conversion works
correctly

19 years agogst/audioconvert/gstchannelmix.h: include missing header file
Benjamin Otte [Sun, 13 Feb 2005 16:10:16 +0000 (16:10 +0000)]
gst/audioconvert/gstchannelmix.h: include missing header file

Original commit message from CVS:
* gst/audioconvert/gstchannelmix.h:
include missing header file
* gst/audioconvert/gstchannelmix.c:
(gst_audio_convert_fill_compatible):
use same sign for both channels when converting to/from compatible
channel. Previously used different signs made the signals cancel
each other out and appear like silence. (fixes #167269)

19 years agoConvert to and from YV12 (fixes #156379)
Tim-Philipp Müller [Sat, 12 Feb 2005 22:29:00 +0000 (22:29 +0000)]
Convert to and from YV12 (fixes #156379)

Original commit message from CVS:
Convert to and from YV12 (fixes #156379)

19 years agosys/ximage/ximagesink.c: Protect interface methods from chain and negotiation and...
Julien Moutte [Sat, 12 Feb 2005 18:41:49 +0000 (18:41 +0000)]
sys/ximage/ximagesink.c: Protect interface methods from chain and negotiation and vice versa (Fixes #166142).

Original commit message from CVS:
2005-02-12  Julien MOUTTE  <julien@moutte.net>

* sys/ximage/ximagesink.c: (gst_ximagesink_xwindow_new),
(gst_ximagesink_sink_link), (gst_ximagesink_change_state),
(gst_ximagesink_chain), (gst_ximagesink_set_xwindow_id),
(gst_ximagesink_expose), (gst_ximagesink_set_property),
(gst_ximagesink_finalize), (gst_ximagesink_init): Protect interface
methods from chain and negotiation and vice versa (Fixes #166142).
* sys/ximage/ximagesink.h: Add stream_lock.
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_sink_link),
(gst_xvimagesink_chain), (gst_xvimagesink_buffer_free),
(gst_xvimagesink_buffer_alloc), (gst_xvimagesink_set_xwindow_id),
(gst_xvimagesink_expose): Check for xcontext before trying to link.

19 years agoDon't send 'Hey! You gave me a NULL pointer yo naughty person' as error message when...
Tim-Philipp Müller [Sat, 12 Feb 2005 17:37:37 +0000 (17:37 +0000)]
Don't send 'Hey! You gave me a NULL pointer yo naughty person' as error message when we can't open the DVD device; se...

Original commit message from CVS:
Don't send 'Hey! You gave me a NULL pointer yo naughty person' as error message when we can't open the DVD device; send something more useful instead (fixes #167117)

19 years agosys/xvimage/xvimagesink.c: Protect interface methods from chain and negotiation and...
Julien Moutte [Fri, 11 Feb 2005 22:49:23 +0000 (22:49 +0000)]
sys/xvimage/xvimagesink.c: Protect interface methods from chain and negotiation and vice versa (Fixes #166142).

Original commit message from CVS:
2005-02-11  Julien MOUTTE  <julien@moutte.net>

* sys/xvimage/xvimagesink.c: (gst_xvimagesink_xvimage_put),
(gst_xvimagesink_sink_link), (gst_xvimagesink_change_state),
(gst_xvimagesink_chain), (gst_xvimagesink_buffer_free),
(gst_xvimagesink_buffer_alloc), (gst_xvimagesink_set_xwindow_id),
(gst_xvimagesink_expose), (gst_xvimagesink_set_property),
(gst_xvimagesink_finalize), (gst_xvimagesink_init): Protect interface
methods from chain and negotiation and vice versa (Fixes #166142).
Fix a possible bug of images in the buffer pool being discarded because
we are looking at the wrong geometry.
* sys/xvimage/xvimagesink.h: Add stream_lock.

19 years agoext/mpeg2dec/gstmpeg2dec.c: Change uint to unsigned int. (fixes #167128)
David Schleef [Fri, 11 Feb 2005 22:25:33 +0000 (22:25 +0000)]
ext/mpeg2dec/gstmpeg2dec.c: Change uint to unsigned int. (fixes #167128)

Original commit message from CVS:
* ext/mpeg2dec/gstmpeg2dec.c: (crop_buffer): Change uint to
unsigned int. (fixes #167128)

19 years agogst/librfb/Makefile.am: Testing stuff before committing is for wimps... and people...
David Schleef [Fri, 11 Feb 2005 22:16:02 +0000 (22:16 +0000)]
gst/librfb/Makefile.am: Testing stuff before committing is for wimps... and people with fast machines.  Fix stupid mi...

Original commit message from CVS:
* gst/librfb/Makefile.am: Testing stuff before committing is
for wimps... and people with fast machines.  Fix stupid
mistake.

19 years agoconfigure.ac: Pull in librfb from my CVS tree, because it is too small and annoying...
David Schleef [Fri, 11 Feb 2005 22:01:19 +0000 (22:01 +0000)]
configure.ac: Pull in librfb from my CVS tree, because it is too small and annoying to be separate.  Move rfbsrc plug...

Original commit message from CVS:
* configure.ac: Pull in librfb from my CVS tree, because it is
too small and annoying to be separate.  Move rfbsrc plugin
to gst/.
* ext/Makefile.am:
* ext/librfb/Makefile.am:
* ext/librfb/gstrfbsrc.c:
* gst/librfb/Makefile.am:
* gst/librfb/gstrfbsrc.c:
* gst/librfb/rfb.c:
* gst/librfb/rfb.h:
* gst/librfb/rfbbuffer.c:
* gst/librfb/rfbbuffer.h:
* gst/librfb/rfbbytestream.c:
* gst/librfb/rfbbytestream.h:
* gst/librfb/rfbcontext.h:
* gst/librfb/rfbdecoder.c:
* gst/librfb/rfbdecoder.h:
* gst/librfb/rfbutil.h:

19 years agoand make it handle more than one channel.
Tim-Philipp Müller [Thu, 10 Feb 2005 15:06:12 +0000 (15:06 +0000)]
and make it handle more than one channel.

Original commit message from CVS:
Fix speed element and make it chain-based (fixes #156467), and make it handle more than one channel.

19 years agoext/dts/gstdtsdec.*: Don't clobber the stack constructing the channels array.
Jan Schmidt [Thu, 10 Feb 2005 06:46:14 +0000 (06:46 +0000)]
ext/dts/gstdtsdec.*: Don't clobber the stack constructing the channels array.

Original commit message from CVS:
* ext/dts/gstdtsdec.c: (gst_dtsdec_init), (gst_dtsdec_channels),
(gst_dtsdec_handle_event), (gst_dtsdec_handle_frame),
(gst_dtsdec_chain), (gst_dtsdec_change_state):
* ext/dts/gstdtsdec.h:
Don't clobber the stack constructing the channels array.
Make the element chain-based. DTS tracks can now be played.

19 years agoAdd G_BEGIN_DECLS and G_END_DECLS around headers where missing, so that they work...
Tim-Philipp Müller [Wed, 9 Feb 2005 22:31:05 +0000 (22:31 +0000)]
Add G_BEGIN_DECLS and G_END_DECLS around headers where missing, so that they work when included from C++ code

Original commit message from CVS:
Add G_BEGIN_DECLS and G_END_DECLS around headers where missing, so that they work when included from C++ code

19 years agotestsuite/gst-lint: Check for non-statically scoped parent_class variables. This...
David Schleef [Wed, 9 Feb 2005 20:50:35 +0000 (20:50 +0000)]
testsuite/gst-lint: Check for non-statically scoped parent_class variables.  This won't be a problem once plugins are...

Original commit message from CVS:
* testsuite/gst-lint: Check for non-statically scoped
parent_class variables.  This won't be a problem once
plugins are loaded with RTLD_LOCAL.

19 years agoext/mplex/gstmplexibitstream.cc: gcc madness.
Ronald S. Bultje [Wed, 9 Feb 2005 14:27:08 +0000 (14:27 +0000)]
ext/mplex/gstmplexibitstream.cc: gcc madness.

Original commit message from CVS:
* ext/mplex/gstmplexibitstream.cc:
gcc madness.

19 years agoDie, thou faulty symbol pollutors (non-static parent_class).
Ronald S. Bultje [Wed, 9 Feb 2005 14:19:33 +0000 (14:19 +0000)]
Die, thou faulty symbol pollutors (non-static parent_class).

Original commit message from CVS:
* ext/ogg/gstogmparse.c:
* gst/debug/gstnavigationtest.c:
Die, thou faulty symbol pollutors (non-static parent_class).

19 years agoext/mplex/gstmplexibitstream.cc: Fix event handling (#165525).
Ronald S. Bultje [Tue, 8 Feb 2005 18:51:24 +0000 (18:51 +0000)]
ext/mplex/gstmplexibitstream.cc: Fix event handling (#165525).

Original commit message from CVS:
* ext/mplex/gstmplexibitstream.cc:
Fix event handling (#165525).

19 years agoAdd missing endianness to template (fixes #165509).
Ronald S. Bultje [Tue, 8 Feb 2005 15:03:41 +0000 (15:03 +0000)]
Add missing endianness to template (fixes #165509).

Original commit message from CVS:
* ext/mikmod/gstmikmod.c:
* gst/modplug/gstmodplug.cc:
Add missing endianness to template (fixes #165509).

19 years agogst/asfdemux/gstasfdemux.c: Fix wrong order of reading of optional bytes (#165290).
Ronald S. Bultje [Tue, 8 Feb 2005 13:38:11 +0000 (13:38 +0000)]
gst/asfdemux/gstasfdemux.c: Fix wrong order of reading of optional bytes (#165290).

Original commit message from CVS:
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_handle_data):
Fix wrong order of reading of optional bytes (#165290).

19 years agoext/alsa/gstalsasink.c: Implement FILLER event awareness.
Ronald S. Bultje [Tue, 8 Feb 2005 13:06:41 +0000 (13:06 +0000)]
ext/alsa/gstalsasink.c: Implement FILLER event awareness.

Original commit message from CVS:
* ext/alsa/gstalsasink.c: (gst_alsa_sink_check_event):
Implement FILLER event awareness.

19 years agoext/cdparanoia/gstcdparanoia.c: Fix track calculations (#166208).
Ronald S. Bultje [Tue, 8 Feb 2005 11:28:54 +0000 (11:28 +0000)]
ext/cdparanoia/gstcdparanoia.c: Fix track calculations (#166208).

Original commit message from CVS:
* ext/cdparanoia/gstcdparanoia.c: (cdparanoia_convert):
Fix track calculations (#166208).

19 years agoext/libpng/: Fix byte-order, use proper fixed caps. Fixes #164197.
Ronald S. Bultje [Tue, 8 Feb 2005 11:11:20 +0000 (11:11 +0000)]
ext/libpng/: Fix byte-order, use proper fixed caps. Fixes #164197.

Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* ext/libpng/gstpngdec.c: (gst_pngdec_init), (gst_pngdec_chain):
* ext/libpng/gstpngenc.c:
Fix byte-order, use proper fixed caps. Fixes #164197.

19 years agoconfigure.ac: Add dvdlpcmdec
Jan Schmidt [Tue, 8 Feb 2005 11:08:15 +0000 (11:08 +0000)]
configure.ac: Add dvdlpcmdec

Original commit message from CVS:

* configure.ac:
Add dvdlpcmdec

* ext/mpeg2dec/gstmpeg2dec.c: (gst_mpeg2dec_reset),
(free_all_buffers), (gst_mpeg2dec_alloc_buffer):
Don't push buffers if the src pad isn't negotiated yet.

* gst/audioconvert/gstaudioconvert.c:
(gst_audio_convert_buffer_to_default_format),
(gst_audio_convert_buffer_from_default_format):
Add support for 24-bit width.

* gst/dvdlpcmdec/.cvsignore:
* gst/dvdlpcmdec/Makefile.am:
* gst/dvdlpcmdec/gstdvdlpcmdec.c: (gst_dvdlpcmdec_get_type),
(gst_dvdlpcmdec_base_init), (gst_dvdlpcmdec_class_init),
(gst_dvdlpcm_reset), (gst_dvdlpcmdec_init), (gst_dvdlpcmdec_link),
(gst_dvdlpcmdec_chain), (gst_dvdlpcmdec_change_state),
(plugin_init):
* gst/dvdlpcmdec/gstdvdlpcmdec.h:
New decoder for rearranging DVD LPCM into our audio/x-raw-int
format. Needs support for the channels maps if someone can find
a DVD LPCM track with > 2 channels.

* gst/mpegstream/gstdvddemux.c: (gst_dvd_demux_handle_dvd_event),
(gst_dvd_demux_send_discont), (gst_dvd_demux_handle_discont),
(gst_dvd_demux_get_audio_stream), (gst_dvd_demux_process_private):
* gst/mpegstream/gstdvddemux.h:
* gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_send_discont),
(gst_mpeg_demux_new_output_pad), (gst_mpeg_demux_init_stream),
(gst_mpeg_demux_send_subbuffer), (gst_mpeg_demux_handle_src_query):
* gst/mpegstream/gstmpegdemux.h:
* gst/mpegstream/gstmpegparse.c: (gst_mpeg_parse_reset),
(gst_mpeg_parse_parse_packhead), (gst_mpeg_parse_loop),
(gst_mpeg_parse_get_rate), (gst_mpeg_parse_convert_src),
(gst_mpeg_parse_handle_src_query),
(gst_mpeg_parse_handle_src_event):
Use audio/x-dvd-lpcm for LPCM output.
Add DTS output.

19 years agogst/alpha/gstalphacolor.c: Add BGRA handling (#165736).
Ronald S. Bultje [Tue, 8 Feb 2005 11:02:58 +0000 (11:02 +0000)]
gst/alpha/gstalphacolor.c: Add BGRA handling (#165736).

Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* gst/alpha/gstalphacolor.c: (gst_alpha_color_sink_link),
(transform_rgb), (transform_bgr), (gst_alpha_color_chain):
Add BGRA handling (#165736).

19 years agogst/law/: Fix caps memleaks (#166600).
Ronald S. Bultje [Tue, 8 Feb 2005 10:58:13 +0000 (10:58 +0000)]
gst/law/: Fix caps memleaks (#166600).

Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* gst/law/alaw-decode.c: (alawdec_link):
* gst/law/alaw-encode.c: (alawenc_link):
* gst/law/mulaw-decode.c: (mulawdec_link):
* gst/law/mulaw-encode.c: (mulawenc_link):
Fix caps memleaks (#166600).

19 years agoInclude "_stdint.h" instead of <stdint.h>. Fixes build on systems that do not have...
Tim-Philipp Müller [Tue, 8 Feb 2005 10:37:43 +0000 (10:37 +0000)]
Include "_stdint.h" instead of <stdint.h>. Fixes build on systems that do not have stdint.h, like Solaris 9 (fixes #1...

Original commit message from CVS:
Include "_stdint.h" instead of <stdint.h>. Fixes build on systems that do not have stdint.h, like Solaris 9 (fixes #166631).

19 years agosys/: Clear window on PAUSED->READY instead of READY->PAUSED. Stop
Ronald S. Bultje [Sat, 5 Feb 2005 23:01:59 +0000 (23:01 +0000)]
sys/: Clear window on PAUSED->READY instead of READY->PAUSED. Stop

Original commit message from CVS:
* sys/ximage/ximagesink.c: (gst_ximagesink_change_state):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_xwindow_clear),
(gst_xvimagesink_change_state):
Clear window on PAUSED->READY instead of READY->PAUSED. Stop
Xv video (and thereby regenerate Xv colourkey) in clear() so
that PLAY -> READY -> PLAY works (fixes #162504).

19 years agosys/v4l/gstv4lmjpegsrc.c: Switch to list instead of range, since MJPEG-devices really...
Ronald S. Bultje [Sat, 5 Feb 2005 16:18:15 +0000 (16:18 +0000)]
sys/v4l/gstv4lmjpegsrc.c: Switch to list instead of range, since MJPEG-devices really just support decimations, not a...

Original commit message from CVS:
* sys/v4l/gstv4lmjpegsrc.c: (gst_v4lmjpegsrc_getcaps):
Switch to list instead of range, since MJPEG-devices really just
support decimations, not any size.

19 years agoext/mpeg2dec/gstmpeg2dec.*: The libmpeg2 user-allocated buffer management is awkward...
Jan Schmidt [Sat, 5 Feb 2005 07:36:01 +0000 (07:36 +0000)]
ext/mpeg2dec/gstmpeg2dec.*: The libmpeg2 user-allocated buffer management is awkward, to say the least. Hopefully thi...

Original commit message from CVS:
* ext/mpeg2dec/gstmpeg2dec.c: (gst_mpeg2dec_open_decoder),
(gst_mpeg2dec_reset), (free_all_buffers),
(gst_mpeg2dec_alloc_buffer), (handle_sequence):
* ext/mpeg2dec/gstmpeg2dec.h:
The libmpeg2 user-allocated buffer management is awkward,
to say the least. Hopefully this fixes things.

19 years agogst/audioconvert/bufferframesconvert.c
Andy Wingo [Fri, 4 Feb 2005 15:40:38 +0000 (15:40 +0000)]
gst/audioconvert/bufferframesconvert.c

Original commit message from CVS:
2005-02-04  Andy Wingo  <wingo@pobox.com>

* gst/audioconvert/bufferframesconvert.c
(buffer_frames_convert_fixate): New function, fixates to 256
frames per buffer by default. (Much better than 1.)
(buffer_frames_convert_init): Set the fixate function for both src
and sink pad.
(buffer_frames_convert_link): After success setting nonfixed caps,
get the negotiated caps so we can know how many buffer-frames it
will be. No idea how this worked at all before.

19 years agoext/mpeg2dec/gstmpeg2dec.*: Rearrange buffer tracking and refcounting and refactor...
Jan Schmidt [Fri, 4 Feb 2005 13:43:27 +0000 (13:43 +0000)]
ext/mpeg2dec/gstmpeg2dec.*: Rearrange buffer tracking and refcounting and refactor a little for readability.

Original commit message from CVS:
* ext/mpeg2dec/gstmpeg2dec.c: (gst_mpeg2dec_init),
(gst_mpeg2dec_close_decoder), (put_buffer), (check_buffer),
(free_buffer), (free_all_buffers), (gst_mpeg2dec_alloc_buffer),
(handle_sequence), (handle_picture):
* ext/mpeg2dec/gstmpeg2dec.h:
Rearrange buffer tracking and refcounting and refactor
a little for readability.

19 years agosys/v4l/: Add new v4ljpegsrc for handling the ov51x hacky "I'll give you jpeg inside...
Jan Schmidt [Thu, 3 Feb 2005 18:23:17 +0000 (18:23 +0000)]
sys/v4l/: Add new v4ljpegsrc for handling the ov51x hacky "I'll give you jpeg inside rgb frames" driver.

Original commit message from CVS:
* sys/v4l/gstv4l.c: (plugin_init):
* sys/v4l/gstv4ljpegsrc.c: (gst_v4ljpegsrc_get_type),
(gst_v4ljpegsrc_base_init), (gst_v4ljpegsrc_class_init),
(gst_v4ljpegsrc_init), (gst_v4ljpegsrc_src_link),
(gst_v4ljpegsrc_getcaps), (gst_v4ljpegsrc_get):
* sys/v4l/gstv4ljpegsrc.h:
* sys/v4l/gstv4lsrc.c: (gst_v4lsrc_open), (gst_v4lsrc_src_link):
* sys/v4l/v4l_calls.h:
* sys/v4l/v4lsrc_calls.c: (gst_v4lsrc_palette_name),
(gst_v4lsrc_get_fps):
* sys/v4l/v4lsrc_calls.h:
Add new v4ljpegsrc for handling the ov51x hacky "I'll give
you jpeg inside rgb frames" driver.
Don't error in the v4lsrc link function, just return
REFUSED.

19 years agosys/qcam/gstqcamsrc.c: Use GST_ELEMENT_ERROR, not g_warning, if open failed.
Ronald S. Bultje [Thu, 3 Feb 2005 12:15:59 +0000 (12:15 +0000)]
sys/qcam/gstqcamsrc.c: Use GST_ELEMENT_ERROR, not g_warning, if open failed.

Original commit message from CVS:
* sys/qcam/gstqcamsrc.c: (gst_qcamsrc_change_state),
(gst_qcamsrc_open):
Use GST_ELEMENT_ERROR, not g_warning, if open failed.

19 years agogst/qtdemux/qtdemux.c: Change caps on MJPEG-B so it doesn't interfere with MJPEG...
Ronald S. Bultje [Wed, 2 Feb 2005 17:22:59 +0000 (17:22 +0000)]
gst/qtdemux/qtdemux.c: Change caps on MJPEG-B so it doesn't interfere with MJPEG/JPEG.

Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (qtdemux_video_caps):
Change caps on MJPEG-B so it doesn't interfere with MJPEG/JPEG.

19 years agoext/raw1394/gstdv1394src.c: Reset negotiated state on PAUSED->READY.
Ronald S. Bultje [Wed, 2 Feb 2005 16:59:23 +0000 (16:59 +0000)]
ext/raw1394/gstdv1394src.c: Reset negotiated state on PAUSED->READY.

Original commit message from CVS:
* ext/raw1394/gstdv1394src.c: (gst_dv1394src_change_state):
Reset negotiated state on PAUSED->READY.

19 years agoconfigure.ac: Put DEFAULT_AUDIOSINK in config.h and use whereever possible. (Fixes...
David Schleef [Wed, 2 Feb 2005 08:14:01 +0000 (08:14 +0000)]
configure.ac: Put DEFAULT_AUDIOSINK in config.h and use whereever possible.  (Fixes #165997)

Original commit message from CVS:
* configure.ac: Put DEFAULT_AUDIOSINK in config.h and use
whereever possible.  (Fixes #165997)
* examples/capsfilter/capsfilter1.c: (main):
* examples/dynparams/filter.c: (create_ui):
* examples/seeking/cdparanoia.c: (get_track_info), (main):
* examples/seeking/chained.c: (main):
* examples/seeking/seek.c: (make_mod_pipeline), (make_dv_pipeline),
(make_wav_pipeline), (make_flac_pipeline), (make_sid_pipeline),
(make_vorbis_pipeline), (make_mp3_pipeline), (make_avi_pipeline),
(make_mpeg_pipeline), (make_mpegnt_pipeline):
* examples/seeking/spider_seek.c: (make_spider_pipeline):
* examples/switch/switcher.c: (main):
* ext/dv/demo-play.c: (main):
* ext/faad/gstfaad.c: (gst_faad_change_state):
* ext/mad/gstmad.c: (gst_mad_chain):
* ext/smoothwave/demo-osssrc.c: (main):
* gst-libs/gst/gconf/gconf.c: (gst_gconf_set_string),
(gst_gconf_render_bin_from_description),
(gst_gconf_get_default_audio_sink),
(gst_gconf_get_default_video_sink),
(gst_gconf_get_default_audio_src),
(gst_gconf_get_default_video_src),
(gst_gconf_get_default_visualization_element):
* gst/level/demo.c: (main):
* gst/level/plot.c: (main):
* gst/playback/gstplaybin.c: (gen_video_element),
(gen_audio_element):
* gst/playback/test.c: (gen_video_element), (gen_audio_element):
* gst/playondemand/demo-mp3.c: (setup_pipeline):
* gst/sine/demo-dparams.c: (main):
* gst/spectrum/demo-osssrc.c: (main):
* gst/speed/demo-mp3.c: (main):
* gst/volume/demo.c: (main):
* testsuite/embed/embed.c: (main):

19 years agogst/tcp/: Don't leak the hostname when shutting down.
Jan Schmidt [Wed, 2 Feb 2005 06:26:15 +0000 (06:26 +0000)]
gst/tcp/: Don't leak the hostname when shutting down.

Original commit message from CVS:
* gst/tcp/gsttcpclientsink.c: (gst_tcpclientsink_class_init),
(gst_tcpclientsink_finalize):
* gst/tcp/gsttcpclientsrc.c: (gst_tcpclientsrc_class_init),
(gst_tcpclientsrc_finalize):
* gst/tcp/gsttcpserversink.c: (gst_tcpserversink_class_init),
(gst_tcpserversink_init), (gst_tcpserversink_finalize):
* gst/tcp/gsttcpserversrc.c: (gst_tcpserversrc_class_init),
(gst_tcpserversrc_init), (gst_tcpserversrc_finalize):
Don't leak the hostname when shutting down.
In tcpserversrc, take a copy of the default hostname.

19 years agoext/raw1394/gstdv1394src.c: Set caps to systemstream=TRUE.
Ronald S. Bultje [Tue, 1 Feb 2005 22:06:17 +0000 (22:06 +0000)]
ext/raw1394/gstdv1394src.c: Set caps to systemstream=TRUE.

Original commit message from CVS:
* ext/raw1394/gstdv1394src.c: (gst_dv1394src_iso_receive):
Set caps to systemstream=TRUE.

19 years agotestsuite/Makefile.am: Fix more OSX buildbots.
Ronald S. Bultje [Tue, 1 Feb 2005 18:13:20 +0000 (18:13 +0000)]
testsuite/Makefile.am: Fix more OSX buildbots.

Original commit message from CVS:
* testsuite/Makefile.am:
Fix more OSX buildbots.

19 years agoext/mpeg2dec/gstmpeg2dec.c: Don't send things to NULL PAD_PEERs
Jan Schmidt [Tue, 1 Feb 2005 16:40:09 +0000 (16:40 +0000)]
ext/mpeg2dec/gstmpeg2dec.c: Don't send things to NULL PAD_PEERs

Original commit message from CVS:
* ext/mpeg2dec/gstmpeg2dec.c:
Don't send things to NULL PAD_PEERs

* gst/deinterlace/gstdeinterlace.c: (gst_deinterlace_chain):
Copy-on-write the incoming buffer.

* gst/mpegstream/gstdvddemux.h:
* gst/mpegstream/gstmpegclock.h:
* gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_parse_syshead),
(normal_seek), (gst_mpeg_demux_handle_src_event):
* gst/mpegstream/gstmpegdemux.h:
* gst/mpegstream/gstmpegpacketize.h:
* gst/mpegstream/gstmpegparse.c:
(gst_mpeg_parse_update_streaminfo), (gst_mpeg_parse_reset),
(gst_mpeg_parse_handle_discont), (gst_mpeg_parse_parse_packhead),
(gst_mpeg_parse_loop), (gst_mpeg_parse_get_rate),
(gst_mpeg_parse_convert_src), (gst_mpeg_parse_handle_src_query),
(gst_mpeg_parse_handle_src_event), (gst_mpeg_parse_change_state):
* gst/mpegstream/gstmpegparse.h:
* gst/mpegstream/gstrfc2250enc.h:
Various changes to the way time is computed that make seeking and
total time estimation much better here.
Use G_BEGIN/END_DECLS instead of __cplusplus

* gst/videocrop/gstvideocrop.c: (gst_video_crop_chain):
Use gst_buffer_stamp instead of only copying the TIMESTAMP

19 years agogst/subparse/gstsubparse.c: Fix OSX buildbot.
Ronald S. Bultje [Tue, 1 Feb 2005 15:04:07 +0000 (15:04 +0000)]
gst/subparse/gstsubparse.c: Fix OSX buildbot.

Original commit message from CVS:
* gst/subparse/gstsubparse.c:
Fix OSX buildbot.

19 years agofile NOTE was initially added on branch BRANCH-THREADED.
Ronald S. Bultje [Tue, 1 Feb 2005 10:23:22 +0000 (10:23 +0000)]
file NOTE was initially added on branch BRANCH-THREADED.

Original commit message from CVS:
file NOTE was initially added on branch BRANCH-THREADED.

19 years agoSet granulepos and timestamp correctly for streams not starting at 0, taking into...
Tim-Philipp Müller [Mon, 31 Jan 2005 19:23:08 +0000 (19:23 +0000)]
Set granulepos and timestamp correctly for streams not starting at 0, taking into account the initial delay

Original commit message from CVS:
Set granulepos and timestamp correctly for streams not starting at 0, taking into account the initial delay

19 years agoAdd audio/x-dts to audio pad template caps
Tim-Philipp Müller [Mon, 31 Jan 2005 18:39:32 +0000 (18:39 +0000)]
Add audio/x-dts to audio pad template caps

Original commit message from CVS:
Add audio/x-dts to audio pad template caps

19 years agoext/polyp/polypsink.c: Fix silly endianness bug. Add some debugging. Remove float...
David Schleef [Mon, 31 Jan 2005 01:55:03 +0000 (01:55 +0000)]
ext/polyp/polypsink.c: Fix silly endianness bug.  Add some debugging.  Remove float from caps; it doesn't work.  Atte...

Original commit message from CVS:
* ext/polyp/polypsink.c: (gst_polypsink_base_init),
(create_context), (gst_polypsink_link): Fix silly endianness
bug.  Add some debugging.  Remove float from caps; it doesn't
work.  Attempt to get remote audio working.

19 years agogst/qtdemux/qtdemux.c: Add 3IV2 fourcc.
Ronald S. Bultje [Sat, 29 Jan 2005 20:31:46 +0000 (20:31 +0000)]
gst/qtdemux/qtdemux.c: Add 3IV2 fourcc.

Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (qtdemux_video_caps):
Add 3IV2 fourcc.

19 years agogst/avi/gstavidemux.*: Invert DIB images. Fixes #132341.
Ronald S. Bultje [Sat, 29 Jan 2005 15:47:17 +0000 (15:47 +0000)]
gst/avi/gstavidemux.*: Invert DIB images. Fixes #132341.

Original commit message from CVS:
* gst/avi/gstavidemux.c: (gst_avi_demux_add_stream), (swap_line),
(gst_avi_demux_invert), (gst_avi_demux_process_next_entry),
(gst_avi_demux_stream_data):
* gst/avi/gstavidemux.h:
Invert DIB images. Fixes #132341.

19 years agogst/ffmpegcolorspace/gstffmpegcolorspace.c: D'oh, reference the palette data, not...
Ronald S. Bultje [Sat, 29 Jan 2005 15:24:38 +0000 (15:24 +0000)]
gst/ffmpegcolorspace/gstffmpegcolorspace.c: D'oh, reference the palette data, not the palette structure.

Original commit message from CVS:
* gst/ffmpegcolorspace/gstffmpegcolorspace.c:
(gst_ffmpegcsp_chain):
D'oh, reference the palette data, not the palette structure.
Fixes color distortion in #132341.

19 years agogst/videoscale/gstvideoscale.c: PAR can be non-fixed when not provided as argument...
Ronald S. Bultje [Sat, 29 Jan 2005 13:24:33 +0000 (13:24 +0000)]
gst/videoscale/gstvideoscale.c: PAR can be non-fixed when not provided as argument (#162626).

Original commit message from CVS:
* gst/videoscale/gstvideoscale.c: (gst_videoscale_link):
PAR can be non-fixed when not provided as argument (#162626).

19 years agogst/qtdemux/qtdemux.c: Re-apply patch from #142272 that allows non-seekable sources,
Ronald S. Bultje [Sat, 29 Jan 2005 12:55:18 +0000 (12:55 +0000)]
gst/qtdemux/qtdemux.c: Re-apply patch from #142272 that allows non-seekable sources,

Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* gst/qtdemux/qtdemux.c: (gst_qtdemux_change_state),
(gst_qtdemux_loop_header):
Re-apply patch from #142272 that allows non-seekable sources,
re-proposed by Daniel Drake <dsd@gentoo.org>.

19 years agogst/rtp/gstrtpgsmenc.c: Use the src template for creating the src pad (#162330).
Ronald S. Bultje [Sat, 29 Jan 2005 12:43:55 +0000 (12:43 +0000)]
gst/rtp/gstrtpgsmenc.c: Use the src template for creating the src pad (#162330).

Original commit message from CVS:
* gst/rtp/gstrtpgsmenc.c: (gst_rtpgsmenc_init):
Use the src template for creating the src pad (#162330).

19 years agoUpdate to 1.1 API (#165446).
Ronald S. Bultje [Sat, 29 Jan 2005 01:28:34 +0000 (01:28 +0000)]
Update to 1.1 API (#165446).

Original commit message from CVS:
* configure.ac:
* ext/musepack/Makefile.am:
* ext/musepack/gstmusepackdec.c: (gst_musepackdec_class_init),
(gst_musepackdec_init), (gst_musepackdec_dispose),
(gst_musepackdec_src_query), (gst_musepackdec_src_convert),
(gst_musepack_stream_init), (gst_musepackdec_loop),
(gst_musepackdec_change_state):
* ext/musepack/gstmusepackdec.cpp:
* ext/musepack/gstmusepackdec.h:
* ext/musepack/gstmusepackreader.c: (gst_musepack_reader_peek),
(gst_musepack_reader_read), (gst_musepack_reader_seek),
(gst_musepack_reader_tell), (gst_musepack_reader_get_size),
(gst_musepack_reader_canseek), (gst_musepack_init_reader):
* ext/musepack/gstmusepackreader.cpp:
* ext/musepack/gstmusepackreader.h:
Update to 1.1 API (#165446).

19 years agoext/Makefile.am: Unbreak buildbot.
Ronald S. Bultje [Fri, 28 Jan 2005 19:59:40 +0000 (19:59 +0000)]
ext/Makefile.am: Unbreak buildbot.

Original commit message from CVS:
* ext/Makefile.am:
Unbreak buildbot.

19 years agoext/dv/gstdvdec.c: Change the pixel aspect ratio of dvdec output to reflect a differe...
Andy Wingo [Fri, 28 Jan 2005 17:35:13 +0000 (17:35 +0000)]
ext/dv/gstdvdec.c: Change the pixel aspect ratio of dvdec output to reflect a different dubious internet source. Add ...

Original commit message from CVS:
2005-01-28  Andy Wingo  <wingo@pobox.com>

* ext/dv/gstdvdec.c: Change the pixel aspect ratio of dvdec output
to reflect a different dubious internet source. Add a reference
and some commentary.

19 years agogst/playback/gststreamselector.*: Be more selective when we're redoing caps negotiati...
Ronald S. Bultje [Fri, 28 Jan 2005 13:44:04 +0000 (13:44 +0000)]
gst/playback/gststreamselector.*: Be more selective when we're redoing caps negotiation from within the chain functio...

Original commit message from CVS:
* gst/playback/gststreamselector.c: (gst_stream_selector_init),
(gst_stream_selector_get_caps), (gst_stream_selector_chain):
* gst/playback/gststreamselector.h:
Be more selective when we're redoing caps negotiation from
within the chain function on a stream change.

19 years agoAdd support for AMR-NB (mobile phone audio format; #155163, #163286).
Ronald S. Bultje [Fri, 28 Jan 2005 10:36:12 +0000 (10:36 +0000)]
Add support for AMR-NB (mobile phone audio format; #155163, #163286).

Original commit message from CVS:
* configure.ac:
* ext/Makefile.am:
* ext/amrnb/Makefile.am:
* ext/amrnb/amrnb.c: (plugin_init):
* ext/amrnb/amrnbdec.c: (gst_amrnbdec_get_type),
(gst_amrnbdec_base_init), (gst_amrnbdec_class_init),
(gst_amrnbdec_init), (gst_amrnbdec_link), (gst_amrnbdec_chain),
(gst_amrnbdec_state_change):
* ext/amrnb/amrnbdec.h:
* ext/amrnb/amrnbparse.c: (gst_amrnbparse_get_type),
(gst_amrnbparse_base_init), (gst_amrnbparse_class_init),
(gst_amrnbparse_init), (gst_amrnbparse_formats),
(gst_amrnbparse_querytypes), (gst_amrnbparse_query),
(gst_amrnbparse_handle_event), (gst_amrnbparse_reserve),
(gst_amrnbparse_loop), (gst_amrnbparse_state_change):
* ext/amrnb/amrnbparse.h:
Add support for AMR-NB (mobile phone audio format; #155163, #163286).
* gst/typefind/gsttypefindfunctions.c: (plugin_init):
Add AMR-NB/-WB raw formats.
* ext/alsa/gstalsa.c: (gst_alsa_link):
Keep valid time when changing format.
* gst/qtdemux/qtdemux.c: (gst_qtdemux_loop_header),
(qtdemux_parse_trak):
Add some more format-specific options (#140141, #143555, #155163).

19 years agogst/matroska/matroska-demux.c: Fix logic error in timing of subtitle stream synchroni...
Ronald S. Bultje [Thu, 27 Jan 2005 23:30:17 +0000 (23:30 +0000)]
gst/matroska/matroska-demux.c: Fix logic error in timing of subtitle stream synchronization.

Original commit message from CVS:
* gst/matroska/matroska-demux.c:
(gst_matroska_demux_parse_blockgroup):
Fix logic error in timing of subtitle stream synchronization.
* gst/typefind/gsttypefindfunctions.c: (qt_type_find):
Add skip-chunk, which is found in kodak-camera streams.

19 years agoadding vietnamese translation
Thomas Vander Stichele [Thu, 27 Jan 2005 16:44:02 +0000 (16:44 +0000)]
adding vietnamese translation

Original commit message from CVS:
adding vietnamese translation

19 years agogst/playback/gstdecodebin.c: Use realpad for signal.
Ronald S. Bultje [Thu, 27 Jan 2005 14:32:33 +0000 (14:32 +0000)]
gst/playback/gstdecodebin.c: Use realpad for signal.

Original commit message from CVS:
* gst/playback/gstdecodebin.c: (try_to_link_1):
Use realpad for signal.

19 years agoext/mad/gstid3demuxbin.c: Fix category so decodebin picks it up.
Ronald S. Bultje [Thu, 27 Jan 2005 13:37:38 +0000 (13:37 +0000)]
ext/mad/gstid3demuxbin.c: Fix category so decodebin picks it up.

Original commit message from CVS:
* ext/mad/gstid3demuxbin.c: (gst_id3demux_bin_base_init):
Fix category so decodebin picks it up.

19 years agoext/mad/: Add id3demuxbin (which is a simple bin consisting of id3demux and typefind...
Ronald S. Bultje [Thu, 27 Jan 2005 10:29:19 +0000 (10:29 +0000)]
ext/mad/: Add id3demuxbin (which is a simple bin consisting of id3demux and typefind), take over rank from id3demux, ...

Original commit message from CVS:
* ext/mad/Makefile.am:
* ext/mad/gstid3demuxbin.c: (gst_id3demux_bin_get_type),
(gst_id3demux_bin_base_init), (gst_id3demux_bin_class_init),
(gst_id3demux_bin_init), (gst_id3demux_bin_remove_pad),
(found_type), (gst_id3demux_bin_change_state):
* ext/mad/gstid3tag.c: (gst_id3_tag_add_src_pad),
(gst_id3_tag_init), (gst_id3_tag_handle_event),
(gst_id3_tag_src_link), (gst_id3_tag_chain),
(gst_id3_tag_change_state), (plugin_init):
* ext/mad/gstmad.h:
Add id3demuxbin (which is a simple bin consisting of id3demux
and typefind), take over rank from id3demux, remove typefind
code from id3demux. Makes all broken mp3s that I know of work,
and thereby fixes #152688.

19 years agoAllow seeks on audio pad, make mad forward those (#164826).
Ronald S. Bultje [Thu, 27 Jan 2005 10:14:22 +0000 (10:14 +0000)]
Allow seeks on audio pad, make mad forward those (#164826).

Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* ext/mad/gstmad.c: (gst_mad_src_event):
* gst/avi/gstavidemux.c: (gst_avi_demux_handle_src_event):
Allow seeks on audio pad, make mad forward those (#164826).
* gst/audioscale/gstaudioscale.c: (gst_audioscale_chain):
Set duration (#165335).

19 years agogst/asfdemux/gstasfdemux.*: Improve metadata display, e.g. if the metadata comes...
Ronald S. Bultje [Thu, 27 Jan 2005 00:56:10 +0000 (00:56 +0000)]
gst/asfdemux/gstasfdemux.*: Improve metadata display, e.g. if the metadata comes before the streams are loaded (which...

Original commit message from CVS:
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_init),
(gst_asf_demux_commit_taglist), (gst_asf_demux_process_comment),
(gst_asf_demux_process_ext_content_desc),
(gst_asf_demux_change_state), (gst_asf_demux_add_audio_stream),
(gst_asf_demux_add_video_stream), (gst_asf_demux_setup_pad):
* gst/asfdemux/gstasfdemux.h:
Improve metadata display, e.g. if the metadata comes before the
streams are loaded (which is perfectly valid).

19 years agotools/gst-launch-ext-m.m: Fix AVI/ASF pipelines (#165340).
Ronald S. Bultje [Wed, 26 Jan 2005 23:08:23 +0000 (23:08 +0000)]
tools/gst-launch-ext-m.m: Fix AVI/ASF pipelines (#165340).

Original commit message from CVS:
* tools/gst-launch-ext-m.m:
Fix AVI/ASF pipelines (#165340).

19 years agoext/cairo/gsttextoverlay.c: include string.h and strings.h to fix build failure...
Amaury Jacquot [Wed, 26 Jan 2005 14:12:35 +0000 (14:12 +0000)]
ext/cairo/gsttextoverlay.c: include  string.h and strings.h to fix build failure on amd64

Original commit message from CVS:
2005-01-26  Amaury Jacquot  <sxpert@esitcom.org>
* ext/cairo/gsttextoverlay.c: include  string.h and strings.h to fix
build failure on amd64

19 years agoCheck environment variables GST_ID3V2_TAG_ENCODING,
Tim-Philipp Müller [Wed, 26 Jan 2005 12:38:02 +0000 (12:38 +0000)]
Check environment variables GST_ID3V2_TAG_ENCODING,

Original commit message from CVS:
Check environment variables GST_ID3V2_TAG_ENCODING,
GST_ID3_TAG_ENCODING and GST_TAG_ENCODING for a colon-separated
list of character encodings to force interpretation of non-unicode
strings stored in an ID3v2 tag to a particular encoding. If none
is specified, try to use current locale's encoding, then fall back
to ISO-8859-1 (which will always succeed). (Resolves #149274)

Check environment variables GST_ID3V1_TAG_ENCODING,
GST_ID3_TAG_ENCODING and GST_TAG_ENCODING for a colon-separated
list of character encodings to use in case a string encountered
in an ID3v1 tag is not valid UTF-8 already. If no encoding is
specified, try to use the current locale's encoding, then fall
back to ISO-8859-1 (which will always succeed).

19 years agoext/mad/gstmad.c: - on half framerate, compute the rate in advance so the comparisons...
Benjamin Otte [Tue, 25 Jan 2005 21:48:46 +0000 (21:48 +0000)]
ext/mad/gstmad.c: - on half framerate, compute the rate in advance so the comparisons don't compare wrong values

Original commit message from CVS:
* ext/mad/gstmad.c: (gst_mad_check_caps_reset), (gst_mad_chain):
- on half framerate, compute the rate in advance so the comparisons
don't compare wrong values
- don't use mad_synth/frame_mute anymore, this mirrors mad_decoder
behaviour
- don't use mad_header_decode anymore, mad_frame_decode does that
automatically
- when getting rid of consumed bytes, reset the stream's skiplen
(fixes #163867)

19 years agogst/mpegstream/gstmpegparse.c: (gst_mpeg_parse_class_init)
Jan Schmidt [Tue, 25 Jan 2005 18:26:45 +0000 (18:26 +0000)]
gst/mpegstream/gstmpegparse.c: (gst_mpeg_parse_class_init)

Original commit message from CVS:

* gst/mpegstream/gstmpegparse.c: (gst_mpeg_parse_class_init)
Use 1/2 a second for default max_discont, as PES streams from DVB
seem to have larger spacings in the SCR.
Fix a typo.

19 years agogst/playback/gstplaybasebin.c: Notify delayed stream-info availability.
Ronald S. Bultje [Tue, 25 Jan 2005 16:10:33 +0000 (16:10 +0000)]
gst/playback/gstplaybasebin.c: Notify delayed stream-info availability.

Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (group_commit):
Notify delayed stream-info availability.

19 years agoext/a52dec/gsta52dec.c: Add some debug output. Check that a discont has a valid time...
Jan Schmidt [Tue, 25 Jan 2005 15:34:09 +0000 (15:34 +0000)]
ext/a52dec/gsta52dec.c: Add some debug output. Check that a discont has a valid time associated.

Original commit message from CVS:
* ext/a52dec/gsta52dec.c: (gst_a52dec_push),
(gst_a52dec_handle_event), (gst_a52dec_chain):
Add some debug output. Check that a discont has a valid
time associated.
* ext/alsa/gstalsasink.c: (gst_alsa_sink_check_event),
(gst_alsa_sink_loop):
Ignore TAG events. A little extra debug for broken timestamps.
* ext/dvdnav/dvdnavsrc.c: (dvdnavsrc_init), (dvdnavsrc_loop),
(dvdnavsrc_change_state):
Ensure we send a discont to engage the link before we send any
other events.
* ext/dvdread/dvdreadsrc.c: (dvdreadsrc_init),
(dvdreadsrc_finalize), (_close), (_open), (_seek_title),
(_seek_chapter), (seek_sector), (dvdreadsrc_get),
(dvdreadsrc_uri_get_uri), (dvdreadsrc_uri_set_uri):
Handle URI of the form dvd://title[,chapter[,angle]]. Currently only
dvd://title works in totem because typefinding sends a seek that ends
up going back to chapter 1 regardless.
* ext/mpeg2dec/gstmpeg2dec.c:
* ext/mpeg2dec/gstmpeg2dec.h:
Output correct timestamps and handle disconts.
* ext/ogg/gstoggdemux.c: (get_relative):
Small guard against a null dereference.
* ext/pango/gsttextoverlay.c: (gst_textoverlay_finalize),
(gst_textoverlay_set_property):
Free memory when done. Don't call gst_event_filler_get_duration on
EOS events. Use GST_LOG and GST_WARNING instead of g_message and
g_warning.
* ext/smoothwave/gstsmoothwave.c: (gst_smoothwave_init),
(draw_line), (gst_smoothwave_dispose), (gst_sw_sinklink),
(gst_sw_srclink), (gst_smoothwave_chain):
Draw solid lines, prettier colours.
* gst/mpeg2sub/gstmpeg2subt.c: (gst_mpeg2subt_init):
Add a default palette that'll work for some movies.
* gst/mpegstream/gstdvddemux.c: (gst_dvd_demux_init),
(gst_dvd_demux_handle_dvd_event), (gst_dvd_demux_send_discont),
(gst_dvd_demux_send_subbuffer), (gst_dvd_demux_reset):
* gst/mpegstream/gstdvddemux.h:
* gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_send_discont),
(gst_mpeg_demux_parse_syshead), (gst_mpeg_demux_parse_pes):
* gst/mpegstream/gstmpegparse.c: (gst_mpeg_parse_init),
(gst_mpeg_parse_handle_discont), (gst_mpeg_parse_parse_packhead):
* gst/mpegstream/gstmpegparse.h:
Use PTM/NAV events when for timestamp adjustment when connected to
dvdnavsrc. Don't use many discont events where one suffices.
* gst/playback/gstplaybasebin.c: (group_destroy),
(gen_preroll_element), (gst_play_base_bin_add_element):
* gst/playback/gstplaybasebin.h:
Make sure we remove subtitles from the same bin we put them in.
* gst/subparse/gstsubparse.c: (convert_encoding), (parse_subrip),
(gst_subparse_buffer_format_autodetect),
(gst_subparse_change_state):
Fix some memleaks and invalid accesses.
* gst/typefind/gsttypefindfunctions.c: (ogganx_type_find),
(oggskel_type_find), (cmml_type_find), (plugin_init):
Some typefind functions for Annodex v3.0 files
* gst/wavparse/gstwavparse.h:
GstRiffReadClass is the correct parent class.

19 years agogst-libs/gst/riff/riff-media.c: Add extradata to huffyuv (fixes #165013).
Ronald S. Bultje [Tue, 25 Jan 2005 15:17:23 +0000 (15:17 +0000)]
gst-libs/gst/riff/riff-media.c: Add extradata to huffyuv (fixes #165013).

Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c:
(gst_riff_create_video_caps_with_data):
Add extradata to huffyuv (fixes #165013).
* gst-libs/gst/riff/riff-read.c:
(gst_riff_read_strf_vids_with_data):
Fix extradata extraction if it is in the chunk size.

19 years agogst/effectv/gstquark.c: Memory free'ing location fix (#164708).
Ronald S. Bultje [Tue, 25 Jan 2005 12:17:15 +0000 (12:17 +0000)]
gst/effectv/gstquark.c: Memory free'ing location fix (#164708).

Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* gst/effectv/gstquark.c: (gst_quarktv_class_init),
(gst_quarktv_change_state), (gst_quarktv_dispose):
Memory free'ing location fix (#164708).

19 years agogst/playback/gstplaybasebin.c: Don't block for streams.
Ronald S. Bultje [Tue, 25 Jan 2005 10:51:48 +0000 (10:51 +0000)]
gst/playback/gstplaybasebin.c: Don't block for streams.

Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (group_commit),
(gen_preroll_element), (probe_triggered), (gen_source_element),
(setup_source), (gst_play_base_bin_change_state),
(gst_play_base_bin_add_element):
Don't block for streams.
* gst/playback/gststreaminfo.c: (stream_info_change_state),
(gst_stream_info_set_mute):
Use gst_pad_set_active_recursive.

19 years agosys/v4l/gstv4lelement.c (gst_v4l_iface_supported): Fix compile for #ifndef HAVE_XVIDEO.
Andy Wingo [Tue, 25 Jan 2005 09:06:19 +0000 (09:06 +0000)]
sys/v4l/gstv4lelement.c (gst_v4l_iface_supported): Fix compile for #ifndef HAVE_XVIDEO.

Original commit message from CVS:
2005-01-25  Andy Wingo  <wingo@pobox.com>

* sys/v4l/gstv4lelement.c (gst_v4l_iface_supported): Fix compile
for #ifndef HAVE_XVIDEO.

19 years agoApply patch from Jeffrey C. Ollie. Fixes rate (now always 8kHz) and adds timestamps
Maciej Katafiasz [Mon, 24 Jan 2005 21:57:15 +0000 (21:57 +0000)]
Apply patch from Jeffrey C. Ollie. Fixes rate (now always 8kHz) and adds timestamps

Original commit message from CVS:
Apply patch from Jeffrey C. Ollie. Fixes rate (now always 8kHz) and
adds timestamps