Commit graph

932 commits

Author SHA1 Message Date
Michael Smith
a6058388c1 ext/soundtouch/gstpitch.cc: If we receive a new segment event, don't try to push buffers out in response (without fir...
Original commit message from CVS:
* ext/soundtouch/gstpitch.cc:
If we receive a new segment event, don't try to push buffers out
in response (without first sending it on!).
Instead, flush internal buffers on receiving flush events.
Fixes playback after seeking.
2007-07-18 20:56:22 +00:00
Stefan Kost
d7f9aaebf3 ext/jack/gstjackaudiosink.c: Add stdlib include here too.
Original commit message from CVS:
* ext/jack/gstjackaudiosink.c: (gst_jack_ring_buffer_open_device),
(gst_jack_ring_buffer_acquire):
Add stdlib include here too.
2007-07-18 07:42:47 +00:00
Stefan Kost
f56adf75ca Add stdlib include (free, atoi, exit).
Original commit message from CVS:
* examples/app/appsrc_ex.c:
* examples/switch/switcher.c:
* ext/neon/gstneonhttpsrc.c:
* ext/timidity/gstwildmidi.c:
* ext/x264/gstx264enc.c:
* gst/mve/mveaudioenc.c: (mve_compress_audio):
* gst/rtpmanager/gstrtpclient.c:
* gst/rtpmanager/gstrtpjitterbuffer.c:
* gst/spectrum/demo-audiotest.c:
* gst/spectrum/demo-osssrc.c:
* sys/dvb/gstdvbsrc.c:
Add stdlib include (free, atoi, exit).
2007-07-18 07:35:32 +00:00
Sebastian Dröge
7da951e3d5 ext/faad/gstfaad.c: Fix buffer clipping to correctly clip to the segment stop.
Original commit message from CVS:
* ext/faad/gstfaad.c: (clip_outgoing_buffer):
Fix buffer clipping to correctly clip to the segment stop.
2007-07-16 09:19:14 +00:00
Tim-Philipp Müller
dd5f54e22d docs/plugins/inspect/: Add missing inspect files. Fixes build (#454313).
Original commit message from CVS:
* docs/plugins/inspect/plugin-amrwb.xml:
* docs/plugins/inspect/plugin-equalizer.xml:
* docs/plugins/inspect/plugin-multifile.xml:
* docs/plugins/inspect/plugin-timidity.xml:
* docs/plugins/inspect/plugin-wildmidi.xml:
Add missing inspect files. Fixes build (#454313).
* ext/timidity/gstwildmidi.c: (wildmidi_open_config):
Scream a bit louder when initialisation fails.
* gst-libs/README:
* gst-libs/ext/.cvsignore:
Remove some cruft.
2007-07-06 21:07:21 +00:00
Tim-Philipp Müller
4c612e655b ext/ivorbis/Makefile.am: Dist header files. Fixes #454078.
Original commit message from CVS:
* ext/ivorbis/Makefile.am:
Dist header files. Fixes #454078.
2007-07-05 22:28:04 +00:00
Stefan Kost
59a213c6d9 docs/plugins/Makefile.am: Simplify --extra-dir as gtkdoc scans recursively.
Original commit message from CVS:
* docs/plugins/Makefile.am:
Simplify --extra-dir as gtkdoc scans recursively.
* ext/amrwb/gstamrwbenc.c:
Fix comment start.
2007-07-05 08:45:32 +00:00
Stefan Kost
2aa5ce3111 Also document AMR-WB elements.
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:
* ext/amrwb/gstamrwbdec.c:
* ext/amrwb/gstamrwbenc.c:
* ext/amrwb/gstamrwbparse.c:
Also document AMR-WB elements.
2007-07-03 09:18:22 +00:00
Stefan Kost
c0882012bb ext/timidity/: Fix licence (both are GPL). Add element docs.
Original commit message from CVS:
* ext/timidity/gsttimidity.c:
* ext/timidity/gstwildmidi.c:
* ext/timidity/gstwildmidi.h:
Fix licence (both are GPL). Add element docs.
2007-07-03 07:41:34 +00:00
Stefan Kost
25e357f180 ext/musicbrainz/gsttrm.h: Fix _get_type signature.
Original commit message from CVS:
* ext/musicbrainz/gsttrm.h:
Fix _get_type signature.
2007-07-03 07:30:47 +00:00
Jan Schmidt
2165bc4bed ext/dc1394/gstdc1394.c: Make a bunch of functions static, and move variable declarations to the start of blocks to av...
Original commit message from CVS:
* ext/dc1394/gstdc1394.c: (gst_dc1394_src_fixate),
(gst_dc1394_create), (gst_dc1394_caps_set_format_vmode_caps),
(gst_dc1394_set_caps_framesize_range),
(gst_dc1394_caps_set_framerate_list), (gst_dc1394_get_cam_caps),
(gst_dc1394_framerate_frac_to_const),
(gst_dc1394_open_cam_with_best_caps):
Make a bunch of functions static, and move variable declarations
to the start of blocks to avoid problems on older gcc.
Make sure to unset value types.
2007-06-29 15:23:34 +00:00
Jan Schmidt
e1ffe6d0d4 ext/dc1394/gstdc1394.c: The correct fourcc for the 4:1:1 packed format is 'IYU1'.
Original commit message from CVS:
* ext/dc1394/gstdc1394.c: (gst_dc1394_set_caps_color):
The correct fourcc for the 4:1:1 packed format is 'IYU1'.
With CVS of ffmpegcolorspace from plugins-base, I can now
get 30 fps from the iSight.
2007-06-29 14:48:59 +00:00
Jan Schmidt
ddf42d0772 ext/dc1394/gstdc1394.c: Change a g_print to a GST_DEBUG message.
Original commit message from CVS:
* ext/dc1394/gstdc1394.c: (gst_dc1394_set_caps_color):
Change a g_print to a GST_DEBUG message.
2007-06-29 14:11:24 +00:00
Eric Jonas
96a1ebf963 Commit new dc1394src element.
Original commit message from CVS:
* configure.ac:
* ext/Makefile.am:
* ext/dc1394/Makefile.am:
* ext/dc1394/gstdc1394.c: (gst_dc1394_base_init),
(gst_dc1394_class_init), (gst_dc1394_init),
(gst_dc1394_src_fixate), (gst_dc1394_set_property),
(gst_dc1394_get_property), (gst_dc1394_getcaps),
(gst_dc1394_setcaps), (gst_dc1394_get_times), (gst_dc1394_create),
(gst_dc1394_parse_caps), (gst_dc1394_change_state),
(gst_dc1394_caps_set_format_vmode_caps),
(gst_dc1394_set_caps_color), (gst_dc1394_set_caps_framesize),
(gst_dc1394_set_caps_framesize_range),
(gst_dc1394_caps_set_framerate_list),
(gst_dc1394_framerate_const_to_frac),
(gst_dc1394_get_all_dc1394_caps), (gst_dc1394_get_cam_caps),
(gst_dc1394_framerate_frac_to_const),
(gst_dc1394_open_cam_with_best_caps),
(gst_dc1394_change_camera_transmission), (plugin_init):
* ext/dc1394/gstdc1394.h:
Commit new dc1394src element.
Patch By: Eric Jonas < jonas at mit dot edu >
Close: #387251
2007-06-29 13:03:27 +00:00
Tim-Philipp Müller
5827f80d62 gconf/: Remove dysfunctional directory (this stuff is in -good).
Original commit message from CVS:
* gconf/.cvsignore:
* gconf/Makefile.am:
* gconf/gstreamer.schemas.in:
Remove dysfunctional directory (this stuff is in -good).
* ext/sndfile/gstsf.c: (plugin_init):
* sys/dvb/gstdvbsrc.c: (plugin_init):
Add i18n bindtextdomain stuff.
* gst/nuvdemux/gstnuvdemux.c: (gst_nuv_demux_class_init),
(plugin_init):
Post an error message when returning GST_FLOW_ERROR; minor cleanups.
* po/POTFILES.in:
Add more source files with translatable strings (fixes #450605).
2007-06-25 11:02:21 +00:00
Edward Hervey
b8a18741d8 Fix leaks.
Original commit message from CVS:
* ext/amrwb/gstamrwbdec.c: (gst_amrwbdec_init):
* ext/amrwb/gstamrwbenc.c: (gst_amrwbenc_init):
* ext/amrwb/gstamrwbparse.c: (gst_amrwbparse_init):
* ext/audioresample/gstaudioresample.c:
* ext/bz2/gstbz2dec.c: (gst_bz2dec_init):
* ext/bz2/gstbz2enc.c: (gst_bz2enc_init):
* ext/divx/gstdivxdec.c: (gst_divxdec_init):
* ext/divx/gstdivxenc.c: (gst_divxenc_init):
* ext/faac/gstfaac.c: (gst_faac_init):
* ext/gsm/gstgsmdec.c: (gst_gsmdec_init):
* ext/gsm/gstgsmenc.c: (gst_gsmenc_init):
* ext/hermes/gsthermescolorspace.c: (gst_hermes_colorspace_init):
* ext/lcs/gstcolorspace.c: (gst_colorspace_init):
* ext/libfame/gstlibfame.c: (gst_fameenc_init):
* ext/snapshot/gstsnapshot.c: (gst_snapshot_init):
* ext/spc/gstspc.c: (gst_spc_dec_init):
* ext/swfdec/gstswfdec.c: (gst_swfdec_init):
* ext/xvid/gstxvidenc.c: (gst_xvidenc_init):
* gst/cdxaparse/gstcdxaparse.c: (gst_cdxa_parse_init):
* gst/cdxaparse/gstcdxastrip.c: (gst_cdxastrip_init):
* gst/chart/gstchart.c: (gst_chart_init):
* gst/colorspace/gstcolorspace.c: (gst_colorspace_init):
* gst/festival/gstfestival.c: (gst_festival_init):
* gst/freeze/gstfreeze.c: (gst_freeze_init):
* gst/mixmatrix/mixmatrix.c: (gst_mixmatrix_request_new_pad):
* gst/mpeg1sys/gstmpeg1systemencode.c: (gst_system_encode_init):
* gst/mpeg2sub/gstmpeg2subt.c: (gst_mpeg2subt_init):
* gst/nsf/gstnsf.c: (gst_nsfdec_init):
* gst/overlay/gstoverlay.c: (gst_overlay_init):
* gst/passthrough/gstpassthrough.c: (passthrough_init):
* gst/playondemand/gstplayondemand.c: (play_on_demand_init):
* gst/smooth/gstsmooth.c: (gst_smooth_init):
* gst/smoothwave/gstsmoothwave.c: (gst_smoothwave_init):
* gst/speed/gstspeed.c: (speed_init):
* gst/vbidec/gstvbidec.c: (gst_vbidec_init):
* gst/videodrop/gstvideodrop.c: (gst_videodrop_init):
* sys/dxr3/dxr3spusink.c: (dxr3spusink_init):
* sys/dxr3/dxr3videosink.c: (dxr3videosink_init):
* sys/qcam/gstqcamsrc.c: (gst_qcamsrc_init):
Fix leaks.
2007-06-22 10:46:33 +00:00
Stefan Kost
80928eba03 ext/amrwb/: Add newsegment and discont handling. Some code cleanups. Don't leak the adapter, unref it in a new finali...
Original commit message from CVS:
* ext/amrwb/gstamrwbdec.c: (gst_amrwbdec_base_init),
(gst_amrwbdec_class_init), (gst_amrwbdec_finalize),
(gst_amrwbdec_event), (gst_amrwbdec_chain),
(gst_amrwbdec_state_change):
* ext/amrwb/gstamrwbdec.h:
* ext/amrwb/gstamrwbparse.c: (gst_amrwbparse_base_init),
(gst_amrwbparse_pull_header), (gst_amrwbparse_loop):
Add newsegment and discont handling. Some code cleanups. Don't leak
the adapter, unref it in a new finalize method instead. Sync the
parser with the amr-nb changes.
2007-06-20 08:42:17 +00:00
Thomas Vander Stichele
6bd7199f3a Move wavpack 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:
* docs/plugins/gst-plugins-bad-plugins.hierarchy:
* docs/plugins/inspect/plugin-wavpack.xml:
* ext/Makefile.am:
* ext/wavpack/Makefile.am:
* ext/wavpack/gstwavpack.c:
* ext/wavpack/gstwavpackcommon.c:
* ext/wavpack/gstwavpackcommon.h:
* ext/wavpack/gstwavpackdec.c:
* ext/wavpack/gstwavpackdec.h:
* ext/wavpack/gstwavpackenc.c:
* ext/wavpack/gstwavpackenc.h:
* ext/wavpack/gstwavpackparse.c:
* ext/wavpack/gstwavpackparse.h:
* ext/wavpack/gstwavpackstreamreader.c:
* ext/wavpack/gstwavpackstreamreader.h:
* ext/wavpack/md5.c:
* ext/wavpack/md5.h:
* tests/check/Makefile.am:
* tests/check/elements/wavpackdec.c:
* tests/check/elements/wavpackenc.c:
* tests/check/elements/wavpackparse.c:
Move wavpack to good.
2007-06-08 20:20:34 +00:00
Tim-Philipp Müller
0f7d9f156a When driving the pipeline, also post an error when we get a not-linked flow return from downstream.
Original commit message from CVS:
* ext/timidity/gsttimidity.c: (gst_timidity_loop):
* ext/timidity/gstwildmidi.c: (gst_wildmidi_loop):
* gst/tta/gstttaparse.c: (gst_tta_parse_loop):
When driving the pipeline, also post an error when we get a
not-linked flow return from downstream.
2007-06-08 16:49:41 +00:00
Tim-Philipp Müller
23c17776e7 ext/sdl/: Add GST_CFLAGS, which apparently somehow fixes the build somewhere (#444499); initialise variable to avoid ...
Original commit message from CVS:
* ext/sdl/Makefile.am:
* ext/sdl/sdlvideosink.c: (gst_sdlv_process_events):
Add GST_CFLAGS, which apparently somehow fixes the build somewhere
(#444499); initialise variable to avoid false compiler warning.
2007-06-06 08:06:44 +00:00
Tim-Philipp Müller
54cadb7e0f ext/neon/gstneonhttpsrc.c: Don't leak buffer when returning an error.
Original commit message from CVS:
* ext/neon/gstneonhttpsrc.c: (gst_neonhttp_src_create):
Don't leak buffer when returning an error.
2007-06-01 11:59:52 +00:00
René Stadler
c10bf9272b ext/neon/gstneonhttpsrc.*: Deprecated "uri" property. Clean up property descriptions.
Original commit message from CVS:
Patch by René Stadler <mail at renestadler dot de>:
* ext/neon/gstneonhttpsrc.c: (gst_neonhttp_src_class_init),
(gst_neonhttp_src_init), (gst_neonhttp_src_dispose),
(gst_neonhttp_src_set_property), (gst_neonhttp_src_get_property),
(gst_neonhttp_src_start), (gst_neonhttp_src_do_seek),
(gst_neonhttp_src_set_location),
(gst_neonhttp_src_send_request_and_redirect),
(gst_neonhttp_src_uri_get_uri), (gst_neonhttp_src_uri_set_uri):
* ext/neon/gstneonhttpsrc.h:
Deprecated "uri" property.  Clean up property descriptions.
Change default User-Agent to the slightly more descriptive
"GStreamer neonhttpsrc".
Various other small cleanups, mostly property related.
2007-06-01 09:58:01 +00:00
Tim-Philipp Müller
8dbb65ff36 ext/libmms/gstmms.h: No reason to use gpointers instead of typed pointes here as far as I can see.
Original commit message from CVS:
* ext/libmms/gstmms.h:
No reason to use gpointers instead of typed pointes here as far as I
can see.
* ext/mythtv/gstmythtvsrc.c:
* ext/neon/gstneonhttpsrc.c:
* gst/switch/gstswitch.c:
Don't use gtk-doc magic markers for things that aren't meant to be
parsed by gtk-doc. Makes gtk-doc complain a bit less.
2007-05-31 19:12:37 +00:00
René Stadler
7935a424b1 ext/sdl/sdlvideosink.c: Separate the authors by newlines instead of nothing. Fixes #440774.
Original commit message from CVS:
Patch by René Stadler <mail at renestadler dot de>:
* ext/sdl/sdlvideosink.c:
Separate the authors by newlines instead of nothing. Fixes #440774.
2007-05-23 18:00:15 +00:00
Sebastian Dröge
500ed581ae ext/wavpack/gstwavpackenc.c: Specify and use properties as unsigned int that are an unsigned int.
Original commit message from CVS:
* ext/wavpack/gstwavpackenc.c: (gst_wavpack_enc_class_init),
(gst_wavpack_enc_set_property), (gst_wavpack_enc_get_property):
Specify and use properties as unsigned int that are an unsigned int.
2007-05-21 11:37:16 +00:00
Sebastian Dröge
833add88eb ext/wavpack/gstwavpackenc.*: Fixup docs, make the bitrate property an int as it should be and allow to set the differ...
Original commit message from CVS:
* ext/wavpack/gstwavpackenc.c: (gst_wavpack_enc_class_init),
(gst_wavpack_enc_init), (gst_wavpack_enc_set_wp_config),
(gst_wavpack_enc_set_property), (gst_wavpack_enc_get_property):
* ext/wavpack/gstwavpackenc.h:
Fixup docs, make the bitrate property an int as it should be and
allow to set the different extra processing modes instead of only
allowing none and the default one.
2007-05-21 11:17:21 +00:00
Sebastian Dröge
e425c5f02b ext/wavpack/gstwavpackenc.c: Add missing audioconverts in the example pipelines of wavpackenc. As the wavpack stuff n...
Original commit message from CVS:
* ext/wavpack/gstwavpackenc.c:
Add missing audioconverts in the example pipelines of wavpackenc. As
the wavpack stuff now needs input with 32 bit width (and random depth)
this is needed now. The example pipelines for the parser and decoder
are still fine.
2007-05-20 21:31:58 +00:00
Stefan Kost
d337dda736 ext/amrwb/gstamrwbdec.c (gst_amrwbdec_debug, GST_CAT_DEFAULT, _do_init, gst_amrwbdec_base_init, gst_amrwbdec_class_in...
Original commit message from CVS:
* ext/amrwb/gstamrwbdec.c (gst_amrwbdec_debug, GST_CAT_DEFAULT,
_do_init, gst_amrwbdec_base_init, gst_amrwbdec_class_init):
* ext/amrwb/gstamrwbenc.c (gst_amrwbenc_debug, GST_CAT_DEFAULT,
_do_init, gst_amrwbenc_base_init, gst_amrwbenc_class_init):
* ext/amrwb/gstamrwbparse.c (gst_amrwbparse_debug, GST_CAT_DEFAULT,
_do_init, gst_amrwbparse_base_init, gst_amrwbparse_class_init):
First round of cleanups, that use GST_BOILERPLATE, GST_ELEMENT_DETAILS,
GST_DEBUG_FUNCPTR and add log-category.
2007-05-18 09:35:28 +00:00
Stanislav Brabec
a7c38b8b37 Use external shared libamrwb. Fixes #423741 (with lots of cleanup).
Original commit message from CVS:
patch by: Stanislav Brabec <sbrabec@suse.cz>
* configure.ac:
* ext/amrwb/Makefile.am:
* ext/amrwb/amrwb-code/Makefile.am:
* ext/amrwb/amrwb-code/amrwb/Makefile.am:
* ext/amrwb/amrwb-code/amrwb/README:
* ext/amrwb/gstamrwbdec.c:
* ext/amrwb/gstamrwbdec.h (__GST_AMRWBDEC_H__):
* ext/amrwb/gstamrwbenc.h (__GST_AMRWBENC_H__):
* ext/amrwb/gstamrwbparse.c:
* ext/amrwb/gstamrwbparse.h (__GST_AMRWBPARSE_H__):
* gst-libs/Makefile.am:
* gst-libs/ext/Makefile.am:
* gst-libs/ext/amrwb/Makefile.am:
* gst-libs/ext/amrwb/README:
Use external shared libamrwb. Fixes #423741 (with lots of cleanup).
2007-05-16 13:50:51 +00:00
Stefan Kost
ddb70fda50 ext/x264/gstx264enc.c (gst_x264_enc_init_encoder): This needs a version check.
Original commit message from CVS:
* ext/x264/gstx264enc.c (gst_x264_enc_init_encoder):
This needs a version check.
* gst/bayer/Makefile.am:
Fix the build.
2007-05-15 21:23:53 +00:00
David Schleef
e8cabbd3fd ext/neon/gstneonhttpsrc.c: Make redirection the default behavior. Fixes #413818.
Original commit message from CVS:
* ext/neon/gstneonhttpsrc.c:
Make redirection the default behavior.  Fixes #413818.
2007-05-13 07:08:06 +00:00
Sebastian Dröge
2450ca4d3a ext/wavpack/gstwavpack.c: Call bindtextdomain() to get localized strings.
Original commit message from CVS:
* ext/wavpack/gstwavpack.c: (plugin_init):
Call bindtextdomain() to get localized strings.
* ext/wavpack/gstwavpackdec.c: (gst_wavpack_dec_chain):
* ext/wavpack/gstwavpackparse.c: (gst_wavpack_parse_reset),
(gst_wavpack_parse_handle_seek_event),
(gst_wavpack_parse_push_buffer), (gst_wavpack_parse_chain):
* ext/wavpack/gstwavpackparse.h:
Handle DISCONT buffers by correctly setting the DISCONT flag
on outgoing buffers when necessary.
* ext/wavpack/gstwavpackparse.c: (gst_wavpack_parse_handle_seek_event)
Send newsegment from the streaming thread.
2007-05-02 18:31:16 +00:00
Sebastian Dröge
842e4f6220 ext/wavpack/gstwavpackparse.c: Remove old workaround that was needed when seeking after the last sample. With the fix...
Original commit message from CVS:
* ext/wavpack/gstwavpackparse.c:
(gst_wavpack_parse_handle_seek_event):
Remove old workaround that was needed when seeking after the last
sample. With the fixed error handling this works now as expected
without pushing the last sample although it wasn't requested.
2007-05-02 16:58:06 +00:00
Sebastian Dröge
eee3562f09 ext/wavpack/gstwavpackparse.c: Handle segment seeks in the seek event handler, correctly work with stop position == -...
Original commit message from CVS:
* ext/wavpack/gstwavpackparse.c:
(gst_wavpack_parse_handle_seek_event):
Handle segment seeks in the seek event handler, correctly work with
stop position == -1 and instead of stopping the task on seek just
pause it.
2007-05-02 16:45:43 +00:00
Sebastian Dröge
3d4f863745 ext/wavpack/gstwavpackparse.c: Add handling for segment seeks.
Original commit message from CVS:
* ext/wavpack/gstwavpackparse.c: (gst_wavpack_parse_loop):
Add handling for segment seeks.
2007-05-02 16:19:58 +00:00
Sebastian Dröge
405a00c2ce ext/wavpack/gstwavpackparse.c: Correctly handle errors, especially in the loop function. Before it was easy to get th...
Original commit message from CVS:
* ext/wavpack/gstwavpackparse.c: (gst_wavpack_parse_pull_buffer),
(gst_wavpack_parse_create_src_pad),
(gst_wavpack_parse_resync_loop), (gst_wavpack_parse_loop),
(gst_wavpack_parse_chain):
Correctly handle errors, especially in the loop function. Before it
was easy to get the task paused but no error being posted on the bus.
2007-05-02 15:13:04 +00:00
Thomas Vander Stichele
2a0c6660cb autogen.sh: Require automake 1.7
Original commit message from CVS:
* autogen.sh:
Require automake 1.7
* ext/alsaspdif/Makefile.am:
* ext/divx/Makefile.am:
* ext/ivorbis/Makefile.am:
* ext/musicbrainz/Makefile.am:
* ext/neon/Makefile.am:
* ext/sdl/Makefile.am:
* ext/swfdec/Makefile.am:
* ext/theora/Makefile.am:
* ext/wavpack/Makefile.am:
* ext/xvid/Makefile.am:
* gst/modplug/Makefile.am:
Fix up Makefile.am accordingly.
2007-04-29 13:53:17 +00:00
Michael Smith
d437aba4c4 ext/faad/gstfaad.c: FAAD fails to decode low (e.g. 8 kHz) sample rate AAC data in quicktime because of sample rate mi...
Original commit message from CVS:
* ext/faad/gstfaad.c: (gst_faad_open_decoder):
FAAD fails to decode low (e.g. 8 kHz) sample rate AAC data in
quicktime because of sample rate mismatches.
Reenable overriding the implicit SBR behaviour (accidently changed?)
to allow playback of these files.
2007-04-20 15:31:32 +00:00
Stefan Kost
1f426a417e ext/jack/gstjackaudiosink.c: Try t better name clients. properly handle return codes when re- establishing links.
Original commit message from CVS:
* ext/jack/gstjackaudiosink.c: (gst_jack_ring_buffer_open_device),
(gst_jack_ring_buffer_acquire):
Try t better name clients. properly handle return codes when re-
establishing links.
2007-04-04 07:36:28 +00:00
Sebastian Dröge
14c0bebf4b ext/wavpack/: Don't play audioconvert. As wavpack wants/outputs all samples with width==32 and depth=[1,32] accept th...
Original commit message from CVS:
* ext/wavpack/gstwavpackdec.c: (gst_wavpack_dec_reset),
(gst_wavpack_dec_init), (gst_wavpack_dec_sink_set_caps),
(gst_wavpack_dec_clip_outgoing_buffer),
(gst_wavpack_dec_post_tags), (gst_wavpack_dec_chain):
* ext/wavpack/gstwavpackdec.h:
* ext/wavpack/gstwavpackenc.c: (gst_wavpack_enc_reset),
(gst_wavpack_enc_sink_set_caps), (gst_wavpack_enc_set_wp_config),
(gst_wavpack_enc_chain):
* ext/wavpack/gstwavpackenc.h:
* ext/wavpack/gstwavpackparse.c:
Don't play audioconvert. As wavpack wants/outputs all samples with
width==32 and depth=[1,32] accept this and let audioconvert convert
to accepted formats instead of doing it in the element for n*8 depths.
This also adds support for non-n*8 depths and prevents some useless
memory allocations. Fixes #421598
Also add a workaround for bug #421542 in wavpackenc for now...
* tests/check/elements/wavpackdec.c: (GST_START_TEST):
* tests/check/elements/wavpackenc.c: (GST_START_TEST):
* tests/check/elements/wavpackparse.c: (GST_START_TEST):
Consider the change above in the unit tests and test if the correct
caps are accepted and set. Also check for GST_BUFFER_OFFSET_END in
the wavpackparse unit test.
* ext/wavpack/gstwavpackdec.c: (gst_wavpack_dec_init),
(gst_wavpack_dec_sink_set_caps):
Set caps on the src pad as soon as possible.
* ext/wavpack/gstwavpackdec.h:
* ext/wavpack/gstwavpackcommon.h:
* ext/wavpack/gstwavpackenc.h:
* ext/wavpack/gstwavpackparse.h:
Fix indention. gst-indent is now called by cicl.
2007-03-30 04:50:11 +00:00
Julien Moutte
51ef42dd96 ext/xvid/gstxviddec.c: Add some debug log and fix a stupid output buffer duration bug.
Original commit message from CVS:
2007-03-27  Julien MOUTTE  <julien@moutte.net>

* ext/xvid/gstxviddec.c: (gst_xviddec_chain): Add some
debug log and fix a stupid output buffer duration bug.
2007-03-27 18:00:56 +00:00
Michal Benes
8d5738ab90 Add libx264-based h264 encoder plugin (#421110). Probably doesn't handle 'odd' widths and heights correctly yet.
Original commit message from CVS:
Patch by: Michal Benes <michal.benes at itonis tv>
Patch by: Josef Zlomek <josef.zlomek at itonis tv>
* configure.ac:
* ext/Makefile.am:
* ext/x264/Makefile.am:
* ext/x264/gstx264enc.c: (gst_x264_enc_me_get_type),
(gst_x264_enc_analyse_get_type),
(gst_x264_enc_timestamp_queue_init),
(gst_x264_enc_timestamp_queue_free),
(gst_x264_enc_timestamp_queue_put),
(gst_x264_enc_timestamp_queue_get), (gst_x264_enc_header_buf),
(gst_x264_enc_set_src_caps), (gst_x264_enc_sink_set_caps),
(gst_x264_enc_base_init), (gst_x264_enc_class_init),
(gst_x264_enc_init), (gst_x264_enc_init_encoder),
(gst_x264_enc_close_encoder), (gst_x264_enc_dispose),
(gst_x264_enc_sink_event), (gst_x264_enc_chain),
(gst_x264_enc_encode_frame), (gst_x264_enc_change_state),
(gst_x264_enc_set_property), (gst_x264_enc_get_property),
(plugin_init):
* ext/x264/gstx264enc.h:
Add libx264-based h264 encoder plugin (#421110). Probably doesn't
handle 'odd' widths and heights correctly yet.
2007-03-25 13:06:26 +00:00
Tim-Philipp Müller
0ca5b15aee ext/neon/gstneonhttpsrc.c: Alloc user agent string only once.
Original commit message from CVS:
* ext/neon/gstneonhttpsrc.c: (gst_neonhttp_src_init):
Alloc user agent string only once.
2007-03-22 21:07:02 +00:00
Sebastian Dröge
dd18cbc2a3 ext/wavpack/gstwavpackparse.c: Revert last commit, preventing infinite plugging loops with ranks is no clean solution...
Original commit message from CVS:
* ext/wavpack/gstwavpackparse.c: (gst_wavpack_parse_plugin_init):
Revert last commit, preventing infinite plugging loops with ranks
is no clean solution and in general there's no reason why one wants
to parse framed wavpack data again.
2007-03-22 16:25:56 +00:00
Sebastian Dröge
8d8d278b9a ext/wavpack/gstwavpackenc.c: Send the new segment event in time format instead of bytes. This allows "wavpackenc ! wa...
Original commit message from CVS:
* ext/wavpack/gstwavpackenc.c: (gst_wavpack_enc_push_block):
Send the new segment event in time format instead of bytes. This
allows "wavpackenc ! wavpackdec ! someaudiosink" pipelines.
* ext/wavpack/gstwavpackparse.c: (gst_wavpack_parse_plugin_init):
Accept framed and non-framed input, wavpackparse doesn't care. To
prevent "wavpackparse ! wavpackparse ! ..." pipelines lower the
rank of wavpackparse by one. This allows "wavpackenc ! wavpackparse !
..." pipelines.
2007-03-22 15:52:51 +00:00
Sebastian Dröge
4586d0398e ext/wavpack/gstwavpackdec.c: Revert to use gst_pad_alloc_buffer() here. We can and should use it.
Original commit message from CVS:
* ext/wavpack/gstwavpackdec.c: (gst_wavpack_dec_chain):
Revert to use gst_pad_alloc_buffer() here. We can and should use it.
Thanks to Jan and Mike for noticing my mistake.
2007-03-22 11:08:03 +00:00
Sebastian Dröge
4f1ddeddba ext/wavpack/gstwavpackenc.*: Put the write helpers into the GstWavpackEnc struct directly and not as a pointer to sav...
Original commit message from CVS:
* ext/wavpack/gstwavpackenc.c: (gst_wavpack_enc_class_init),
(gst_wavpack_enc_init), (gst_wavpack_enc_chain),
(gst_wavpack_enc_rewrite_first_block):
* ext/wavpack/gstwavpackenc.h:
Put the write helpers into the GstWavpackEnc struct directly and not
as a pointer to save two small, but useless mallocs. This also makes
it possible to drop the finalize method.
* ext/wavpack/gstwavpackparse.c: (gst_wavpack_parse_push_buffer):
For consistency reasons also set GST_BUFFER_OFFSET_END on the outgoing
buffers the same way wavpackenc does it.
2007-03-22 00:17:41 +00:00
Sebastian Dröge
3a12608d1c ext/wavpack/gstwavpackdec.c: Don't use gst_pad_alloc_buffer() as we might clip the buffer later and
Original commit message from CVS:
* ext/wavpack/gstwavpackdec.c: (gst_wavpack_dec_chain):
Don't use gst_pad_alloc_buffer() as we might clip the buffer later and
BaseTransform-based elements will likely break because of wrong
unit-size. Also plug a possible memleak that happens when decoding
fails for some reason.
2007-03-21 23:50:09 +00:00
Paul Davis
0abc869e3e ext/jack/gstjackaudioclient.c: Don't need to take the connection lock, it will not be used and could cause deadlocks.
Original commit message from CVS:
Based on patch by: Paul Davis <paul at linuxaudiosystems dot com>
* ext/jack/gstjackaudioclient.c: (gst_jack_audio_unref_connection):
Don't need to take the connection lock, it will not be used and could
cause deadlocks.
2007-03-18 17:57:48 +00:00
Tim-Philipp Müller
4300e22d54 ext/: Printf format string fixes.
Original commit message from CVS:
* ext/nas/nassink.c: (NAS_createFlow):
* ext/sndfile/gstsfsrc.c: (gst_sf_src_create):
Printf format string fixes.
2007-03-10 20:10:09 +00:00