Commit graph

2229 commits

Author SHA1 Message Date
Edgard Lima
f1832d00b0 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.
2006-08-30 13:30:13 +00:00
Edgard Lima
b5c8a13694 A small fix to set_caps function.
Original commit message from CVS:
A small fix to set_caps function.
2006-08-30 11:36:06 +00:00
Edward Hervey
292c339a4c 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.
2006-08-30 11:27:40 +00:00
Stefan Kost
278c9c6639 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
2006-08-30 11:07:37 +00:00
Stefan Kost
669deaab52 gst/qtdemux/qtdemux.c: Fix the build for disabled debug
Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (gst_qtdemux_activate_segment),
(qtdemux_parse_tree):
Fix the build for disabled debug
2006-08-30 10:43:53 +00:00
Edgard Lima
b368225bc6 Fixed framerate negotiation.
Original commit message from CVS:
Fixed framerate negotiation.
2006-08-29 20:59:47 +00:00
Andrew Andkjar
ef178aabf9 ext/sdl/: Only de-init the subsystem we previously initialised. Avoids borkage when both sdlvideosink and sdlaudiosin...
Original commit message from CVS:
Patch by: Andrew Andkjar  <enki at goodship net>
* ext/sdl/sdlaudiosink.c: (gst_sdlaudio_sink_close):
* ext/sdl/sdlvideosink.c: (gst_sdlvideosink_supported),
(gst_sdlvideosink_deinitsdl):
Only de-init the subsystem we previously initialised. Avoids
borkage when both sdlvideosink and sdlaudiosink are used
at the same time and one is shut down.
2006-08-29 12:07:38 +00:00
Wim Taymans
d83b0ef58d gst/qtdemux/qtdemux.c: Make sure segment start<=stop in weird quicktime files.
Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (gst_qtdemux_activate_segment),
(gst_qtdemux_add_stream), (qtdemux_parse_trak),
(qtdemux_video_caps):
Make sure segment start<=stop in weird quicktime files.
2006-08-28 17:47:29 +00:00
Stefan Kost
23707c1032 sys/v4l2/v4l2_calls.c: add comments and more debug logging
Original commit message from CVS:
* sys/v4l2/v4l2_calls.c: (gst_v4l2_fill_lists):
add comments and more debug logging
2006-08-28 14:59:05 +00:00
Sebastian Dröge
93ccc87f1d ext/wavpack/gstwavpackdec.c: Post audio codec and average bitrate tags on bus (#344472).
Original commit message from CVS:
Patch by: Sebastian Dröge <slomo at circular-chaos.org>
* ext/wavpack/gstwavpackdec.c: (gst_wavpack_dec_post_tags),
(gst_wavpack_dec_chain):
Post audio codec and average bitrate tags on bus (#344472).
* ext/wavpack/gstwavpackparse.c: (gst_wavpack_parse_base_init),
(gst_wavpack_parse_src_query):
Forward queries in other formats (BYTE format in particular)
upstream; add Sebastian to authors.
2006-08-24 09:24:11 +00:00
Edgard Lima
a411f9e71a Fix set_caps to set width and height to the values the driver is really working with.
Original commit message from CVS:
Fix set_caps to set width and height to the values the driver is really working with.
2006-08-24 00:40:07 +00:00
Tim-Philipp Müller
2d7cf5f385 ext/wavpack/gstwavpackenc.c: Fix mem leak, send newsegment event on correction pad as well (#352476).
Original commit message from CVS:
* ext/wavpack/gstwavpackenc.c: (gst_wavpack_enc_push_block):
Fix mem leak, send newsegment event on correction pad
as well (#352476).
* ext/wavpack/gstwavpackparse.c: (gst_wavpack_parse_base_init):
Restore original author (on Sebastian's request).
* tests/check/Makefile.am:
* tests/check/gst-plugins-bad.supp:
Add (so far empty) suppression file for -bad. Remove
wavpackenc test from VALGRIND_TO_FIX now that the leak
is fixed.
2006-08-23 10:30:31 +00:00
Sebastian Dröge
4bd2320e4c tests/check/: Add unit tests for wavpack elements (#352476).
Original commit message from CVS:
Patch by: Sebastian Dröge <slomo at circular-chaos.org>
* tests/check/Makefile.am:
* tests/check/elements/.cvsignore:
* tests/check/elements/wavpackdec.c: (setup_wavpackdec),
(cleanup_wavpackdec), (GST_START_TEST), (wavpackdec_suite), (main):
* tests/check/elements/wavpackenc.c: (setup_wavpackenc),
(cleanup_wavpackenc), (GST_START_TEST), (wavpackenc_suite), (main):
* tests/check/elements/wavpackparse.c: (wavpackparse_found_pad),
(setup_wavpackparse), (cleanup_wavpackparse), (GST_START_TEST),
(wavpackparse_suite), (main):
Add unit tests for wavpack elements (#352476).
2006-08-23 09:22:07 +00:00
Sebastian Dröge
7381b4940c Add docs for wavpack elements (#352476).
Original commit message from CVS:
Patch by: Sebastian Dröge <slomo at circular-chaos.org>
* 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:
* docs/plugins/inspect/plugin-wavpack.xml:
* ext/wavpack/gstwavpackdec.c:
* ext/wavpack/gstwavpackdec.h:
* ext/wavpack/gstwavpackenc.c:
* ext/wavpack/gstwavpackenc.h:
* ext/wavpack/gstwavpackparse.c:
* ext/wavpack/gstwavpackparse.h:
Add docs for wavpack elements (#352476).
2006-08-23 08:52:50 +00:00
Edgard Lima
d3c716b694 Fixed query size to work with drivers that uses intermediate step like "width * height" to find closest size.
Original commit message from CVS:
Fixed query size to work with drivers that uses intermediate step like "width * height" to find closest size.
2006-08-22 20:39:26 +00:00
Thomas Vander Stichele
5fc2b32608 move gdp plugin to good.
Original commit message from CVS:

* configure.ac:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-bad-plugins-docs.sgml:
* docs/plugins/gst-plugins-bad-plugins-sections.txt:
* gst/gdp/Makefile.am:
* gst/gdp/gstgdp.c:
* gst/gdp/gstgdpdepay.c:
* gst/gdp/gstgdpdepay.h:
* gst/gdp/gstgdppay.c:
* gst/gdp/gstgdppay.h:
* tests/check/Makefile.am:
* tests/check/elements/gdpdepay.c:
* tests/check/elements/gdppay.c:
move gdp plugin to good.
2006-08-21 19:02:13 +00:00
Wim Taymans
930762e6bd gst/qtdemux/qtdemux.c: Some more constification.
Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (gst_qtdemux_add_stream), (qtdemux_parse),
(qtdemux_node_dump_foreach), (qtdemux_parse_trak),
(qtdemux_video_caps), (qtdemux_audio_caps):
Some more constification.
Fix some paletted data formats again.
Fix ulaw/alaw in qt.
Set correct caps for raw RGB.
Add support for yuv2, which is like Yuv2.
Add support for raw audio with the NONE fourcc, which is like raw.
2006-08-21 16:24:28 +00:00
Wim Taymans
17ed351232 ext/gsm/gstgsm.c: Make rank PRIMARY now that GSM seems to work fine.
Original commit message from CVS:
* ext/gsm/gstgsm.c: (plugin_init):
Make rank PRIMARY now that GSM seems to work fine.
2006-08-21 16:21:03 +00:00
Tim-Philipp Müller
11fc25f7af ext/wavpack/: More clean-ups: use shorter variable names to make code easier to read; prefix structures we define wit...
Original commit message from CVS:
* ext/wavpack/gstwavpackenc.c: (gst_wavpack_enc_init),
(gst_wavpack_enc_finalize), (gst_wavpack_enc_sink_set_caps),
(gst_wavpack_enc_set_wp_config), (gst_wavpack_enc_format_samples),
(gst_wavpack_enc_push_block), (gst_wavpack_enc_chain),
(gst_wavpack_enc_rewrite_first_block),
(gst_wavpack_enc_sink_event), (gst_wavpack_enc_change_state),
(gst_wavpack_enc_set_property), (gst_wavpack_enc_get_property):
* ext/wavpack/gstwavpackenc.h:
* ext/wavpack/gstwavpackparse.c: (gst_wavpack_parse_reset),
(gst_wavpack_parse_src_query), (gst_wavpack_parse_src_event),
(gst_wavpack_parse_init), (gst_wavpack_parse_get_upstream_length),
(gst_wavpack_parse_loop):
More clean-ups: use shorter variable names to make code easier to
read; prefix structures we define with 'Gst' to make it clearer
where they come from.
2006-08-21 13:59:52 +00:00
Tim-Philipp Müller
aea5c4eca3 ext/wavpack/gstwavpackenc.c: Fix caps set on buffers and template caps (output is framed) and make them match (#35166...
Original commit message from CVS:
* ext/wavpack/gstwavpackenc.c: (gst_wavpack_enc_init),
(gst_wavpack_enc_set_wp_config), (gst_wavpack_enc_push_block),
(gst_wavpack_enc_chain), (gst_wavpack_enc_rewrite_first_block),
(gst_wavpack_enc_sink_event):
Fix caps set on buffers and template caps (output is framed)
and make them match (#351663); use GST_WARNING_OBJECT instead of
GST_ELEMENT_WARNING; simplify push_block(); do some small
clean-ups here and there; fix memleak (#351663).
2006-08-21 13:26:37 +00:00
Sebastian Dröge
609053dae0 ext/wavpack/gstwavpackparse.c: Fix resyncing in push mode not stopping re-syncing at embedded zeroes; skip garbage be...
Original commit message from CVS:
Based on patch by: Sebastian Dröge <slomo at circular-chaos.org>
* ext/wavpack/gstwavpackparse.c: (gst_wavpack_parse_sink_event),
(gst_wavpack_parse_get_upstream_length),
(gst_wavpack_parse_find_marker), (gst_wavpack_parse_resync_loop),
(gst_wavpack_parse_loop), (gst_wavpack_parse_resync_adapter):
Fix resyncing in push mode not stopping re-syncing at embedded
zeroes; skip garbage between frames in pull mode as well if
necessary; use gst_pad_query_peer_duration(); push EOS and
NEWSEGMENT event in right direction (#351659).
2006-08-18 21:39:00 +00:00
Sebastian Dröge
f349fb3810 ext/wavpack/: In push mode, re-sync to next wavpack header if sync is lost (#351557). Also use hyphens instead of und...
Original commit message from CVS:
Patch by: Sebastian Dröge <slomo at circular-chaos.org>
* ext/wavpack/gstwavpackenc.c: (gst_wavpack_enc_class_init):
* ext/wavpack/gstwavpackparse.c:
(gst_wavpack_parse_resync_adapter), (gst_wavpack_parse_chain):
In push mode, re-sync to next wavpack header if sync is lost
(#351557). Also use hyphens instead of underscores in
GObject property names.
2006-08-16 10:40:04 +00:00
Sebastian Dröge
058dec01f1 ext/wavpack/gstwavpackparse.*: Make wavpackparse also work in push-mode (not seekable yet though); some small clean-u...
Original commit message from CVS:
* ext/wavpack/gstwavpackparse.c: (gst_wavpack_parse_class_init),
(gst_wavpack_parse_reset), (gst_wavpack_parse_get_src_query_types),
(gst_wavpack_parse_src_query),
(gst_wavpack_parse_handle_seek_event),
(gst_wavpack_parse_sink_event), (gst_wavpack_parse_init),
(gst_wavpack_parse_create_src_pad),
(gst_wavpack_parse_push_buffer), (gst_wavpack_parse_loop),
(gst_wavpack_parse_chain), (gst_wavpack_parse_sink_activate),
(gst_wavpack_parse_sink_activate_pull):
* ext/wavpack/gstwavpackparse.h:
Patch by: Sebastian Dröge <slomo at circular-chaos.org>
Make wavpackparse also work in push-mode (not seekable yet though);
some small clean-ups along the way; add support for SEEKING query
and query types function. (#351495).
2006-08-15 20:29:45 +00:00
Tim-Philipp Müller
4843f92356 Fix leaks (#351502).
Original commit message from CVS:
* ext/libfame/gstlibfame.c: (gst_fameenc_get_property):
* sys/glsink/glimagesink.c: (gst_glimage_sink_get_property):
Fix leaks (#351502).
2006-08-15 19:29:58 +00:00
Tim-Philipp Müller
9d1c15dbc7 gst/qtdemux/qtdemux.c: Extract all references/redirections if there is more than one and sort them; also extract mini...
Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (qtdemux_redirects_sort_func),
(qtdemux_process_redirects), (qtdemux_parse_tree):
Extract all references/redirections if there is more
than one and sort them; also extract minimum required
bitrate information if available. (#350399)
2006-08-14 10:06:55 +00:00
Michal Benes
b791f8e941 ext/faac/gstfaac.c: Bitrate in the faac structure is per output channel, not total bitrate (#350741).
Original commit message from CVS:
Patch by: Michal Benes  <michal.benes at itonis tv>
* ext/faac/gstfaac.c: (gst_faac_configure_source_pad):
Bitrate in the faac structure is per output channel,
not total bitrate (#350741).
2006-08-10 17:09:10 +00:00
Tim-Philipp Müller
d690153ea3 ext/xvid/gstxvidenc.c: Fix GST_ELEMENT_ERROR usage.
Original commit message from CVS:
* ext/xvid/gstxvidenc.c: (gst_xvidenc_chain):
Fix GST_ELEMENT_ERROR usage.
2006-08-09 17:41:26 +00:00
Tim-Philipp Müller
058bbf9cc3 gst/qtdemux/qtdemux.c: Fix silly typo.
Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (qtdemux_parse_tree):
Fix silly typo.
2006-08-08 14:55:53 +00:00
Edward Hervey
d4e9d1d429 tests/check/elements/gdpdepay.c: I forgot to include the file containing the #define :)
Original commit message from CVS:
* tests/check/elements/gdpdepay.c: (gdpdepay_suite):
I forgot to include the file containing the #define :)
Now includes "config.h"
2006-08-08 13:57:29 +00:00
Edward Hervey
703e3d00fd tests/check/elements/gdpdepay.c: Ignore test known to fail on PPC64. See #348114.
Original commit message from CVS:
* tests/check/elements/gdpdepay.c: (gdpdepay_suite):
Ignore test known to fail on PPC64. See #348114.
2006-08-08 13:45:44 +00:00
Edgard Lima
af9d0408cd Allow HTTP redirect (HTTP status code 302).
Original commit message from CVS:
Allow HTTP redirect (HTTP status code 302).
2006-08-04 21:04:55 +00:00
Zaheer Abbas Merali
fac7780d02 gst/gdp/gstgdpdepay.c: Fix event parsing by gdpdepay. Fixes #349916.
Original commit message from CVS:
2006-08-04  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

* gst/gdp/gstgdpdepay.c: (gst_gdp_depay_chain):
Fix event parsing by gdpdepay.  Fixes #349916.
2006-08-04 13:20:23 +00:00
cascardo at holoscopio dot com
bf35fdde2c ext/Makefile.am: Use right variables when USE_SPC is defined.
Original commit message from CVS:
Patch by:  cascardo at holoscopio dot com
* ext/Makefile.am:
Use right variables when USE_SPC is defined.
2006-08-03 14:48:22 +00:00
Wim Taymans
5929ad4ac9 gst/gdp/gstgdpdepay.c: Disable seeking.
Original commit message from CVS:
* gst/gdp/gstgdpdepay.c: (gst_gdp_depay_init),
(gst_gdp_depay_finalize), (gst_gdp_depay_sink_event),
(gst_gdp_depay_src_event), (gst_gdp_depay_chain),
(gst_gdp_depay_change_state):
Disable seeking.
Small cleanups.
Clear adapter on disconts.
Clear caps when going to READY instead of NULL
* gst/gdp/gstgdppay.c: (gst_gdp_pay_class_init),
(gst_gdp_pay_init), (gst_gdp_pay_finalize), (gst_gdp_pay_reset),
(gst_gdp_buffer_from_caps), (gst_gdp_pay_buffer_from_buffer),
(gst_gdp_buffer_from_event), (gst_gdp_pay_reset_streamheader),
(gst_gdp_queue_buffer), (gst_gdp_pay_chain),
(gst_gdp_pay_sink_event), (gst_gdp_pay_src_event),
(gst_gdp_pay_change_state):
* gst/gdp/gstgdppay.h:
Reset payloader when going to READY.
Fix leaked buffers in ->queue on push errors.
Disable seeking.
Code cleanups.
Create packetizer in _init, free in _finalize.
2006-08-02 16:56:19 +00:00
Julien Moutte
d3b76b0583 ext/directfb/dfbvideosink.c: Post an error message.
Original commit message from CVS:
2006-07-31  Julien MOUTTE  <julien@moutte.net>

* ext/directfb/dfbvideosink.c: (gst_dfbvideosink_change_state),
(gst_dfbvideosink_buffer_alloc): Post an error message.
2006-07-31 17:29:22 +00:00
Julien Moutte
f91baadfcd ext/directfb/dfbvideosink.c: Don't try allocating if we are not setup yet. Fail changing state if setup fails.
Original commit message from CVS:
2006-07-31  Julien MOUTTE  <julien@moutte.net>

* ext/directfb/dfbvideosink.c: (gst_dfbvideosink_change_state),
(gst_dfbvideosink_buffer_alloc): Don't try allocating if we are
not
setup yet. Fail changing state if setup fails.
2006-07-31 16:50:27 +00:00
Wim Taymans
f186c1b29c gst/gdp/gstgdpdepay.c: Consume all events except EOS because we generate events from the gdp payload instead. Fixes #...
Original commit message from CVS:
* gst/gdp/gstgdpdepay.c: (gst_gdp_depay_init),
(gst_gdp_depay_sink_event), (gst_gdp_depay_chain):
Consume all events except EOS because we generate events from
the gdp payload instead. Fixes #349204
2006-07-31 08:48:36 +00:00
Tim-Philipp Müller
d2f5567653 ext/xvid/gstxviddec.*: Clean-ups and code reflows. Pass return value from gst_pad_alloc_buffer() upstream among other...
Original commit message from CVS:
* ext/xvid/gstxviddec.c: (gst_xviddec_init), (gst_xviddec_reset),
(gst_xviddec_unset), (gst_xviddec_handle_sink_event),
(gst_xviddec_setup), (gst_xviddec_negotiate), (gst_xviddec_chain),
(gst_xviddec_flush_buffers), (gst_xviddec_src_getcaps),
(gst_xviddec_setcaps), (gst_xviddec_change_state):
* ext/xvid/gstxviddec.h:
Clean-ups and code reflows. Pass return value from
gst_pad_alloc_buffer() upstream among other things. Also check
for NULL GValue before using GST_VALUE_TYPE macro (#348976).
Mass rename of xviddec -> dec variable for better
code readability.
2006-07-28 12:14:06 +00:00
Tim-Philipp Müller
4ecc32c468 ext/xvid/gstxvid.c: Fix size calculation for I420/YV12. Fixes #348976.
Original commit message from CVS:
* ext/xvid/gstxvid.c: (gst_xvid_image_fill):
Fix size calculation for I420/YV12. Fixes #348976.
2006-07-28 10:19:02 +00:00
Wim Taymans
3ca2e121ec ext/gsm/: Fix negotiation.
Original commit message from CVS:
* ext/gsm/gstgsmdec.c: (gst_gsmdec_init),
(gst_gsmdec_sink_setcaps), (gst_gsmdec_sink_event):
* ext/gsm/gstgsmenc.c: (gst_gsmenc_init), (gst_gsmenc_setcaps):
Fix negotiation.
2006-07-27 10:50:39 +00:00
Thomas Vander Stichele
b093995aa9 gst/gdp/gstgdpdepay.c: proxying get/set caps is the wrong thing to do, since we really do change caps quite fundament...
Original commit message from CVS:
* gst/gdp/gstgdpdepay.c: (gst_gdp_depay_init):
proxying get/set caps is the wrong thing to do, since we really
do change caps quite fundamentally
* tests/check/elements/gdpdepay.c:
* tests/check/elements/gdppay.c:
remove declaration of buffers, it's already done in gstcheck.h
2006-07-26 10:52:05 +00:00
Sébastien Moutte
454c252335 sys/directsound/gstdirectsoundsink.*: Add an attenuation property that will directly attenuate the directsound buffer.
Original commit message from CVS:
* sys/directsound/gstdirectsoundsink.h:
* sys/directsound/gstdirectsoundsink.c:
Add an attenuation property that will directly attenuate the
directsound buffer.
Change the size of the directsound secondary buffer to a half second.
Add more debug logs.
Add a lock to protect dsound buffer write access.
Fix a bad implementation of reset.
* sys/directsound/gstdirectdrawsink.c:
* sys/directsound/gstdirectdrawsink.h:
Add a keep_aspect_ratio property.
Do not use overlay if not supported.
Add more debug logs.
Remove overwrite of WM_ERASEBKGND message handling. It was not
redrawing border when keep_aspect_ratio was enabled.
* win32/common/config.h:
update version waiting an auto-generated config.h
2006-07-24 21:43:06 +00:00
Chris Lee
b7f35a1240 Add libopenspc-based SPC decoder element (#348220).
Original commit message from CVS:
Patch by: Chris Lee  <clee at kde org>
* configure.ac:
* ext/Makefile.am:
* ext/spc/Makefile.am:
* ext/spc/gstspc.c: (spc_negotiate), (gst_spc_dec_base_init),
(gst_spc_dec_class_init), (gst_spc_dec_init), (gst_spc_dec_chain),
(gst_spc_dec_sink_event), (gst_spc_dec_src_event),
(gst_spc_dec_src_query), (spc_play), (spc_setup),
(gst_spc_dec_change_state), (plugin_init):
* ext/spc/gstspc.h:
Add libopenspc-based SPC decoder element (#348220).
2006-07-23 11:52:34 +00:00
Martin Szulecki
c8e459496b sys/v4l2/gstv4l2object.c: If "device-name" is requested and the device is not open, try to temporarily open it to obt...
Original commit message from CVS:
Patch by: Martin Szulecki
* sys/v4l2/gstv4l2object.c: (gst_v4l2_object_get_property_helper):
If "device-name" is requested and the device is not
open, try to temporarily open it to obtain this
information (#342494).
2006-07-19 14:36:00 +00:00
Tim-Philipp Müller
1e5dc348d4 gst/nsf/nsf.c: Really fix compilation. Apparently it's not enough to just check the return value for errors, but we n...
Original commit message from CVS:
* gst/nsf/nsf.c: (nsf_load):
Really fix compilation. Apparently it's not enough to
just check the return value for errors, but we need to
check for short reads as well (now if only we handled
them too ...). Fixes #347935.
2006-07-19 11:43:50 +00:00
Tim-Philipp Müller
d9f52eff8b ext/wavpack/gstwavpackdec.c: Fix caps after previous change to byte order endianness.
Original commit message from CVS:
* ext/wavpack/gstwavpackdec.c: (gst_wavpack_dec_chain):
Fix caps after previous change to byte order endianness.
* ext/wavpack/gstwavpackparse.c: (gst_wavpack_parse_reset),
(gst_wavpack_parse_sink_event), (gst_wavpack_parse_init),
(gst_wavpack_parse_loop):
* ext/wavpack/gstwavpackparse.h:
Queue incoming events if there's no source pad yet and
send them downstream later when the pad is there.
2006-07-18 18:05:15 +00:00
Tim-Philipp Müller
8327499026 ext/wavpack/gstwavpackdec.*: Output audio in native byte order (which is also how we get samples from wavpack); outpu...
Original commit message from CVS:
* ext/wavpack/gstwavpackdec.c: (gst_wavpack_dec_init),
(gst_wavpack_dec_format_samples),
(gst_wavpack_dec_clip_outgoing_buffer), (gst_wavpack_dec_chain),
(gst_wavpack_dec_change_state):
* ext/wavpack/gstwavpackdec.h:
Output audio in native byte order (which is also how we get
samples from wavpack); output samples with 21-24 bit depth
with 32 bit width (makes things easier for us).
2006-07-18 16:47:25 +00:00
Tim-Philipp Müller
37fe4c9cc7 ext/wavpack/gstwavpackdec.*: More clean-ups: remove most of the disfunctional correction pad stuff for now, if it eve...
Original commit message from CVS:
* ext/wavpack/gstwavpackdec.c: (gst_wavpack_dec_base_init),
(gst_wavpack_dec_class_init), (gst_wavpack_dec_init),
(gst_wavpack_dec_finalize), (gst_wavpack_dec_format_samples),
(gst_wavpack_dec_clip_outgoing_buffer), (gst_wavpack_dec_chain),
(gst_wavpack_dec_sink_event), (gst_wavpack_dec_change_state):
* ext/wavpack/gstwavpackdec.h:
More clean-ups: remove most of the disfunctional correction
pad stuff for now, if it ever gets implemented a lot of stuff
will have to be rewritten anyway; redo chain function, move
errors to end, error out instead of g_assert()ing. Also rename
overly long variable 'wavpackdec' to just 'dec'; miscellaneous
other small stuff.
2006-07-18 15:53:35 +00:00
Sebastian Dröge
8dd45c0027 configure.ac: Check for wavpack version and define WAVPACK_OLD_API if necessary.
Original commit message from CVS:
Patch by: Sebastian Dröge <slomo at circular-chaos.org>
* configure.ac:
Check for wavpack version and define WAVPACK_OLD_API if
necessary.
* ext/wavpack/Makefile.am:
* ext/wavpack/gstwavpackcommon.c: (gst_wavpack_read_header),
(gst_wavpack_read_metadata):
* ext/wavpack/gstwavpackcommon.h:
* ext/wavpack/gstwavpackdec.c: (gst_wavpack_dec_base_init),
(gst_wavpack_dec_class_init), (gst_wavpack_dec_init),
(gst_wavpack_dec_finalize), (gst_wavpack_dec_format_samples),
(gst_wavpack_dec_clip_outgoing_buffer), (gst_wavpack_dec_chain),
(gst_wavpack_dec_sink_event), (gst_wavpack_dec_change_state),
(gst_wavpack_dec_request_new_pad), (gst_wavpack_dec_plugin_init):
* ext/wavpack/gstwavpackdec.h:
* ext/wavpack/gstwavpackenc.c: (gst_wavpack_enc_class_init),
(gst_wavpack_enc_init), (gst_wavpack_enc_finalize),
(gst_wavpack_enc_set_wp_config):
* ext/wavpack/gstwavpackparse.c: (gst_wavpack_parse_base_init),
(gst_wavpack_parse_finalize), (gst_wavpack_parse_class_init),
(gst_wavpack_parse_index_get_entry_from_sample),
(gst_wavpack_parse_scan_to_find_sample),
(gst_wavpack_parse_handle_seek_event),
(gst_wavpack_parse_create_src_pad):
* ext/wavpack/gstwavpackstreamreader.c:
* ext/wavpack/gstwavpackstreamreader.h:
Port to new/official wavpack API, don't use API that was exported
in wavpack header files and in the lib but meant to be private, at
least not for recent wavpack versions; misc. 'cleanups' (#347443).
2006-07-18 14:08:06 +00:00
Wim Taymans
4071cd900f gst/nsf/nsf.c: Fix compilation by not ignoring return values of fread.
Original commit message from CVS:
* gst/nsf/nsf.c: (nsf_load):
Fix compilation by not ignoring return values of fread.
2006-07-18 09:36:46 +00:00