platform/upstream/gstreamer.git
18 years agoupdate spec file with latest changes
Christian Schaller [Wed, 15 Nov 2006 16:19:56 +0000 (16:19 +0000)]
update spec file with latest changes

Original commit message from CVS:
update spec file with latest changes

18 years agoext/wavpack/: Some small clean-ups: use enums instead of hard-coded numbers, const...
Sebastian Dröge [Wed, 15 Nov 2006 12:35:46 +0000 (12:35 +0000)]
ext/wavpack/: Some small clean-ups: use enums instead of hard-coded numbers, const-ify element details, re-factor som...

Original commit message from CVS:
Patch by: Sebastian Dröge  <slomo@circular-chaos.org>
* ext/wavpack/gstwavpackdec.c: (gst_wavpack_dec_reset),
(gst_wavpack_dec_init), (gst_wavpack_dec_change_state):
* ext/wavpack/gstwavpackenc.c: (gst_wavpack_enc_base_init),
(gst_wavpack_enc_class_init), (gst_wavpack_enc_reset),
(gst_wavpack_enc_init), (gst_wavpack_enc_set_wp_config),
(gst_wavpack_enc_change_state):
* ext/wavpack/gstwavpackparse.c:
Some small clean-ups: use enums instead of hard-coded numbers,
const-ify element details, re-factor some code into _reset()
functions (#352605).

18 years agoadd missing files from SPEC
Christian Schaller [Tue, 14 Nov 2006 15:04:52 +0000 (15:04 +0000)]
add missing files from SPEC

Original commit message from CVS:
add missing files from SPEC

18 years agosys/dvb/gstdvbsrc.*: Fix minor printf format issue; remove overly paranoid checks...
Tim-Philipp Müller [Tue, 14 Nov 2006 12:33:33 +0000 (12:33 +0000)]
sys/dvb/gstdvbsrc.*: Fix minor printf format issue; remove overly paranoid checks in create function; fix GObject boi...

Original commit message from CVS:
* sys/dvb/gstdvbsrc.c: (gst_dvbsrc_create):
* sys/dvb/gstdvbsrc.h:
Fix minor printf format issue; remove overly paranoid checks in
create function; fix GObject boilerplate macros.

18 years agogst/qtdemux/qtdemux.c: Don't parse extra sample params for raw pcm. Fixes #374914.
Wim Taymans [Tue, 14 Nov 2006 11:43:40 +0000 (11:43 +0000)]
gst/qtdemux/qtdemux.c: Don't parse extra sample params for raw pcm. Fixes #374914.

Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (gst_qtdemux_get_duration),
(gst_qtdemux_handle_src_query), (qtdemux_parse_trak):
Don't parse extra sample params for raw pcm. Fixes #374914.

18 years agotests/check/elements/.cvsignore: Add cdaudio to ignore.
Wim Taymans [Tue, 14 Nov 2006 11:39:39 +0000 (11:39 +0000)]
tests/check/elements/.cvsignore: Add cdaudio to ignore.

Original commit message from CVS:
* tests/check/elements/.cvsignore:
Add cdaudio to ignore.

18 years agoext/Makefile.am: dist cdaudio dir.
Wim Taymans [Tue, 14 Nov 2006 10:52:52 +0000 (10:52 +0000)]
ext/Makefile.am: dist cdaudio dir.

Original commit message from CVS:
* ext/Makefile.am:
dist cdaudio dir.

18 years agoFix cdaudio build.
Wim Taymans [Tue, 14 Nov 2006 10:42:19 +0000 (10:42 +0000)]
Fix cdaudio build.

Original commit message from CVS:
* configure.ac:
* ext/Makefile.am:
Fix cdaudio build.

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

Original commit message from CVS:
give credit

18 years agotests/check/: Added y4m test. Fixes #372243.
Wim Taymans [Tue, 14 Nov 2006 10:25:16 +0000 (10:25 +0000)]
tests/check/: Added y4m test. Fixes #372243.

Original commit message from CVS:
* tests/check/Makefile.am:
* tests/check/elements/y4menc.c: (setup_y4menc), (cleanup_y4menc),
(GST_START_TEST), (y4menc_suite), (main):
Added y4m test. Fixes #372243.

18 years agoconfigure.ac: Enable cdaudio and y4m.
Mark Nauwelaerts [Mon, 13 Nov 2006 18:55:57 +0000 (18:55 +0000)]
configure.ac: Enable cdaudio and y4m.

Original commit message from CVS:
Patch by: Mark Nauwelaerts <manauw at skynet be>
* configure.ac:
Enable cdaudio and y4m.
* gst/y4m/Makefile.am:
* gst/y4m/gsty4mencode.c: (gst_y4m_encode_base_init),
(gst_y4m_encode_class_init), (gst_y4m_encode_init),
(gst_y4m_encode_reset), (gst_y4m_encode_setcaps),
(gst_y4m_encode_get_stream_header),
(gst_y4m_encode_get_frame_header), (gst_y4m_encode_chain),
(gst_y4m_encode_set_property), (gst_y4m_encode_get_property),
(gst_y4m_encode_change_state), (plugin_init):
* gst/y4m/gsty4mencode.h:
Port of y4mencode to 0.10.

18 years agoA little pluggy to make sense out of the random chunks we get from multifilesrc.
David Schleef [Sat, 11 Nov 2006 00:22:24 +0000 (00:22 +0000)]
A little pluggy to make sense out of the random chunks we get from multifilesrc.

Original commit message from CVS:
* configure.ac:
* gst/videoparse/Makefile.am:
* gst/videoparse/gstvideoparse.c:
A little pluggy to make sense out of the random chunks we get
from multifilesrc.

18 years agogst/multifile/Makefile.am: Let's not depend on a file that doesn't exist.
David Schleef [Fri, 10 Nov 2006 19:18:33 +0000 (19:18 +0000)]
gst/multifile/Makefile.am: Let's not depend on a file that doesn't exist.

Original commit message from CVS:
* gst/multifile/Makefile.am:
Let's not depend on a file that doesn't exist.

18 years agogst/multifilesink/: Remove the old one.
David Schleef [Fri, 10 Nov 2006 19:07:43 +0000 (19:07 +0000)]
gst/multifilesink/: Remove the old one.

Original commit message from CVS:
* gst/multifilesink/Makefile.am:
* gst/multifilesink/gstmultifilesink.c:
* gst/multifilesink/gstmultifilesink.h:
* gst/multifilesink/multifilesink.vcproj:
Remove the old one.

18 years agoRevive multifile[src|sink].
David Schleef [Fri, 10 Nov 2006 18:51:10 +0000 (18:51 +0000)]
Revive multifile[src|sink].

Original commit message from CVS:
* configure.ac:
* gst/multifile/Makefile.am:
* gst/multifile/gstmultifile.c:
* gst/multifile/gstmultifilesink.c:
* gst/multifile/gstmultifilesrc.c:
* gst/multifile/multifile.vproj:
Revive multifile[src|sink].

18 years agosys/dvb/gstdvbsrc.c: (gst_dvbsrc_set_property)
Zaheer Abbas Merali [Thu, 9 Nov 2006 14:00:34 +0000 (14:00 +0000)]
sys/dvb/gstdvbsrc.c: (gst_dvbsrc_set_property)

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

* sys/dvb/gstdvbsrc.c: (gst_dvbsrc_set_property)
(gst_dvbsrc_create), (gst_dvbsrc_output_frontend_stats),
(gst_dvbsrc_tune), (gst_dvbsrc_set_pes_filters):
Rename set_pes_filter to set_pes_filters for consistency.
Do run-time pid filtering.

18 years agosys/dvb/gstdvbsrc.c: Do not call output_frontend_stats from a method that does not...
Zaheer Abbas Merali [Wed, 8 Nov 2006 11:27:16 +0000 (11:27 +0000)]
sys/dvb/gstdvbsrc.c: Do not call output_frontend_stats from a method that does not have the gstdvbsrc object.

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

* sys/dvb/gstdvbsrc.c: (read_device):
Do not call output_frontend_stats from a method that does not
have the gstdvbsrc object.
This fixes the build, sorry guys!

18 years agosys/dvb/gstdvbsrc.*: Force PAT to always be in the filter.
Zaheer Abbas Merali [Tue, 7 Nov 2006 14:46:56 +0000 (14:46 +0000)]
sys/dvb/gstdvbsrc.*: Force PAT to always be in the filter.

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

* sys/dvb/gstdvbsrc.c: (read_device), (gst_dvbsrc_create),
(gst_dvbsrc_output_frontend_stats), (gst_dvbsrc_tune),
(gst_dvbsrc_set_pes_filter):
* sys/dvb/gstdvbsrc.h:
Force PAT to always be in the filter.
Try to continue reading after failing 10 times.

18 years agopo/POTFILES.in: add dvbsrc
Thomas Vander Stichele [Sat, 4 Nov 2006 13:26:41 +0000 (13:26 +0000)]
po/POTFILES.in: add dvbsrc

Original commit message from CVS:

* po/POTFILES.in:
add dvbsrc
* sys/dvb/gstdvbsrc.c: (gst_dvbsrc_class_init), (gst_dvbsrc_init),
(gst_dvbsrc_set_property), (gst_dvbsrc_get_property),
(gst_dvbsrc_open_frontend), (gst_dvbsrc_open_dvr),
(gst_dvbsrc_finalize), (read_device), (gst_dvbsrc_create),
(gst_dvbsrc_start), (gst_dvbsrc_frontend_status),
(gst_dvbsrc_tune), (gst_dvbsrc_unset_pes_filters),
(gst_dvbsrc_set_pes_filter):
* sys/dvb/gstdvbsrc.h:
adapter-prefix is a terrible name for a device, so replace it.
strerror should be used immediately after the syscall related to it.
Actually throw a reasonable GST_ELEMENT_ERROR if we fail to open
(pretty easy to trigger by opening the same device twice).
Use _OBJECT macros where it makes sense.
This element is going to need some work before it moves.

18 years agoFix enum nicks; only emit no-more-pads once; add support for very fast encoding mode...
Sebastian Dröge [Thu, 2 Nov 2006 20:13:26 +0000 (20:13 +0000)]
Fix enum nicks; only emit no-more-pads once; add support for very fast encoding mode in upcoming 4.40.0 release (#369...

Original commit message from CVS:
Patch by: Sebastian Dröge <slomo at circular-chaos.org>
* configure.ac:
* ext/wavpack/gstwavpackenc.c: (gst_wavpack_enc_mode_get_type),
(gst_wavpack_enc_correction_mode_get_type),
(gst_wavpack_enc_joint_stereo_mode_get_type),
(gst_wavpack_enc_init), (gst_wavpack_enc_set_wp_config):
Fix enum nicks; only emit no-more-pads once; add support for very
fast encoding mode in upcoming 4.40.0 release (#369539).

18 years agosys/: Wait until the window is created before using it; guard unistd.h includes with...
Sergey Scobich [Wed, 1 Nov 2006 10:19:18 +0000 (10:19 +0000)]
sys/: Wait until the window is created before using it; guard unistd.h includes with HAVE_UNISTD_H. (#366523)

Original commit message from CVS:
Patch by: Sergey Scobich  <sergey dot scobich at gmail com>
* sys/directdraw/gstdirectdrawsink.c:
(gst_directdrawsink_window_thread),
(gst_directdrawsink_create_default_window):
* sys/directdraw/gstdirectdrawsink.h:
* sys/directsound/gstdirectsoundsink.c:
Wait until the window is created before using it; guard unistd.h
includes with HAVE_UNISTD_H. (#366523)
* win32/vs8/libgstdirectdraw.vcproj:
* win32/vs8/libgstdirectsound.vcproj:
Update project files.

18 years agogst/qtdemux/qtdemux.c: Handle unbounded length streams a bit better. Fixes #367696.
Wim Taymans [Tue, 31 Oct 2006 10:31:18 +0000 (10:31 +0000)]
gst/qtdemux/qtdemux.c: Handle unbounded length streams a bit better. Fixes #367696.

Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (gst_qtdemux_get_duration),
(gst_qtdemux_handle_src_query), (qtdemux_parse_tree),
(qtdemux_parse_trak):
Handle unbounded length streams a bit better. Fixes #367696.

18 years agoext/dts/gstdtsdec.c: Fix flow handling and buffer refcounting (gst_pad_push() takes...
Tim-Philipp Müller [Sun, 29 Oct 2006 19:08:01 +0000 (19:08 +0000)]
ext/dts/gstdtsdec.c: Fix flow handling and buffer refcounting (gst_pad_push() takes ownership of the buffer passed to...

Original commit message from CVS:
* ext/dts/gstdtsdec.c: (gst_dtsdec_handle_frame):
Fix flow handling and buffer refcounting (gst_pad_push() takes
ownership of the buffer passed to it, the buffer does not have
to be unreffed no matter what flow value gst_pad_push() returns).

18 years agogst/audioresample/gstaudioresample.c: Another typo fix (#366212).
Tim-Philipp Müller [Sat, 28 Oct 2006 16:00:51 +0000 (16:00 +0000)]
gst/audioresample/gstaudioresample.c: Another typo fix (#366212).

Original commit message from CVS:
* gst/audioresample/gstaudioresample.c: (gst_audioresample_init):
Another typo fix (#366212).

18 years agoFixed bug for files with timestamps less than 0.
Edgard Lima [Thu, 26 Oct 2006 14:07:08 +0000 (14:07 +0000)]
Fixed bug for files with timestamps less than 0.

Original commit message from CVS:
Fixed bug for files with timestamps less than 0.

18 years agoI copied over filesink a while ago and modified it to work as multifilesink. Might...
David Schleef [Sat, 21 Oct 2006 22:56:03 +0000 (22:56 +0000)]
I copied over filesink a while ago and modified it to work as multifilesink.  Might as well check it in.  This could ...

Original commit message from CVS:
* configure.ac:
* gst/multifilesink/Makefile.am:
* gst/multifilesink/gstmultifilesink.c:
* gst/multifilesink/gstmultifilesink.h:
I copied over filesink a while ago and modified it to work
as multifilesink.  Might as well check it in.  This could
use some work before being declared useful.

18 years agoActivate pads before adding them to running element.
Tim-Philipp Müller [Tue, 17 Oct 2006 15:16:47 +0000 (15:16 +0000)]
Activate pads before adding them to running element.

Original commit message from CVS:
* ext/wavpack/gstwavpackenc.c: (gst_wavpack_enc_set_wp_config):
* ext/wavpack/gstwavpackparse.c:
(gst_wavpack_parse_create_src_pad):
* gst/nuvdemux/gstnuvdemux.c: (gst_nuv_demux_create_pads):
* tests/check/elements/wavpackparse.c: (wavpackparse_found_pad):
Activate pads before adding them to running element.

18 years agogst/qtdemux/qtdemux.c: Make compile with Forte compiler, mostly don't do pointer...
Josep Torra Valles [Tue, 17 Oct 2006 14:57:17 +0000 (14:57 +0000)]
gst/qtdemux/qtdemux.c: Make compile with Forte compiler, mostly don't do pointer arithmetic with void pointers (#3626...

Original commit message from CVS:
Patch by: Josep Torra Valles  <josep at fluendo com>
* gst/qtdemux/qtdemux.c: (gst_qtdemux_handle_sink_event),
(next_entry_size), (qtdemux_inflate), (qtdemux_parse_moov),
(qtdemux_parse_tree), (qtdemux_parse_trak), (qtdemux_tag_add_str),
(qtdemux_tag_add_num), (qtdemux_tag_add_date),
(qtdemux_tag_add_gnre):
Make compile with Forte compiler, mostly don't do pointer arithmetic
with void pointers (#362626).

18 years agoJust a cast to make it compile oos big_endian systems.
Edgard Lima [Tue, 17 Oct 2006 14:40:20 +0000 (14:40 +0000)]
Just a cast to make it compile oos big_endian systems.

Original commit message from CVS:
Just a cast to make it compile oos big_endian systems.

18 years agoCreated new element nuvdemux.
Edgard Lima [Tue, 17 Oct 2006 14:24:18 +0000 (14:24 +0000)]
Created new element nuvdemux.

Original commit message from CVS:
Created new element nuvdemux.

18 years agogst/nsf/: Fix some things the Forte compiler warns about (#362626).
Josep Torra Valles [Tue, 17 Oct 2006 11:04:14 +0000 (11:04 +0000)]
gst/nsf/: Fix some things the Forte compiler warns about (#362626).

Original commit message from CVS:
Patch by: Josep Torra Valles  <josep at fluendo com>
* gst/nsf/fds_snd.c:
* gst/nsf/mmc5_snd.c:
* gst/nsf/nsf.c:
* gst/nsf/vrc7_snd.c:
* gst/nsf/vrcvisnd.c:
Fix some things the Forte compiler warns about (#362626).

18 years agogst/qtdemux/qtdemux.*: Avoid void pointer usage, better use guint8 * instead.
Tim-Philipp Müller [Tue, 17 Oct 2006 10:59:55 +0000 (10:59 +0000)]
gst/qtdemux/qtdemux.*: Avoid void pointer usage, better use guint8 * instead.

Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (qtdemux_parse_moov), (qtdemux_parse),
(qtdemux_node_dump_foreach), (qtdemux_dump_mvhd),
(qtdemux_dump_tkhd), (qtdemux_dump_elst), (qtdemux_dump_mdhd),
(qtdemux_dump_hdlr), (qtdemux_dump_vmhd), (qtdemux_dump_dref),
(qtdemux_dump_stsd), (qtdemux_dump_stts), (qtdemux_dump_stss),
(qtdemux_dump_stsc), (qtdemux_dump_stsz), (qtdemux_dump_stco),
(qtdemux_dump_co64), (qtdemux_dump_dcom), (qtdemux_dump_cmvd),
(qtdemux_dump_unknown), (qtdemux_tree_get_child_by_type),
(qtdemux_tree_get_sibling_by_type):
* gst/qtdemux/qtdemux.h:
Avoid void pointer usage, better use guint8 * instead.

18 years agoPort simple deinterlacer from 0.8. Use at your own risk, don't blame me for anything...
Tim-Philipp Müller [Wed, 11 Oct 2006 20:33:48 +0000 (20:33 +0000)]
Port simple deinterlacer from 0.8. Use at your own risk, don't blame me for anything it does or does not do to your p...

Original commit message from CVS:
* configure.ac:
* gst/deinterlace/Makefile.am:
* gst/deinterlace/gstdeinterlace.c: (gst_deinterlace_base_init),
(gst_deinterlace_class_init), (gst_deinterlace_init),
(gst_deinterlace_stop), (gst_deinterlace_transform_caps),
(gst_deinterlace_set_caps), (gst_deinterlace_transform_ip),
(gst_deinterlace_set_property), (gst_deinterlace_get_property):
* gst/deinterlace/gstdeinterlace.h:
Port simple deinterlacer from 0.8. Use at your own risk, don't blame
me for anything it does or does not do to your precious pictures.

18 years agogst/qtdemux/qtdemux.c: Add some fourcc for DV format.
Edward Hervey [Wed, 11 Oct 2006 13:49:26 +0000 (13:49 +0000)]
gst/qtdemux/qtdemux.c: Add some fourcc for DV format.

Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (qtdemux_video_caps):
Add some fourcc for DV format.

18 years agogst/qtdemux/qtdemux.c: Printf format fixes.
Tim-Philipp Müller [Tue, 10 Oct 2006 18:54:05 +0000 (18:54 +0000)]
gst/qtdemux/qtdemux.c: Printf format fixes.

Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (extract_initial_length_and_fourcc),
(gst_qtdemux_loop_state_header):
Printf format fixes.
* sys/dvb/gstdvbsrc.c:
Use "_stdint.h".

18 years agosys/dvb/: Remove these files, not needed use system files.
Zaheer Abbas Merali [Tue, 10 Oct 2006 16:09:58 +0000 (16:09 +0000)]
sys/dvb/: Remove these files, not needed use system files.

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

* sys/dvb/Makefile.am:
* sys/dvb/dvb-api/Makefile.am:
* sys/dvb/dvb-api/audio.h:
* sys/dvb/dvb-api/ca.h:
* sys/dvb/dvb-api/dmx.h:
* sys/dvb/dvb-api/frontend.h:
* sys/dvb/dvb-api/net.h:
* sys/dvb/dvb-api/osd.h:
* sys/dvb/dvb-api/version.h:
* sys/dvb/dvb-api/video.h:
Remove these files, not needed use system files.
* sys/dvb/gstdvbsrc.c: (gst_dvbsrc_set_property),
(gst_dvbsrc_create), (gst_dvbsrc_output_frontend_stats),
(gst_dvbsrc_tune):
Fix warnings, uint16_t etc. is in stdint.h.
Use system includes not our local ones.

18 years agoBuildbot, I do as you command. http://build.fluendo.com:8080/gen64-bad-full/builds...
Zaheer Abbas Merali [Tue, 10 Oct 2006 15:55:25 +0000 (15:55 +0000)]
Buildbot, I do as you command. build.fluendo.com:8080/gen64-bad-full/builds/475/cvs%20ignore/1

Original commit message from CVS:
Buildbot, I do as you command.
http://build.fluendo.com:8080/gen64-bad-full/builds/475/cvs%20ignore/1

18 years agoAdd dvb detection and allow dvbsrc to be built.
Zaheer Abbas Merali [Tue, 10 Oct 2006 15:47:49 +0000 (15:47 +0000)]
Add dvb detection and allow dvbsrc to be built.

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

* configure.ac:
* sys/Makefile.am:
Add dvb detection and allow dvbsrc to be built.

18 years agoInitial import of dvbsrc.
Zaheer Abbas Merali [Tue, 10 Oct 2006 15:05:32 +0000 (15:05 +0000)]
Initial import of dvbsrc.

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

* configure.ac:
* sys/Makefile.am:
* sys/dvb/AUTHORS:
* sys/dvb/Makefile.am:
* sys/dvb/README:
* sys/dvb/dvb-api/Makefile.am:
* sys/dvb/dvb-api/audio.h:
* sys/dvb/dvb-api/ca.h:
* sys/dvb/dvb-api/dmx.h:
* sys/dvb/dvb-api/frontend.h:
* sys/dvb/dvb-api/net.h:
* sys/dvb/dvb-api/osd.h:
* sys/dvb/dvb-api/version.h:
* sys/dvb/dvb-api/video.h:
* sys/dvb/gstdvbsrc.c:
* sys/dvb/gstdvbsrc.h:
Initial import of dvbsrc.
Currently won't be built.

18 years agoext/gnomevfs/: Fix URI interface implementation return type.
Josep Torre Valles [Tue, 10 Oct 2006 12:49:02 +0000 (12:49 +0000)]
ext/gnomevfs/: Fix URI interface implementation return type.

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

Patch by: Josep Torre Valles <josep@fluendo.com>

* ext/gnomevfs/gstgnomevfssink.c:
* ext/gnomevfs/gstgnomevfssrc.c:
Fix URI interface implementation return type.
* ext/pango/gsttextoverlay.c: (gst_text_overlay_set_property):
Fix what looks like a copy/paste issue when assigning values.
* gst-libs/gst/audio/gstaudiofiltertemplate.c:
(gst_audio_filter_template_get_type):
Cast to prevent Forte warnings.
* gst-libs/gst/cdda/gstcddabasesrc.c: (gst_cdda_base_src_create):
Fix URI interface implementation return type.
gst_pad_query_position requires a signed integer pointer as
3rd parameter, GstClockTime is unsigned.
* gst/audioconvert/audioconvert.c:
Fix integer overflow when treated as signed.
* gst/audioresample/resample.c: (resample_add_input_data):
Cast to prevent warnings on Forte.
* gst/ffmpegcolorspace/imgconvert.c: (build_rgb_palette):
Fix integer overflow when treated as signed.
* gst/ffmpegcolorspace/imgconvert_template.h:
Fix integer overflow when treated as signed. RGBA_OUT shifts bits.
* gst/playback/gstdecodebin.c: (queue_filled_cb),
(cleanup_decodebin):
Who initialises a guint to -1!
Cast function pointers to prevent warnings on Forte.
* gst/playback/gstplaybasebin.c: (queue_deadlock_check),
(queue_threshold_reached):
Cast function pointers correctly to prevent warnings on Forte.
* gst/playback/gststreaminfo.c: (gst_stream_info_dispose):
Cast function pointers correctly to prevent warnings on Forte.
* gst/subparse/gstssaparse.c: (gst_ssa_parse_setcaps):
Obvious change to unsigned, 0xEF > max signed char.
* gst/tcp/gstmultifdsink.c: (get_buffers_max), (count_burst_unit):
GstClockTime is unsigned, initialise correctly.
* gst/tcp/gsttcp.c: (gst_tcp_socket_write):
Cast so pointer arithemetic doesn't cause warnings on Forte.
* gst/videorate/gstvideorate.c:
Use correct return value.
* tests/examples/seek/scrubby.c:
GstClockTime is unsigned, initialise correctly.

18 years agogst/qtdemux/qtdemux.c: Reorganise some stuff.
Wim Taymans [Tue, 10 Oct 2006 09:57:19 +0000 (09:57 +0000)]
gst/qtdemux/qtdemux.c: Reorganise some stuff.

Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (gst_qtdemux_init),
(gst_qtdemux_push_event), (gst_qtdemux_do_seek),
(gst_qtdemux_change_state), (extract_initial_length_and_fourcc),
(gst_qtdemux_loop_state_header), (gst_qtdemux_activate_segment),
(gst_qtdemux_loop_state_movie), (gst_qtdemux_loop),
(gst_qtdemux_post_buffering), (gst_qtdemux_chain),
(gst_qtdemux_add_stream), (qtdemux_process_redirects),
(qtdemux_parse_tree), (qtdemux_parse_trak):
Reorganise some stuff.
Parse RTSP redirection URLS.

18 years agodocs/plugins/: Add/update docs stuff.
Tim-Philipp Müller [Sat, 7 Oct 2006 11:37:59 +0000 (11:37 +0000)]
docs/plugins/: Add/update docs stuff.

Original commit message from CVS:
* docs/plugins/gst-plugins-bad-plugins.args:
* docs/plugins/gst-plugins-bad-plugins.hierarchy:
* docs/plugins/gst-plugins-bad-plugins.interfaces:
* docs/plugins/gst-plugins-bad-plugins.prerequisites:
* docs/plugins/inspect/plugin-dtsdec.xml:
* docs/plugins/inspect/plugin-mms.xml:
* docs/plugins/inspect/plugin-mpeg2enc.xml:
* docs/plugins/inspect/plugin-neon.xml:
* docs/plugins/inspect/plugin-replaygain.xml:
* docs/plugins/inspect/plugin-soundtouch.xml:
* docs/plugins/inspect/plugin-spcdec.xml:
* docs/plugins/inspect/plugin-swfdec.xml:
* docs/plugins/inspect/plugin-videocrop.xml:
* docs/plugins/inspect/plugin-wavpack.xml:
Add/update docs stuff.

18 years agoAdd ReplayGain analysis element (#357069).
René Stadler [Fri, 6 Oct 2006 15:56:01 +0000 (15:56 +0000)]
Add ReplayGain analysis element (#357069).

Original commit message from CVS:
Patch by: René Stadler  <mail at renestadler de>
* configure.ac:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-bad-plugins-docs.sgml:
* docs/plugins/gst-plugins-bad-plugins-sections.txt:
* gst/replaygain/Makefile.am:
* gst/replaygain/gstrganalysis.c: (gst_rg_analysis_base_init),
(gst_rg_analysis_class_init), (gst_rg_analysis_init),
(gst_rg_analysis_set_property), (gst_rg_analysis_get_property),
(gst_rg_analysis_start), (gst_rg_analysis_set_caps),
(gst_rg_analysis_transform_ip), (gst_rg_analysis_event),
(gst_rg_analysis_stop), (gst_rg_analysis_handle_tags),
(gst_rg_analysis_handle_eos), (gst_rg_analysis_track_result),
(gst_rg_analysis_album_result), (plugin_init):
* gst/replaygain/gstrganalysis.h:
* gst/replaygain/rganalysis.c: (yule_filter), (butter_filter),
(apply_filters), (reset_filters), (accumulator_add),
(accumulator_clear), (accumulator_result), (rg_analysis_new),
(rg_analysis_set_sample_rate), (rg_analysis_destroy),
(rg_analysis_analyze_mono_float),
(rg_analysis_analyze_stereo_float),
(rg_analysis_analyze_mono_int16),
(rg_analysis_analyze_stereo_int16), (rg_analysis_analyze),
(rg_analysis_track_result), (rg_analysis_album_result),
(rg_analysis_reset_album), (rg_analysis_reset):
* gst/replaygain/rganalysis.h:
Add ReplayGain analysis element (#357069).
* tests/check/Makefile.am:
* tests/check/elements/.cvsignore:
* tests/check/elements/rganalysis.c: (get_expected_gain),
(setup_rganalysis), (cleanup_rganalysis), (set_playing_state),
(send_eos_event), (send_tag_event), (poll_eos), (poll_tags),
(fail_unless_track_gain), (fail_unless_track_peak),
(fail_unless_album_gain), (fail_unless_album_peak),
(fail_if_track_tags), (fail_if_album_tags),
(fail_unless_num_tracks), (test_buffer_const_float_mono),
(test_buffer_const_float_stereo), (test_buffer_const_int16_mono),
(test_buffer_const_int16_stereo), (test_buffer_square_float_mono),
(test_buffer_square_float_stereo), (test_buffer_square_int16_mono),
(test_buffer_square_int16_stereo), (push_buffer), (GST_START_TEST),
(rganalysis_suite), (main):
Unit tests for the new replaygain element.

18 years agoext/faad/gstfaad.c: Some cleanups.
Wim Taymans [Fri, 6 Oct 2006 15:49:39 +0000 (15:49 +0000)]
ext/faad/gstfaad.c: Some cleanups.

Original commit message from CVS:
* ext/faad/gstfaad.c: (gst_faad_setcaps), (gst_faad_chain),
(gst_faad_close_decoder):
Some cleanups.
Added some more debugging.
Don't ever ignore unlinked, we're not a demuxer.
* gst/qtdemux/qtdemux.c: (gst_qtdemux_add_stream):
Activate pad before adding it to the element.

18 years agoext/theora/theoradec.*: Port lots of changes from theoradec to theoraexpdec.
Michael Smith [Fri, 6 Oct 2006 12:02:09 +0000 (12:02 +0000)]
ext/theora/theoradec.*: Port lots of changes from theoradec to theoraexpdec.

Original commit message from CVS:
* ext/theora/theoradec.c: (gst_theoradec_reset),
(theora_get_query_types), (theora_dec_src_query),
(theora_dec_src_event), (theora_dec_sink_event),
(theora_handle_comment_packet), (theora_handle_type_packet),
(theora_handle_header_packet), (clip_buffer), (theora_dec_push),
(theora_handle_422_image), (theora_handle_420_image),
(theora_handle_data_packet), (theora_dec_chain),
(theora_dec_change_state):
* ext/theora/theoradec.h:
Port lots of changes from theoradec to theoraexpdec.
This catches this plugin up to theoradec. Note that duplicate frames
are broken in theoradec at the moment.

18 years agogst/spectrum/gstspectrum.c: Fix mem leak, avoid unnecessary memcpy.
Tim-Philipp Müller [Fri, 6 Oct 2006 11:31:11 +0000 (11:31 +0000)]
gst/spectrum/gstspectrum.c: Fix mem leak, avoid unnecessary memcpy.

Original commit message from CVS:
* gst/spectrum/gstspectrum.c: (gst_spectrum_transform_ip):
Fix mem leak, avoid unnecessary memcpy.

18 years agogst/spectrum/gstspectrum.c: Removed cruft code that was just commented out. Removed...
Stefan Kost [Fri, 6 Oct 2006 02:29:35 +0000 (02:29 +0000)]
gst/spectrum/gstspectrum.c: Removed cruft code that was just commented out. Removed some obsolete debug logs statements.

Original commit message from CVS:
* gst/spectrum/gstspectrum.c: (gst_spectrum_init),
(gst_spectrum_transform_ip):
Removed cruft code that was just commented out. Removed some obsolete
debug logs statements.

18 years agoAnother batch of printf format fixes.
Tim-Philipp Müller [Thu, 5 Oct 2006 18:14:46 +0000 (18:14 +0000)]
Another batch of printf format fixes.

Original commit message from CVS:
* ext/dts/gstdtsdec.c: (gst_dtsdec_chain):
* ext/musicbrainz/gsttrm.c: (gst_trm_setcaps):
* ext/wavpack/gstwavpackenc.c: (gst_wavpack_enc_sink_set_caps):
* gst/qtdemux/qtdemux.c: (gst_qtdemux_chain), (qtdemux_parse),
(qtdemux_parse_trak):
* gst/spectrum/gstspectrum.c: (gst_spectrum_transform_ip):
Another batch of printf format fixes.

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

Original commit message from CVS:
* ext/alsa/gstalsadeviceprobe.c:
(gst_alsa_device_property_probe_get_values):
* ext/alsa/gstalsasink.c: (set_hwparams):
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_chain_elem_pad),
(gst_ogg_chain_new_stream), (gst_ogg_demux_read_chain):
* ext/ogg/gstoggmux.c: (gst_ogg_mux_send_headers),
(gst_ogg_mux_process_best_pad):
* ext/ogg/gstoggparse.c: (gst_ogg_parse_new_stream),
(gst_ogg_parse_chain):
* ext/ogg/gstogmparse.c: (gst_ogm_parse_stream_header):
* ext/vorbis/vorbisdec.c: (vorbis_handle_data_packet):
* ext/vorbis/vorbisenc.c: (gst_vorbis_enc_setup),
(gst_vorbis_enc_buffer_check_discontinuous):
* ext/vorbis/vorbisparse.c: (vorbis_parse_src_query):
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_render):
* gst-libs/gst/cdda/gstcddabasesrc.c:
(gst_cdda_base_src_handle_track_seek):
* gst-libs/gst/rtp/gstbasertpdepayload.c:
(gst_base_rtp_depayload_push_full):
* gst-libs/gst/rtp/gstbasertppayload.c: (gst_basertppayload_push):
* gst/audioresample/resample.c: (resample_input_pushthrough):
* gst/playback/gstplaybasebin.c: (queue_out_of_data):
* gst/tcp/gstmultifdsink.c: (gst_multi_fd_sink_handle_clients):
* gst/typefind/gsttypefindfunctions.c: (mp3_type_find_at_offset),
(wavpack_type_find):
* gst/videotestsrc/gstvideotestsrc.c: (gst_video_test_src_create):
* sys/xvimage/xvimagesink.c: (gst_xvimage_buffer_destroy),
(gst_xvimagesink_check_xshm_calls), (gst_xvimagesink_xvimage_new):
* tests/check/elements/volume.c: (GST_START_TEST):
Printf format fixes.

18 years agogst/videocrop/gstvideocrop.*: Handle packed YUV formats (UYVY, YUY2, YUYV) separately...
Tim-Philipp Müller [Wed, 4 Oct 2006 22:37:07 +0000 (22:37 +0000)]
gst/videocrop/gstvideocrop.*: Handle packed YUV formats (UYVY, YUY2, YUYV) separately; also, fix passthrough mode; la...

Original commit message from CVS:
* gst/videocrop/gstvideocrop.c: (gst_video_crop_class_init),
(gst_video_crop_init),
(gst_video_crop_get_image_details_from_caps),
(gst_video_crop_transform_packed_complex),
(gst_video_crop_transform_packed_simple),
(gst_video_crop_transform), (gst_video_crop_transform_caps),
(gst_video_crop_set_caps),
(gst_videocrop_clear_negotiated_caps_locked),
(gst_video_crop_set_property):
* gst/videocrop/gstvideocrop.h:
Handle packed YUV formats (UYVY, YUY2, YUYV) separately; also, fix
passthrough mode; lastly, clear negotiated basetransform caps when
the cropping changes in order to force renegotiation.

18 years agotests/icles/: Visual test for videocrop, shows that packed yuv doesn't work right...
Tim-Philipp Müller [Wed, 4 Oct 2006 20:05:07 +0000 (20:05 +0000)]
tests/icles/: Visual test for videocrop, shows that packed yuv doesn't work right yet. --with-ffmpegcolorspace option...

Original commit message from CVS:
* tests/icles/.cvsignore:
* tests/icles/Makefile.am:
* tests/icles/videocrop-test.c: (quit_mainloop), (tick_cb),
(test_with_caps), (video_crop_get_test_caps), (main):
Visual test for videocrop, shows that packed yuv doesn't work right
yet. --with-ffmpegcolorspace option doesn't work yet for unknown
reasons (another basetransform issue?)

18 years agoRemove more v4l2 stuff, hopefully fixing 'make distcheck' again.
Tim-Philipp Müller [Wed, 4 Oct 2006 10:55:21 +0000 (10:55 +0000)]
Remove more v4l2 stuff, hopefully fixing 'make distcheck' again.

Original commit message from CVS:
* po/POTFILES.in:
* sys/v4l2/.cvsignore:
Remove more v4l2 stuff, hopefully fixing 'make distcheck' again.

18 years agoremoved v4l2
Thomas Vander Stichele [Wed, 4 Oct 2006 10:29:22 +0000 (10:29 +0000)]
removed v4l2

Original commit message from CVS:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-bad-plugins-docs.sgml:
* docs/plugins/gst-plugins-bad-plugins-sections.txt:
* docs/plugins/inspect/plugin-video4linux2.xml:
* gst-plugins-bad.spec.in:
removed v4l2

18 years agoremoving icle for v4l2
Thomas Vander Stichele [Tue, 3 Oct 2006 18:32:31 +0000 (18:32 +0000)]
removing icle for v4l2

Original commit message from CVS:
removing icle for v4l2

18 years agoremove last cond
Thomas Vander Stichele [Tue, 3 Oct 2006 18:27:57 +0000 (18:27 +0000)]
remove last cond

Original commit message from CVS:
remove last cond

18 years agomoved to gst-plugins-good
Thomas Vander Stichele [Tue, 3 Oct 2006 18:23:21 +0000 (18:23 +0000)]
moved to gst-plugins-good

Original commit message from CVS:
* configure.ac:
* sys/Makefile.am:
* sys/v4l2/Makefile.am:
* sys/v4l2/README:
* sys/v4l2/gstv4l2.c:
* sys/v4l2/gstv4l2colorbalance.c:
* sys/v4l2/gstv4l2colorbalance.h:
* sys/v4l2/gstv4l2object.c:
* sys/v4l2/gstv4l2object.h:
* sys/v4l2/gstv4l2src.c:
* sys/v4l2/gstv4l2src.h:
* sys/v4l2/gstv4l2tuner.c:
* sys/v4l2/gstv4l2tuner.h:
* sys/v4l2/gstv4l2vidorient.c:
* sys/v4l2/gstv4l2vidorient.h:
* sys/v4l2/gstv4l2xoverlay.c:
* sys/v4l2/gstv4l2xoverlay.h:
* sys/v4l2/v4l2_calls.c:
* sys/v4l2/v4l2_calls.h:
* sys/v4l2/v4l2src_calls.c:
* sys/v4l2/v4l2src_calls.h:
moved to gst-plugins-good

18 years agocomment out the notifies for removed properties
Thomas Vander Stichele [Tue, 3 Oct 2006 13:47:10 +0000 (13:47 +0000)]
comment out the notifies for removed properties

Original commit message from CVS:
comment out the notifies for removed properties

18 years agosys/v4l2/gstv4l2object.c: comment out the properties that are already part of the...
Thomas Vander Stichele [Tue, 3 Oct 2006 13:30:48 +0000 (13:30 +0000)]
sys/v4l2/gstv4l2object.c: comment out the properties that are already part of the tuner interface.

Original commit message from CVS:
* sys/v4l2/gstv4l2object.c:
(gst_v4l2_object_install_properties_helper):
comment out the properties that are already part of the tuner
interface.

18 years agosys/v4l2/gstv4l2src.c: Improve docs.
Zaheer Abbas Merali [Tue, 3 Oct 2006 13:18:59 +0000 (13:18 +0000)]
sys/v4l2/gstv4l2src.c: Improve docs.

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

* sys/v4l2/gstv4l2src.c:
Improve docs.

18 years agoext/xvid/gstxvid.c: Set rank of xviddec to NONE until someone fixes it (too many...
Tim-Philipp Müller [Mon, 2 Oct 2006 13:28:49 +0000 (13:28 +0000)]
ext/xvid/gstxvid.c: Set rank of xviddec to NONE until someone fixes it (too many crasher bug reports against totem, p...

Original commit message from CVS:
* ext/xvid/gstxvid.c: (plugin_init):
Set rank of xviddec to NONE until someone fixes it (too many crasher
bug reports against totem, people should use gst-ffmpeg).

18 years agosys/v4l2/: Framerate can be 0/1 too.
Wim Taymans [Thu, 28 Sep 2006 17:08:47 +0000 (17:08 +0000)]
sys/v4l2/: Framerate can be 0/1 too.

Original commit message from CVS:
* sys/v4l2/gstv4l2src.c: (gst_v4l2src_get_all_caps),
(gst_v4l2src_get_caps):
* sys/v4l2/v4l2_calls.c: (gst_v4l2_fill_lists):
Framerate can be 0/1 too.
Init framerate to 0/1 before querying it so that we can detect
devices that don't know about a framerate.
Add some more debugging info.

18 years agogst/qtdemux/qtdemux.c: Add support for 'yv12' fourcc.
Tim-Philipp Müller [Thu, 28 Sep 2006 14:31:41 +0000 (14:31 +0000)]
gst/qtdemux/qtdemux.c: Add support for 'yv12' fourcc.

Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (qtdemux_video_caps):
Add support for 'yv12' fourcc.

18 years agoRemoved set-undef-fps.
Edgard Lima [Wed, 27 Sep 2006 17:47:57 +0000 (17:47 +0000)]
Removed set-undef-fps.

Original commit message from CVS:
Removed set-undef-fps.

18 years agosys/v4l2/: Renamed some properties to match the tuner interface naming.
Wim Taymans [Wed, 27 Sep 2006 17:04:22 +0000 (17:04 +0000)]
sys/v4l2/: Renamed some properties to match the tuner interface naming.

Original commit message from CVS:
* sys/v4l2/gstv4l2object.c:
(gst_v4l2_object_install_properties_helper), (gst_v4l2_object_new),
(gst_v4l2_object_set_property_helper),
(gst_v4l2_object_get_property_helper), (gst_v4l2_set_defaults):
* sys/v4l2/gstv4l2object.h:
* sys/v4l2/gstv4l2src.c: (gst_v4l2src_class_init),
(gst_v4l2src_create):
* sys/v4l2/gstv4l2tuner.c: (gst_v4l2_tuner_contains_channel),
(gst_v4l2_tuner_list_channels),
(gst_v4l2_tuner_set_channel_and_notify),
(gst_v4l2_tuner_get_channel), (gst_v4l2_tuner_contains_norm),
(gst_v4l2_tuner_list_norms), (gst_v4l2_tuner_set_norm_and_notify),
(gst_v4l2_tuner_get_norm):
* sys/v4l2/v4l2_calls.c: (gst_v4l2_get_capabilities),
(gst_v4l2_fill_lists), (gst_v4l2_empty_lists):
* sys/v4l2/v4l2src_calls.c: (gst_v4l2src_get_fps):
Renamed some properties to match the tuner interface naming.

18 years agoSmall cleanups.
Wim Taymans [Wed, 27 Sep 2006 16:14:18 +0000 (16:14 +0000)]
Small cleanups.

Original commit message from CVS:
* sys/v4l2/gstv4l2object.c: (gst_v4l2_object_set_property_helper),
(gst_v4l2_set_defaults):
* sys/v4l2/gstv4l2src.c: (gst_v4l2src_get_read),
(gst_v4l2src_create):
* sys/v4l2/gstv4l2xoverlay.c: (gst_v4l2_xoverlay_open):
* sys/v4l2/v4l2_calls.c: (gst_v4l2_get_capabilities),
(gst_v4l2_fill_lists), (gst_v4l2_open), (gst_v4l2_set_norm),
(gst_v4l2_get_frequency), (gst_v4l2_set_frequency),
(gst_v4l2_signal_strength), (gst_v4l2_get_attribute),
(gst_v4l2_set_attribute), (gst_v4l2_get_input),
(gst_v4l2_set_input):
* sys/v4l2/v4l2src_calls.c: (gst_v4l2src_fill_format_list),
(gst_v4l2src_grab_frame), (gst_v4l2src_get_capture),
(gst_v4l2src_set_capture), (gst_v4l2src_capture_init),
(gst_v4l2src_capture_start), (gst_v4l2src_capture_stop),
(gst_v4l2src_buffer_new):
* tests/icles/v4l2src-test.c: (my_bus_callback), (main):
Small cleanups.
Fix error messages.
Use locks when getting timestamps.
Fix leaks in test.
Add licensing header to tests.

18 years agoSome cleanups and comments.
Edgard Lima [Wed, 27 Sep 2006 15:14:07 +0000 (15:14 +0000)]
Some cleanups and comments.

Original commit message from CVS:
Some cleanups and comments.

18 years agodocs/plugins/: Add v4l2 plugin to the docs.
Wim Taymans [Tue, 26 Sep 2006 14:17:54 +0000 (14:17 +0000)]
docs/plugins/: Add v4l2 plugin to the docs.

Original commit message from CVS:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-bad-plugins-docs.sgml:
* docs/plugins/gst-plugins-bad-plugins-sections.txt:
Add v4l2 plugin to the docs.
* sys/v4l2/gstv4l2src.c: (gst_v4l2src_get_read),
(gst_v4l2src_get_mmap), (gst_v4l2src_create):
* sys/v4l2/gstv4l2src.h:
* sys/v4l2/gstv4l2vidorient.c:
Fix docs.
Remove some more externs.

18 years agosys/v4l2/Makefile.am: Fix makefile, list libs in stack order.
Wim Taymans [Tue, 26 Sep 2006 13:18:06 +0000 (13:18 +0000)]
sys/v4l2/Makefile.am: Fix makefile, list libs in stack order.

Original commit message from CVS:
* sys/v4l2/Makefile.am:
Fix makefile, list libs in stack order.
* sys/v4l2/gstv4l2colorbalance.c:
* sys/v4l2/gstv4l2colorbalance.h:
* sys/v4l2/gstv4l2object.c: (gst_v4l2_device_get_type),
(gst_v4l2_object_install_properties_helper):
* sys/v4l2/gstv4l2object.h:
* sys/v4l2/gstv4l2src.c: (gst_v4l2src_get_read),
(gst_v4l2src_get_mmap), (gst_v4l2src_create):
* sys/v4l2/gstv4l2src.h:
* sys/v4l2/gstv4l2tuner.h:
* sys/v4l2/gstv4l2vidorient.h:
* sys/v4l2/gstv4l2xoverlay.h:
* sys/v4l2/v4l2_calls.h:
* sys/v4l2/v4l2src_calls.h:
Fix coding style:
- Remove extern from functions.
- Fix header indentation.
Fix Flags, add defaults for properties.
Remove unused enums.
Fix TOO_LAZY in error messages.

18 years agosys/v4l2/: Fix pass at code cleanups, move errors cases out of the normal flow for...
Wim Taymans [Tue, 26 Sep 2006 11:06:17 +0000 (11:06 +0000)]
sys/v4l2/: Fix pass at code cleanups, move errors cases out of the normal flow for additional code clarity.

Original commit message from CVS:
* sys/v4l2/gstv4l2object.c: (gst_v4l2_class_probe_devices),
(gst_v4l2_probe_needs_probe),
(gst_v4l2_object_install_properties_helper), (gst_v4l2_object_new),
(gst_v4l2_object_destroy), (gst_v4l2_object_set_property_helper),
(gst_v4l2_object_get_property_helper), (gst_v4l2_set_defaults),
(gst_v4l2_object_start), (gst_v4l2_object_stop):
* sys/v4l2/gstv4l2object.h:
* sys/v4l2/gstv4l2src.c: (gst_v4l2src_class_init),
(gst_v4l2src_init), (gst_v4l2src_dispose),
(gst_v4l2src_set_property), (gst_v4l2src_get_property),
(gst_v4l2src_fixate), (gst_v4l2src_get_caps),
(gst_v4l2src_set_caps), (gst_v4l2src_get_read),
(gst_v4l2src_get_mmap), (gst_v4l2src_create):
* sys/v4l2/v4l2_calls.c: (gst_v4l2_get_capabilities),
(gst_v4l2_open), (gst_v4l2_close), (gst_v4l2_get_norm),
(gst_v4l2_set_norm), (gst_v4l2_get_frequency),
(gst_v4l2_set_frequency), (gst_v4l2_signal_strength),
(gst_v4l2_get_attribute), (gst_v4l2_set_attribute),
(gst_v4l2_get_input), (gst_v4l2_set_input):
* sys/v4l2/v4l2src_calls.c: (gst_v4l2src_fill_format_list),
(gst_v4l2src_queue_frame), (gst_v4l2src_grab_frame),
(gst_v4l2src_get_capture), (gst_v4l2src_set_capture),
(gst_v4l2src_capture_init), (gst_v4l2src_capture_start),
(gst_v4l2src_capture_stop), (gst_v4l2src_capture_deinit),
(gst_v4l2src_get_size_limits), (gst_v4l2src_set_fps),
(gst_v4l2src_get_fps), (gst_v4l2src_buffer_finalize),
(gst_v4l2src_buffer_new):
Fix pass at code cleanups, move errors cases out of the normal
flow for additional code clarity.

18 years agoext/cdaudio/gstcdaudio.c: Port to 0.10.
Wim Taymans [Sat, 23 Sep 2006 13:21:43 +0000 (13:21 +0000)]
ext/cdaudio/gstcdaudio.c: Port to 0.10.

Original commit message from CVS:
* ext/cdaudio/gstcdaudio.c: (gst_cdaudio_class_init),
(gst_cdaudio_init), (gst_cdaudio_set_property),
(gst_cdaudio_get_property), (gst_cdaudio_change_state),
(gst_cdaudio_send_event), (gst_cdaudio_get_query_types),
(gst_cdaudio_query), (cdaudio_uri_set_uri):
Port to 0.10.

18 years agosys/glsink/glimagesink.c: Fix problems when the element cannot open the display....
David Schleef [Sat, 23 Sep 2006 00:28:35 +0000 (00:28 +0000)]
sys/glsink/glimagesink.c: Fix problems when the element cannot open the display. (fixes #357212)

Original commit message from CVS:
* sys/glsink/glimagesink.c:
Fix problems when the element cannot open the display.
(fixes #357212)

18 years agoconfigure.ac: Up requirements to -base CVS and core CVS (the format for the video...
Tim-Philipp Müller [Fri, 22 Sep 2006 16:08:38 +0000 (16:08 +0000)]
configure.ac: Up requirements to -base CVS and core CVS (the format for the video orientation interface used by v4l2s...

Original commit message from CVS:
* configure.ac:
Up requirements to -base CVS and core CVS (the format for the
video orientation interface used by v4l2src and the latter
since that's what -base CVS requires).

18 years agoext/directfb/dfbvideosink.c: Lower rank from SECONDARY to MARGINAL. Plugins in -bad...
Tim-Philipp Müller [Fri, 22 Sep 2006 15:59:59 +0000 (15:59 +0000)]
ext/directfb/dfbvideosink.c: Lower rank from SECONDARY to MARGINAL. Plugins in -bad that might be autoplugged shouldn...

Original commit message from CVS:
* ext/directfb/dfbvideosink.c: (plugin_init):
Lower rank from SECONDARY to MARGINAL. Plugins in -bad that might
be autoplugged shouldn't trump plugins in -base, -good or -ugly
(in this case ximagesink).
* sys/glsink/glimagesink.c: (plugin_init):
Set rank to NONE to prevent it from being autoplugged until
errors are handled properly (see #357212).

18 years agoReverted previous commit (2006-09-19 - Allow internal codes from last.fm). As dicusse...
Edgard Lima [Thu, 21 Sep 2006 14:01:18 +0000 (14:01 +0000)]
Reverted previous commit (2006-09-19 - Allow internal codes from last.fm). As dicussed on #gstreamer it should be don...

Original commit message from CVS:
Reverted previous commit (2006-09-19 - Allow internal codes from last.fm). As dicussed on #gstreamer it should be done in separete element.

18 years agoext/faac/gstfaac.c: Add decoder specific info on the caps.
Wim Taymans [Thu, 21 Sep 2006 13:41:42 +0000 (13:41 +0000)]
ext/faac/gstfaac.c: Add decoder specific info on the caps.

Original commit message from CVS:
* ext/faac/gstfaac.c: (gst_faac_configure_source_pad),
(gst_faac_chain):
Add decoder specific info on the caps.
Some cleanups here and there.

18 years agoAllow internal codes from last.fm
Edgard Lima [Tue, 19 Sep 2006 21:49:52 +0000 (21:49 +0000)]
Allow internal codes from last.fm

Original commit message from CVS:
Allow internal codes from last.fm

18 years agoJust a small fix to the app options.
Edgard Lima [Tue, 19 Sep 2006 16:24:10 +0000 (16:24 +0000)]
Just a small fix to the app options.

Original commit message from CVS:
Just a small fix to the app options.

18 years agoAdd Video Orientation interface support to v4l2src.
Edgard Lima [Tue, 19 Sep 2006 13:08:35 +0000 (13:08 +0000)]
Add Video Orientation interface support to v4l2src.

Original commit message from CVS:
Add Video Orientation interface support to v4l2src.

18 years agoext/gsm/gstgsmdec.*: Handle WAV49 variant (GSM in WAV).
Wim Taymans [Tue, 19 Sep 2006 10:10:12 +0000 (10:10 +0000)]
ext/gsm/gstgsmdec.*: Handle WAV49 variant (GSM in WAV).

Original commit message from CVS:
* ext/gsm/gstgsmdec.c: (gst_gsmdec_init),
(gst_gsmdec_sink_setcaps), (gst_gsmdec_sink_event),
(gst_gsmdec_chain):
* ext/gsm/gstgsmdec.h:
Handle WAV49 variant (GSM in WAV).
Some small cleanups.

18 years agoFix GST_BUFFER_DURATION.
Edgard Lima [Mon, 18 Sep 2006 15:36:14 +0000 (15:36 +0000)]
Fix GST_BUFFER_DURATION.

Original commit message from CVS:
Fix GST_BUFFER_DURATION.

18 years agotests/check/: Fix big batch of compiler warnings.
Stefan Kost [Sat, 16 Sep 2006 22:30:50 +0000 (22:30 +0000)]
tests/check/: Fix big batch of compiler warnings.

Original commit message from CVS:
* tests/check/elements/audioresample.c: (GST_START_TEST):
* tests/check/elements/videotestsrc.c: (check_rgb_buf):
* tests/check/elements/volume.c: (GST_START_TEST):
* tests/check/elements/vorbisdec.c: (GST_START_TEST):
* tests/check/pipelines/oggmux.c: (validate_ogg_page), (eos_watch),
(test_pipeline), (GST_START_TEST):
* tests/check/pipelines/theoraenc.c: (GST_START_TEST):
* tests/check/pipelines/vorbisenc.c: (GST_START_TEST):
Fix big batch of compiler warnings.

18 years agoMore G_OBJECT macro fixing.
Stefan Kost [Sat, 16 Sep 2006 22:14:36 +0000 (22:14 +0000)]
More G_OBJECT macro fixing.

Original commit message from CVS:
* ext/hermes/gsthermescolorspace.c:
* ext/ivorbis/vorbisfile.c:
* ext/lcs/gstcolorspace.c:
* ext/wavpack/gstwavpackenc.h:
* ext/xine/xineaudiodec.c:
* ext/xine/xineaudiosink.c:
* ext/xine/xineinput.c:
* gst/chart/gstchart.c:
* gst/equalizer/gstiirequalizer.c:
* gst/games/gstpuzzle.c:
* gst/librfb/gstrfbsrc.c:
* gst/mixmatrix/mixmatrix.c:
* gst/nsf/gstnsf.h:
* gst/vbidec/gstvbidec.c:
* gst/virtualdub/gstxsharpen.c:
More G_OBJECT macro fixing.

18 years agoThe test application and the plgind error messages has been improved.
Edgard Lima [Fri, 15 Sep 2006 19:11:00 +0000 (19:11 +0000)]
The test application and the plgind error messages has been improved.

Original commit message from CVS:
The test application and the plgind error messages has been improved.

18 years agogst/spectrum/gstspectrum.c: Implements stop() to clear the adapter and event() to...
Stefan Kost [Tue, 12 Sep 2006 20:18:55 +0000 (20:18 +0000)]
gst/spectrum/gstspectrum.c: Implements stop() to clear the adapter and event() to clear the adapter on FLUSH_STOP and...

Original commit message from CVS:
* gst/spectrum/gstspectrum.c: (gst_spectrum_class_init),
(gst_spectrum_start), (gst_spectrum_stop), (gst_spectrum_event):
Implements stop() to clear the adapter and event() to clear the
adapter on FLUSH_STOP and EOS.

18 years agogst/spectrum/gstspectrum.*: Fix type mixup in spectrum->interval (gdouble<->guint64...
Stefan Kost [Mon, 11 Sep 2006 18:23:59 +0000 (18:23 +0000)]
gst/spectrum/gstspectrum.*: Fix type mixup in spectrum->interval (gdouble<->guint64). Spotted by

Original commit message from CVS:
* gst/spectrum/gstspectrum.c: (gst_spectrum_init),
(gst_spectrum_set_property):
* gst/spectrum/gstspectrum.h:
Fix type mixup in spectrum->interval (gdouble<->guint64). Spotted by
René Stadler

18 years agogst/spectrum/demo-osssrc.c: Use more defines
Stefan Kost [Mon, 11 Sep 2006 18:02:39 +0000 (18:02 +0000)]
gst/spectrum/demo-osssrc.c: Use more defines

Original commit message from CVS:
* gst/spectrum/demo-osssrc.c: (draw_spectrum), (main):
Use more defines
* gst/spectrum/gstspectrum.c: (gst_spectrum_init),
(gst_spectrum_dispose), (gst_spectrum_set_caps),
(gst_spectrum_transform_ip):
* gst/spectrum/gstspectrum.h:
Apply some of the spectrum cleanup changes suggested in #348085.

18 years agoconfigure.ac: Bump requirements of -base (videocrop test case needs this).
Tim-Philipp Müller [Fri, 8 Sep 2006 16:47:46 +0000 (16:47 +0000)]
configure.ac: Bump requirements of -base (videocrop test case needs this).

Original commit message from CVS:
* configure.ac:
Bump requirements of -base (videocrop test case needs this).
* gst/videocrop/gstvideocrop.c:
Document sloppy handling of subsampled chroma planes if
left/top cropping is an odd number.
* tests/check/elements/videocrop.c: (handoff_cb),
(videocrop_test_cropping_init_context),
(videocrop_test_cropping_deinit_context),
(videocrop_test_cropping), (check_1x1_buffer), (GST_START_TEST),
(videocrop_suite), (main):
Add another unit test that crops the input to 1x1 (and checks
that that pixel has the expected values in a number of formats).

18 years agogst/videocrop/: Some quick tests indicate that it doesn't make a great deal of sense...
Tim-Philipp Müller [Fri, 8 Sep 2006 11:04:24 +0000 (11:04 +0000)]
gst/videocrop/: Some quick tests indicate that it doesn't make a great deal of sense to use liboil here, at least not...

Original commit message from CVS:
* gst/videocrop/Makefile.am:
* gst/videocrop/gstvideocrop.c: (gst_video_crop_class_init),
(gst_video_crop_transform_packed),
(gst_video_crop_transform_planar):
Some quick tests indicate that it doesn't make a great deal
of sense to use liboil here, at least not for the memcpy()s
we do, so remove liboil usage until there is clear evidence
it actually makes a positive difference somewhere.

18 years agohigher up first
Thomas Vander Stichele [Sun, 3 Sep 2006 21:12:36 +0000 (21:12 +0000)]
higher up first

Original commit message from CVS:
higher up first

18 years agotests/check/elements/videocrop.c: More tests: check passthrough mode and caps transfo...
Tim-Philipp Müller [Sun, 3 Sep 2006 10:46:17 +0000 (10:46 +0000)]
tests/check/elements/videocrop.c: More tests: check passthrough mode and caps transform in both directions with fixed...

Original commit message from CVS:
* tests/check/elements/videocrop.c: (handoff_cb),
(buffer_probe_cb), (test_caps_transform), (test_passthrough),
(notgst_value_list_get_nth_int), (videocrop_suite):
More tests: check passthrough mode and caps transform in
both directions with fixed values, ranges and lists.

18 years agodocs/plugins/: Add videocrop to docs.
Tim-Philipp Müller [Sat, 2 Sep 2006 18:49:01 +0000 (18:49 +0000)]
docs/plugins/: Add videocrop to docs.

Original commit message from CVS:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-bad-plugins-docs.sgml:
* docs/plugins/gst-plugins-bad-plugins-sections.txt:
* docs/plugins/gst-plugins-bad-plugins.hierarchy:
Add videocrop to docs.
* gst/videocrop/Makefile.am:
* gst/videocrop/gstvideocrop.c:
* gst/videocrop/gstvideocrop.h:
Move boilerplate stuff and structures into a header file.
* tests/check/Makefile.am:
* tests/check/elements/.cvsignore:
* tests/check/elements/videocrop.c: (video_crop_get_test_caps),
(test_unit_sizes), (videocrop_test_cropping_init_context),
(videocrop_test_cropping_deinit_context),
(videocrop_test_cropping), (test_cropping), (videocrop_suite):
Add unit tests for videocrop.

18 years agoPort/rewrite videocrop from scratch for GStreamer-0.10, and make it support all forma...
Tim-Philipp Müller [Sat, 2 Sep 2006 15:30:45 +0000 (15:30 +0000)]
Port/rewrite videocrop from scratch for GStreamer-0.10, and make it support all formats videoscale supports (#345653).

Original commit message from CVS:
* configure.ac:
* gst/videocrop/Makefile.am:
* gst/videocrop/gstvideocrop.c: (gst_video_crop_base_init),
(gst_video_crop_class_init), (gst_video_crop_init),
(gst_video_crop_get_image_details_from_caps),
(gst_video_crop_get_unit_size), (gst_video_crop_transform_packed),
(gst_video_crop_transform_planar), (gst_video_crop_transform),
(gst_video_crop_transform_dimension),
(gst_video_crop_transform_dimension_value),
(gst_video_crop_transform_caps), (gst_video_crop_set_caps),
(gst_video_crop_set_property), (gst_video_crop_get_property),
(plugin_init):
Port/rewrite videocrop from scratch for GStreamer-0.10, and make
it support all formats videoscale supports (#345653).

18 years agosys/v4l2/: Whitespace cleanups, dashify property-names.
Stefan Kost [Sat, 2 Sep 2006 14:45:04 +0000 (14:45 +0000)]
sys/v4l2/: Whitespace cleanups, dashify property-names.

Original commit message from CVS:
* sys/v4l2/gstv4l2.c:
* sys/v4l2/gstv4l2colorbalance.c:
* sys/v4l2/gstv4l2object.c:
(gst_v4l2_object_install_properties_helper):
* sys/v4l2/gstv4l2src.c: (gst_v4l2src_class_init):
* sys/v4l2/gstv4l2src.h:
Whitespace cleanups, dashify property-names.

18 years agosys/v4l2/: Cleanup error messages and unify header comments
Stefan Kost [Sat, 2 Sep 2006 14:28:55 +0000 (14:28 +0000)]
sys/v4l2/: Cleanup error messages and unify header comments

Original commit message from CVS:
* sys/v4l2/gstv4l2.c:
* sys/v4l2/gstv4l2colorbalance.c:
* sys/v4l2/gstv4l2colorbalance.h:
* sys/v4l2/gstv4l2object.c:
* sys/v4l2/gstv4l2object.h:
* sys/v4l2/gstv4l2src.c:
* sys/v4l2/gstv4l2src.h:
* sys/v4l2/gstv4l2tuner.c:
* sys/v4l2/gstv4l2tuner.h:
* sys/v4l2/gstv4l2xoverlay.c: (gst_v4l2_xoverlay_open):
* sys/v4l2/gstv4l2xoverlay.h:
* sys/v4l2/v4l2_calls.c: (gst_v4l2_get_capabilities),
(gst_v4l2_open):
* sys/v4l2/v4l2_calls.h:
* sys/v4l2/v4l2src_calls.c: (gst_v4l2src_queue_frame),
(gst_v4l2src_capture_init):
* sys/v4l2/v4l2src_calls.h:
Cleanup error messages and unify header comments

18 years agogst/nsf/Makefile.am: Add missing GST_LIBS
Jan Schmidt [Thu, 31 Aug 2006 13:01:15 +0000 (13:01 +0000)]
gst/nsf/Makefile.am: Add missing GST_LIBS

Original commit message from CVS:
* gst/nsf/Makefile.am:
Add missing GST_LIBS

18 years agoAnother small fix to set_caps function.
Edgard Lima [Wed, 30 Aug 2006 18:01:52 +0000 (18:01 +0000)]
Another small fix to set_caps function.

Original commit message from CVS:
Another small fix to set_caps function.

18 years agoSend new_segment in GST_FORMAT_TIME instead of in GST_FORMAT_BYTES.
Edgard Lima [Wed, 30 Aug 2006 13:30:13 +0000 (13:30 +0000)]
Send new_segment in GST_FORMAT_TIME instead of in GST_FORMAT_BYTES.

Original commit message from CVS:
Send new_segment in GST_FORMAT_TIME instead of in GST_FORMAT_BYTES.

18 years agoA small fix to set_caps function.
Edgard Lima [Wed, 30 Aug 2006 11:36:06 +0000 (11:36 +0000)]
A small fix to set_caps function.

Original commit message from CVS:
A small fix to set_caps function.

18 years agogst/qtdemux/qtdemux.c: Reset each streams last_flow to GST_FLOW_OK.
Edward Hervey [Wed, 30 Aug 2006 11:27:40 +0000 (11:27 +0000)]
gst/qtdemux/qtdemux.c: Reset each streams last_flow to GST_FLOW_OK.

Original commit message from CVS:
* gst/qtdemux/qtdemux.c:
(gst_qtdemux_do_seek):
Reset each streams last_flow to GST_FLOW_OK.
(gst_qtdemux_activate_segment):
Removing mystic modifications for good.

18 years agogst/qtdemux/qtdemux.c: put back 'segment start<=stop' change that was mystically...
Stefan Kost [Wed, 30 Aug 2006 11:07:37 +0000 (11:07 +0000)]
gst/qtdemux/qtdemux.c: put back 'segment start<=stop' change that was mystically reverted by the last commit

Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (gst_qtdemux_activate_segment),
(qtdemux_parse_tree):
put back 'segment start<=stop' change that was mystically reverted by
the last commit