Commit graph

757 commits

Author SHA1 Message Date
Wim Taymans
712347f136 gst/avi/gstavidemux.c: Fix potential division by zero error and hopefully get the position query right to get correct...
Original commit message from CVS:
* gst/avi/gstavidemux.c: (gst_avi_demux_handle_src_query):
Fix potential division by zero error and hopefully get
the position query right to get correct timestamps on avi
audio.
2004-05-24 15:24:05 +00:00
Wim Taymans
a6e2d4002b gst/videoscale/videoscale.c: Fix the scaling algorithm and avoid a buffer overflow. removed the while loop in the sca...
Original commit message from CVS:
* gst/videoscale/videoscale.c: (gst_videoscale_scale_nearest),
(gst_videoscale_scale_nearest_str2),
(gst_videoscale_scale_nearest_str4),
(gst_videoscale_scale_nearest_32bit),
(gst_videoscale_scale_nearest_24bit),
(gst_videoscale_scale_nearest_16bit):
Fix the scaling algorithm and avoid a buffer overflow.
removed the while loop in the scaling function as it
was used for point sampling only.
2004-05-24 14:48:54 +00:00
Benjamin Otte
20e91b0f35 ext/mad/gstid3tag.c: lots of fixes to make id3mux work and id3demux work correctly
Original commit message from CVS:
* ext/mad/gstid3tag.c: (gst_id3_tag_get_type),
(gst_id3_tag_class_init), (gst_id3_tag_init),
(gst_id3_tag_set_property), (gst_id3_tag_get_tag_to_render),
(gst_id3_tag_handle_event), (gst_id3_tag_do_caps_nego),
(gst_id3_tag_send_tag_event):
lots of fixes to make id3mux work and id3demux work correctly
2004-05-24 14:12:33 +00:00
Stéphane Loeuillet
e0dc3233f2 ext/Makefile.am: add rules to build shout2send (was removed by accident when this module was no more marked experimen...
Original commit message from CVS:

* ext/Makefile.am:
add rules to build shout2send (was removed by accident
when this module was no more marked experimental/broken)

* ext/shout2/gstshout2.c:
* ext/shout2/gstshout2.h:
adding a "connection problem" signal to shout2send
(fixes #142954)
2004-05-24 12:08:34 +00:00
Thomas Vander Stichele
bbfda8d263 woohoo, KDE here I come
Original commit message from CVS:
woohoo, KDE here I come
2004-05-21 14:49:29 +00:00
Stéphane Loeuillet
235fa26fcb gst/cdxaparse/gstcdxaparse.*: some renaming add some checks/sanity prepare for seek addition
Original commit message from CVS:
* gst/cdxaparse/gstcdxaparse.c:
* gst/cdxaparse/gstcdxaparse.h:
some renaming
add some checks/sanity
prepare for seek addition

* sys/sunaudio/gstsunaudio.c:
remove exported dupe init function
2004-05-21 14:09:51 +00:00
Jan Schmidt
4d97abb272 ext/dv/gstdvdec.c: Fix format conversion and position querying.
Original commit message from CVS:
* ext/dv/gstdvdec.c: (gst_dvdec_init), (gst_dvdec_get_formats),
(gst_dvdec_src_convert), (gst_dvdec_sink_convert):
Fix format conversion and position querying.
* gst/debug/progressreport.c: (gst_progressreport_report):
Don't output a bogus total value that we didn't query.
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_get_xv_support):
Always set XV_AUTOPAINT_COLORKEY to true. Fixes xvimagesink showing
only a blank window after xine has been used.
2004-05-21 13:28:24 +00:00
Thomas Vander Stichele
dcc87f1efd sync with upstream
Original commit message from CVS:
sync with upstream
2004-05-21 11:20:49 +00:00
Stéphane Loeuillet
4e83016b4d forgot to update the Changelog for the past two days, bad me, bad
Original commit message from CVS:
forgot to update the Changelog for the past two days, bad me, bad
2004-05-20 23:00:14 +00:00
David Schleef
7f23e53717 configure.ac: Minor cosmetic change to convince the buildbot to reautogen.
Original commit message from CVS:
* configure.ac: Minor cosmetic change to convince the buildbot to
reautogen.
* sys/sunaudio/gstsunaudio.c: (gst_sunaudiosink_class_init),
(gst_sunaudiosink_init), (gst_sunaudiosink_getcaps),
(gst_sunaudiosink_pad_link), (gst_sunaudiosink_chain),
(gst_sunaudiosink_setparams), (gst_sunaudiosink_open),
(gst_sunaudiosink_close), (gst_sunaudiosink_change_state),
(gst_sunaudiosink_set_property), (gst_sunaudiosink_get_property):
More hacking.  Plays audio now.
2004-05-20 21:53:49 +00:00
David Schleef
64a2b24739 Original commit message from CVS:
* configure.ac:
* sys/Makefile.am:
2004-05-20 19:56:27 +00:00
David Schleef
8552e8fa8b sys/osxaudio/Makefile.am: New OS X audio plugin by Zaheer Merali
Original commit message from CVS:
* sys/osxaudio/Makefile.am:  New OS X audio plugin by Zaheer Merali
* sys/osxaudio/gstosxaudio.c:
* sys/osxaudio/gstosxaudioelement.c:
* sys/osxaudio/gstosxaudioelement.h:
* sys/osxaudio/gstosxaudiosink.c:
* sys/osxaudio/gstosxaudiosink.h:
* sys/osxaudio/gstosxaudiosrc.c:
* sys/osxaudio/gstosxaudiosrc.h:
2004-05-20 19:45:13 +00:00
Thomas Vander Stichele
5b8987e1e1 make ronald happy by following his strategy of putting headers as caps
Original commit message from CVS:
make ronald happy by following his strategy of putting headers as caps
2004-05-20 17:26:53 +00:00
Thomas Vander Stichele
6a322c58c9 split up push_packet
Original commit message from CVS:
split up push_packet
2004-05-20 14:45:56 +00:00
Thomas Vander Stichele
62d614d94c add new tcp elements
Original commit message from CVS:
add new tcp elements
2004-05-20 10:15:31 +00:00
Wim Taymans
b7d2e0b236 gst/law/mulaw-conversion.c: Fix overflow bug in ulaw encoding.
Original commit message from CVS:
* gst/law/mulaw-conversion.c: (mulaw_encode):
Fix overflow bug in ulaw encoding.
2004-05-19 20:04:10 +00:00
Benjamin Otte
625ec784c3 ext/mad/gstmad.c: don't unref the event twice
Original commit message from CVS:
* ext/mad/gstmad.c: (gst_mad_handle_event):
don't unref the event twice
2004-05-19 19:34:12 +00:00
Benjamin Otte
6da8daf171 configure.ac: remove -Wno-sign-compare
Original commit message from CVS:
* configure.ac:
remove -Wno-sign-compare
2004-05-19 16:10:22 +00:00
Benjamin Otte
36fee19c5f configure.ac: remove -DG_DISABLE_DEPRECATED. It's not usable without workarounds if you want to work against glib 2.2...
Original commit message from CVS:
* configure.ac:
remove -DG_DISABLE_DEPRECATED. It's not usable without workarounds
if you want to work against glib 2.2 and 2.4
2004-05-19 15:26:27 +00:00
Thomas Vander Stichele
03b02be73d gsttcp -> gsttcpplugin
Original commit message from CVS:
gsttcp -> gsttcpplugin
2004-05-19 15:07:44 +00:00
Benjamin Otte
b56a66e04a gst/debug/tests.c: fix segfault on gst-inspect
Original commit message from CVS:
* gst/debug/tests.c: (md5_get_value):
fix segfault on gst-inspect
2004-05-19 14:59:25 +00:00
Benjamin Otte
c7a62ce9dc gst/debug/: add new extensible and configurable testing element. Current tests include buffer count, stream length, t...
Original commit message from CVS:
* gst/debug/testplugin.c:
* gst/debug/tests.c:
* gst/debug/tests.h:
add new extensible and configurable testing element. Current tests
include buffer count, stream length, timestamp/duration matching and
md5.
* gst/debug/Makefile.am:
* gst/debug/gstdebug.c: (plugin_init):
add infrastructure for new element
2004-05-19 14:15:41 +00:00
Johan Dahlin
92be8f9837 ext/dv/gstdvdec.c (gst_dvdec_quality_get_type): Add proper ending of the array. Fixes gst-inspect segfault on ppc.
Original commit message from CVS:
* ext/dv/gstdvdec.c (gst_dvdec_quality_get_type): Add proper
ending of the array. Fixes gst-inspect segfault on ppc.
2004-05-19 09:21:43 +00:00
David Schleef
b8d87e94f6 gst/ffmpegcolorspace/imgconvert.c: Fixes for warnings (bugs, actually) noticed by gcc but not forte.
Original commit message from CVS:
* gst/ffmpegcolorspace/imgconvert.c: (img_convert): Fixes for
warnings (bugs, actually) noticed by gcc but not forte.
2004-05-19 06:47:58 +00:00
David Schleef
03efb5086d sys/sunaudio/: New sunaudiosink
Original commit message from CVS:
* sys/sunaudio/Makefile.am:
* sys/sunaudio/gstsunaudio.c: New sunaudiosink
2004-05-19 06:28:07 +00:00
David Moore
7a9127835c gst/qtdemux/qtdemux.c: Patch from dcm@acm.org (David Moore) to allow qtdemux to use non-seekable streams. (bug #142272)
Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (gst_qtdemux_change_state),
(gst_qtdemux_loop_header):  Patch from dcm@acm.org (David Moore)
to allow qtdemux to use non-seekable streams. (bug #142272)
2004-05-19 06:23:38 +00:00
David Schleef
10052f2f01 gst-libs/gst/resample/resample.c: Remove use of static temporary buffer. This code was obviously not supposed to las...
Original commit message from CVS:
* gst-libs/gst/resample/resample.c: (gst_resample_sinc_ft_s16),
(gst_resample_sinc_ft_float): Remove use of static temporary
buffer.  This code was obviously not supposed to last long, but
it's stuck in our ABI, so it required a little hack to make it
ABI-compatible.  Fixes #142585.
* gst-libs/gst/resample/resample.h: same.
2004-05-19 06:14:05 +00:00
David Schleef
b643c97c9c configure.ac: Add sunaudio
Original commit message from CVS:
* configure.ac: Add sunaudio
* examples/Makefile.am: make gstplay depend on gconf
* gst/ffmpegcolorspace/gstffmpegcodecmap.c: Remove c99-isms
* gst/ffmpegcolorspace/imgconvert.c: (build_rgb_palette),
(convert_table_lookup), (img_convert): remove c99-isms
* gst/ffmpegcolorspace/imgconvert_template.h: make a constant
unsigned, to fix a warning on Solaris
* gst/mpeg1sys/systems.c: bcopy->memcpy
* gst/rtjpeg/RTjpeg.c: (RTjpeg_yuvrgb8): bcopy->memcpy
* sys/Makefile.am: Add sunaudio
2004-05-19 06:10:49 +00:00
Wim Taymans
9e2fcaede3 ext/ogg/gstoggmux.c: Fix an ugly memleak where the muxer didn't flush enough ogg pages. This also resulted in badly m...
Original commit message from CVS:
* ext/ogg/gstoggmux.c: (gst_ogg_mux_get_type), (gst_ogg_mux_init),
(gst_ogg_mux_sinkconnect), (gst_ogg_mux_request_new_pad),
(gst_ogg_mux_next_buffer), (gst_ogg_mux_push_page),
(gst_ogg_mux_compare_pads), (gst_ogg_mux_queue_pads),
(gst_ogg_mux_loop):
Fix an ugly memleak where the muxer didn't flush enough ogg
pages. This also resulted in badly muxed ogg files.
2004-05-18 11:36:40 +00:00
Stéphane Loeuillet
d806b36fb8 gst/asfdemux/: - fix ASF_OBJ_PADDING guid
Original commit message from CVS:
* gst/asfdemux/asfheaders.c :
* gst/asfdemux/asfheaders.h :
* gst/asfdemux/gstasfdemux.c :
- fix ASF_OBJ_PADDING guid
- add 3 new object guids (language list, metadata,
extended stream properties)
- add a function to parse extended header objects
2004-05-18 01:38:48 +00:00
Benjamin Otte
358144abaa sys/oss/gstosselement.c: remove leftover debugging g_print
Original commit message from CVS:
* sys/oss/gstosselement.c: (gst_osselement_sync_parms):
remove leftover debugging g_print
2004-05-18 01:17:49 +00:00
Ronald S. Bultje
9279552314 ext/mad/gstmad.c: Fix for when the first format in a discont event is not a byte-based one. Should fix #137710.
Original commit message from CVS:
* ext/mad/gstmad.c: (gst_mad_handle_event):
Fix for when the first format in a discont event is not a
byte-based one. Should fix #137710.
2004-05-18 00:25:09 +00:00
Stéphane Loeuillet
ce0bf2d899 m4/a52.m4: fix compilation with -Wall -Werror
Original commit message from CVS:
* m4/a52.m4 : fix compilation with -Wall -Werror
* m4/libfame.m4 : idem
* m4/libmikmod.m4 : idem
2004-05-18 00:13:45 +00:00
Benjamin Otte
826fc0784c gst/asfdemux/gstasfdemux.c: signal the new tags before giving up the reference
Original commit message from CVS:
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_process_comment):
signal the new tags before giving up the reference
2004-05-17 17:59:45 +00:00
Benjamin Otte
7b3ef225e8 whoops, I always forget to note the bug
Original commit message from CVS:
whoops, I always forget to note the bug
2004-05-17 17:33:07 +00:00
Benjamin Otte
eb3614aa72 ext/shout2/gstshout2.c: Guimond, fixes #142432)
Original commit message from CVS:
* ext/shout2/gstshout2.c:
use application/ogg instead of application/x-ogg (patch by Patrick
Guimond, fixes #142432)
* sys/oss/gstosselement.c: (gst_osselement_reset),
(gst_osselement_sync_parms):
don't set fragment size unless specified
2004-05-17 17:31:48 +00:00
Stéphane Loeuillet
f0b81fa053 configure.ac: fix compilation of v4l2src with "-Wall -Werror" fixes #142664
Original commit message from CVS:
* configure.ac : fix compilation of v4l2src with "-Wall -Werror"
fixes #142664
2004-05-17 16:58:24 +00:00
Benjamin Otte
27a875e4b0 whoops, checked in too much
Original commit message from CVS:
whoops, checked in too much
2004-05-17 00:38:59 +00:00
David Moore
d995685d9c compute offsets correctly for internal buffers so timestamps are set correctly when we can't seek. Also handle cases ...
Original commit message from CVS:
* autogen.sh:
* configure.ac:
* ext/mad/gstid3tag.c: (gst_id3_tag_chain):
compute offsets correctly for internal buffers so timestamps are set
correctly when we can't seek. Also handle cases where there are no
offsets. (based on a patch by David Moore, fixes #142507)
2004-05-17 00:25:30 +00:00
Benjamin Otte
385ddf5777 ext/alsa/gstalsasink.c: use correct variable when determining amount of data to skip so we don't skip into the void a...
Original commit message from CVS:
* ext/alsa/gstalsasink.c: (gst_alsa_sink_loop):
use correct variable when determining amount of data to skip so we
don't skip into the void and segfault
2004-05-16 23:30:00 +00:00
Benjamin Otte
bdb42fba4c gst/asfdemux/gstasfdemux.c: Hi, I'm a memleak
Original commit message from CVS:
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_audio_caps):
Hi, I'm a memleak
2004-05-16 23:29:09 +00:00
Stéphane Loeuillet
eeaf527bbb gst/asfdemux/gstasfdemux.c: - fix a mem leak and always propagate tags
Original commit message from CVS:
* gst/asfdemux/gstasfdemux.c:
- fix a mem leak and always propagate tags
- add WMV3 to known video codecs (but no decoder yet)
- replace "surplus data" at end of audio header for what
it is : codec specific data
- fix a typo
2004-05-16 22:18:11 +00:00
Ronald S. Bultje
d684485435 gst-libs/gst/audio/audioclock.c: Fix wrong return type (#142205).
Original commit message from CVS:
reviewed by: Ronald Bultje  <rbultje@ronald.bitfreak.net>
* gst-libs/gst/audio/audioclock.c:
Fix wrong return type (#142205).
2004-05-16 20:55:38 +00:00
Ronald S. Bultje
ae4e027811 ext/mad/gstmad.c: Ignore CRCs by default (fixes #142566).
Original commit message from CVS:
* ext/mad/gstmad.c: (gst_mad_class_init), (gst_mad_init):
Ignore CRCs by default (fixes #142566).
2004-05-16 20:50:13 +00:00
Ronald S. Bultje
e40209530f ext/alsa/gstalsamixer.c: Fix for cases where we fail to attach to a mixer.
Original commit message from CVS:
* ext/alsa/gstalsamixer.c: (gst_alsa_mixer_open),
(gst_alsa_mixer_close), (gst_alsa_mixer_supported),
(gst_alsa_mixer_build_list), (gst_alsa_mixer_free_list),
(gst_alsa_mixer_change_state), (gst_alsa_mixer_list_tracks),
(gst_alsa_mixer_get_volume), (gst_alsa_mixer_set_volume),
(gst_alsa_mixer_set_mute), (gst_alsa_mixer_set_record):
Fix for cases where we fail to attach to a mixer.
2004-05-16 20:46:12 +00:00
Ronald S. Bultje
6decac8b32 gst-libs/gst/riff/riff-read.c: Don't touch events after not owning them anymore.
Original commit message from CVS:
* gst-libs/gst/riff/riff-read.c: (gst_riff_read_seek):
Don't touch events after not owning them anymore.
* gst/wavparse/gstwavparse.c: (gst_wavparse_base_init),
(gst_wavparse_fmt), (gst_wavparse_other),
(gst_wavparse_handle_seek), (gst_wavparse_loop),
(gst_wavparse_pad_convert), (gst_wavparse_pad_query),
(gst_wavparse_srcpad_event):
* gst/wavparse/gstwavparse.h:
Add seeking, fix querying.
2004-05-16 20:06:35 +00:00
Stéphane Loeuillet
ce4eb2e69f gst/asfdemux/gstasfdemux.c: - process comments even if they don't end with \0\0 g_convert would ignore them if presen...
Original commit message from CVS:
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_process_comment):
- process comments even if they don't end with \0\0
g_convert would ignore them if present and works well without them
2004-05-16 17:10:29 +00:00
Benjamin Otte
804f837539 ext/alsa/gstalsa.c: simplify caps
Original commit message from CVS:
* ext/alsa/gstalsa.c: (gst_alsa_caps), (gst_alsa_get_caps):
simplify caps
2004-05-16 16:41:15 +00:00
Benjamin Otte
ae70d1e88e forgot the bugnumber I fixed again...
Original commit message from CVS:
forgot the bugnumber I fixed again...
2004-05-16 16:24:06 +00:00
Benjamin Otte
23453cfde9 gst/asfdemux/gstasfdemux.c: don't write to memory we might not write to - g_convert does that for us anyway conmment ...
Original commit message from CVS:
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_process_comment):
don't write to memory we might not write to - g_convert does that
for us anyway
(gst_asf_demux_audio_caps):
conmment out gst_util_dump_mem
2004-05-16 16:22:42 +00:00
Benjamin Otte
e268daa6af ext/alsa/gstalsasink.c: compute correct expected timestamps after seek (broken since last commit)
Original commit message from CVS:
* ext/alsa/gstalsasink.c: (gst_alsa_sink_loop):
compute correct expected timestamps after seek (broken since
last commit)
* ext/gdk_pixbuf/pixbufscale.c: (pixbufscale_init):
rename element and debugging category to gdkpixbufscale
2004-05-16 16:06:42 +00:00
Benjamin Otte
004a657005 add note about bug
Original commit message from CVS:
add note about bug
2004-05-16 02:53:11 +00:00
Benjamin Otte
b8854e061f ext/alsa/gstalsasink.c: add error checking to snd_pcm_delay and remove duplicate call to snd_pcm_delay that caused is...
Original commit message from CVS:
* ext/alsa/gstalsasink.c: (gst_alsa_sink_loop):
add error checking to snd_pcm_delay and remove duplicate call to
snd_pcm_delay that caused issues (see inline code comments)
* ext/alsa/gstalsasink.c: (gst_alsa_sink_get_time):
make more readable and fix return value when snd_pcm_delay fails
2004-05-16 02:51:28 +00:00
Jan Schmidt
1530163b3f Add new files for gdk_pixbuf based scaler
Original commit message from CVS:
Add new files for gdk_pixbuf based scaler
2004-05-15 13:16:40 +00:00
Jan Schmidt
46eb6fd218 Oops, forgot the Changelog :)
Original commit message from CVS:
Oops, forgot the Changelog :)
2004-05-15 12:16:58 +00:00
Benjamin Otte
6ff0d3cac2 ext/libvisual/visual.c: add missing visual_audio_analyze
Original commit message from CVS:
* ext/libvisual/visual.c: (gst_visual_chain):
add missing visual_audio_analyze
2004-05-14 19:58:12 +00:00
David Schleef
63d2359147 ext/esd/esdsink.c: Fix crash when ESD is killed while we're playing.
Original commit message from CVS:
* ext/esd/esdsink.c: (gst_esdsink_chain): Fix crash when ESD
is killed while we're playing.
* gst/qtdemux/qtdemux.c: (qtdemux_parse): call
gst_element_no_more_pads().
2004-05-14 19:26:35 +00:00
Stéphane Loeuillet
5fa01401cc gst-libs/gst/riff/riff-read.c: - fix INFO tag extraction in RIFF/AVI files because gst_event_unref (event) also freed...
Original commit message from CVS:
* gst-libs/gst/riff/riff-read.c :
- fix INFO tag extraction in RIFF/AVI files
because gst_event_unref (event) also freed taglist
- avoid a mem leak
2004-05-14 17:23:07 +00:00
Stéphane Loeuillet
61a021fbba ext/mad/gstid3tag.c: move from "Codec/(Dem/M)uxer" to "Codec/(Dem/M)uxer/Audio"
Original commit message from CVS:
* ext/mad/gstid3tag.c : move from "Codec/(Dem/M)uxer" to "Codec/(Dem/M)uxer/Audio"
* gst/wavenc/gstwavenc.c : move from "Codec/Encoder/Audio" to "Codec/Muxer/Audio"

* gst/auparse/gstauparse.c :
- add code (commented for now) to support audio/x-adpcm on src pad
(we have no decoder for those layout yet)

* gst/cdxaparse/gstcdxaparse.c :
* gst/cdxaparse/gstcdxaparse.h :
- partial rewrite using RiffRead (ripped iain's wavparse code)

* gst/rtp/gstrtpL16enc.c : typo
* gst/rtp/gstrtpgsmenc.c : typo
2004-05-13 21:27:14 +00:00
Benjamin Otte
59f3c16b0c configure.ac: check for exact version of libvisual, it's not supposed to be
Original commit message from CVS:
* configure.ac:
check for exact version of libvisual, it's not supposed to be
API/ABI stable yet
2004-05-13 20:21:39 +00:00
Benjamin Otte
0d93ea274e ext/ogg/gstoggdemux.c: signal no-more-pads
Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_push):
signal no-more-pads
2004-05-13 16:07:16 +00:00
Jan Schmidt
2d80a4aaa6 Report which format was used for GST_FORMAT_DEFAULT in dvdec
Original commit message from CVS:
Report which format was used for GST_FORMAT_DEFAULT in dvdec
Add progressreport element for testing.
2004-05-13 11:32:42 +00:00
Thomas Vander Stichele
c6f18d1266 sys/v4l/: add more debugging send a discont at start
Original commit message from CVS:
* sys/v4l/gstv4lsrc.c: (gst_v4lsrc_get), (gst_v4lsrc_change_state):
* sys/v4l/gstv4lsrc.h:
* sys/v4l/v4lmjpegsink_calls.c: (gst_v4lmjpegsink_playback_init):
* sys/v4l/v4lmjpegsrc_calls.c: (gst_v4lmjpegsrc_capture_init):
* sys/v4l/v4lsrc_calls.c: (gst_v4lsrc_capture_init),
(gst_v4lsrc_grab_frame):
add more debugging
send a discont at start
2004-05-13 10:13:41 +00:00
Colin Walters
521dcaf28d Avoid inflooping
Original commit message from CVS:
Avoid inflooping
2004-05-13 00:59:19 +00:00
Jan Schmidt
ea235cb0ee ext/audiofile/gstafsrc.c: Remove old debug output
Original commit message from CVS:
* ext/audiofile/gstafsrc.c: (gst_afsrc_get):
Remove old debug output
* ext/dv/gstdvdec.c: (gst_dvdec_quality_get_type),
(gst_dvdec_class_init), (gst_dvdec_loop), (gst_dvdec_change_state),
(gst_dvdec_set_property), (gst_dvdec_get_property):
Change the quality setting to an enum, so it works from gst-launch
Don't renegotiate a non-linked pad. Allows audio only decoding.
* gst/deinterlace/gstdeinterlace.c: (gst_deinterlace_getcaps),
(gst_deinterlace_link), (gst_deinterlace_init):
* gst/videodrop/gstvideodrop.c: (gst_videodrop_getcaps),
(gst_videodrop_link):
Some caps negotiation fixes
2004-05-12 14:53:57 +00:00
Stéphane Loeuillet
8492044248 ext/tarkin/gsttarkin.c: - Change RANK from NONE to PRIMARY (decoder)
Original commit message from CVS:
* ext/tarkin/gsttarkin.c :
- Change RANK from NONE to PRIMARY (decoder)
* ext/gdk_pixbuf/gstgdkpixbuf.c :
- Change RANK from NONE to MARGINAL (decoder)
* ext/divx/gstdivxenc.c :
- Change RANK from PRIMARY to NONE (encoder/spider issue)
2004-05-12 10:19:19 +00:00
Thomas Vander Stichele
bb1dae6c42 copy this function until we really need > 1.0 of vorbis
Original commit message from CVS:
copy this function until we really need > 1.0 of vorbis
2004-05-12 07:18:02 +00:00
Benjamin Otte
a0de263f13 configure.ac: enable shout2 by default
Original commit message from CVS:
* configure.ac:
enable shout2 by default
* ext/shout2/gstshout2.c: (gst_shout2send_protocol_get_type),
(gst_shout2send_base_init), (gst_shout2send_init),
(gst_shout2send_connect), (gst_shout2send_change_state):
* ext/shout2/gstshout2.h:
make this work again. Based on a patch by Zaheer Merali (fixes
#142262)
* ext/theora/theora.c: (plugin_init):
don't set rank on encoders
2004-05-12 02:35:56 +00:00
Stéphane Loeuillet
302b25c536 gst/auparse/gstauparse.c: - Document all audio encoding we can encounter from Solaris 9 headers and libsndfile inform...
Original commit message from CVS:
* gst/auparse/gstauparse.c :
- Document all audio encoding we can encounter from Solaris 9
headers and libsndfile information.
- Increase max. rate from 48000 to 192000 (to match other elements)
- Don't try to play junk data between header and samples
2004-05-11 22:55:35 +00:00
Stéphane Loeuillet
840ca2eb6f gst/cdxaparse/gstcdxaparse.c: Add mpegversion to CAPS to make it link
Original commit message from CVS:
* gst/cdxaparse/gstcdxaparse.c :
Add mpegversion to CAPS to make it link
Rank is as GST_RANK_SECONDARY instead of NONE
2004-05-11 16:59:44 +00:00
Jeremy Simon
053d8bd445 gst/asfdemux/gstasfdemux.c: Use codec_data property instead of flag1 and flag2 for wma
Original commit message from CVS:
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_audio_caps):
Use codec_data property instead of flag1 and flag2 for wma
2004-05-11 16:25:03 +00:00
Benjamin Otte
18722fe28a ext/libvisual/visual.c: use the right caps depending on endianness (I hope)
Original commit message from CVS:
* ext/libvisual/visual.c: (gst_visual_getcaps):
use the right caps depending on endianness (I hope)
* ext/ogg/gstoggmux.c: (gst_ogg_mux_plugin_init):
use GST_RANK_NONE for all non-decoding elements or spider gets
mighty confused
2004-05-11 15:31:35 +00:00
Ronald S. Bultje
b06a7b8be9 gst/asfdemux/gstasfdemux.c: Fix some odd cases and fix BE metadata parsing of unicode16 text.
Original commit message from CVS:
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_process_comment):
Fix some odd cases and fix BE metadata parsing of unicode16 text.
2004-05-11 04:33:48 +00:00
Benjamin Otte
c8eeeeb6ed gst/switch/gstswitch.c: whoever that was: DO NOT IMPORT PRIVATE SYMBOLS THAT ARE NOT IN
Original commit message from CVS:
* gst/switch/gstswitch.c: (gst_switch_release_pad),
(gst_switch_request_new_pad), (gst_switch_poll_sinkpads),
(gst_switch_loop), (gst_switch_get_type):
whoever that was: DO NOT IMPORT PRIVATE SYMBOLS THAT ARE NOT IN
HEADERS. Had to be said.
2004-05-11 03:56:19 +00:00
David Schleef
19973c479a configure.ac: Add prototype Dirac support.
Original commit message from CVS:
* configure.ac: Add prototype Dirac support.
* ext/Makefile.am:
* ext/dirac/Makefile.am:
* ext/dirac/gstdirac.cc:
* ext/dirac/gstdiracdec.cc:
2004-05-11 02:30:16 +00:00
Ronald S. Bultje
d303506bca gst/auparse/gstauparse.c: Hack around spider. Remove me some day please.
Original commit message from CVS:
* gst/auparse/gstauparse.c: (gst_auparse_class_init),
(gst_auparse_init), (gst_auparse_chain),
(gst_auparse_change_state):
Hack around spider. Remove me some day please.
2004-05-11 00:20:02 +00:00
Ronald S. Bultje
3eb5b6313b gst/auparse/gstauparse.c: Fix for some uninitialized variables in previous patch, also makes it work. Fixes #142286 w...
Original commit message from CVS:
* gst/auparse/gstauparse.c: (gst_auparse_chain):
Fix for some uninitialized variables in previous patch, also
makes it work. Fixes #142286 while we're at it.
2004-05-11 00:07:57 +00:00
Stéphane Loeuillet
c288c226c9 gst/auparse/gstauparse.c: eee (32, 64) only unsupported formats are ADPCM/CCITT G.72x
Original commit message from CVS:
* gst/auparse/gstauparse.c:
fixes a-law, adds mu-law, linear pcm (8,16,24,32), ieee (32, 64)
only unsupported formats are ADPCM/CCITT G.72x
reviewed by Ronald
* gst-libs/gst/audio/audio.h:
adds 24bit depth to PCM (x-raw-int)
2004-05-10 23:55:17 +00:00
Wim Taymans
63739d94e6 ext/vorbis/: Added a raw vorbis encoder to be used with the oggmuxer.
Original commit message from CVS:
* ext/vorbis/Makefile.am:
* ext/vorbis/README:
* ext/vorbis/oggvorbisenc.c: (gst_oggvorbisenc_get_formats),
(oggvorbisenc_get_type), (vorbis_caps_factory), (raw_caps_factory),
(gst_oggvorbisenc_base_init), (gst_oggvorbisenc_class_init),
(gst_oggvorbisenc_sinkconnect), (gst_oggvorbisenc_convert_src),
(gst_oggvorbisenc_convert_sink),
(gst_oggvorbisenc_get_query_types), (gst_oggvorbisenc_src_query),
(gst_oggvorbisenc_init), (gst_oggvorbisenc_get_tag_value),
(gst_oggvorbisenc_metadata_set1), (gst_oggvorbisenc_set_metadata),
(get_constraints_string), (update_start_message),
(gst_oggvorbisenc_setup), (gst_oggvorbisenc_write_page),
(gst_oggvorbisenc_chain), (gst_oggvorbisenc_get_property),
(gst_oggvorbisenc_set_property), (gst_oggvorbisenc_change_state):
* ext/vorbis/oggvorbisenc.h:
* ext/vorbis/vorbis.c: (plugin_init):
* ext/vorbis/vorbisenc.c: (vorbis_caps_factory),
(raw_caps_factory), (gst_vorbisenc_class_init),
(gst_vorbisenc_init), (gst_vorbisenc_setup),
(gst_vorbisenc_push_packet), (gst_vorbisenc_chain),
(gst_vorbisenc_get_property), (gst_vorbisenc_set_property):
* ext/vorbis/vorbisenc.h:
Added a raw vorbis encoder to be used with the oggmuxer.
We still need the old encoder for some gnome applications,
read the README to find out how that works.
The raw encoder is called "rawvorbisenc" until 0.9.
2004-05-10 17:44:06 +00:00
Wim Taymans
d4557667d4 ext/ogg/: Added an ogg muxer.
Original commit message from CVS:
* ext/ogg/gstogg.c: (plugin_init):
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_plugin_init),
(gst_ogg_print):
* ext/ogg/gstoggmux.c: (gst_ogg_mux_get_type),
(gst_ogg_mux_base_init), (gst_ogg_mux_class_init),
(gst_ogg_mux_get_sink_event_masks), (gst_ogg_mux_init),
(gst_ogg_mux_sinkconnect), (gst_ogg_mux_pad_link),
(gst_ogg_mux_pad_unlink), (gst_ogg_mux_request_new_pad),
(gst_ogg_mux_handle_src_event), (gst_ogg_mux_next_buffer),
(gst_ogg_mux_push_page), (gst_ogg_mux_compare_pads),
(gst_ogg_mux_queue_pads), (gst_ogg_mux_loop),
(gst_ogg_mux_get_property), (gst_ogg_mux_set_property),
(gst_ogg_mux_change_state), (gst_ogg_mux_plugin_init):
Added an ogg muxer.
Small typo fixes in the demuxer.
2004-05-10 13:34:56 +00:00
Wim Taymans
b5506067c8 ext/theora/theoraenc.c: Mark the last packet with an EOS flag which is not really needed in gstreamer.
Original commit message from CVS:
* ext/theora/theoraenc.c: (gst_theora_enc_class_init),
(theora_enc_sink_link), (theora_push_packet), (theora_enc_chain),
(theora_enc_change_state), (theora_enc_set_property),
(theora_enc_get_property):
Mark the last packet with an EOS flag which is not really needed
in gstreamer.
Do some better video framerate initialisation.
Update the buffer timestamp.
2004-05-10 13:32:11 +00:00
Jan Schmidt
8542a1f62a Return the result of the parent state change call
Original commit message from CVS:
Return the result of the parent state change call
2004-05-10 12:19:02 +00:00
Stéphane Loeuillet
5d65bced48 ext/a52dec/gsta52dec.c: mark audio/a52, audio/ac3 as deprecated in a comment
Original commit message from CVS:
* ext/a52dec/gsta52dec.c : mark audio/a52, audio/ac3 as deprecated in a comment
* gst/ac3parse/gstac3parse.c : audio/ac3 => audio/x-ac3
* gst/realmedia/rmdemux.c : audio/a52 => audio/x-ac3
2004-05-10 00:27:36 +00:00
Stéphane Loeuillet
ae45cd705a gst/law/alaw-decode.c: put audio/x-alaw on pads, instead of audio/x-mulaw
Original commit message from CVS:
* gst/law/alaw-decode.c : put audio/x-alaw on pads, instead of audio/x-mulaw
* gst/law/alaw-encode.c : (idem)
2004-05-09 22:56:56 +00:00
Stéphane Loeuillet
e7e0499884 gst/law/alaw.c: alawdec should be registered with type ALAWDEC, not ALAWENC
Original commit message from CVS:
* gst/law/alaw.c : alawdec should be registered with type ALAWDEC, not ALAWENC
2004-05-09 22:46:06 +00:00
Benjamin Otte
39682f37d6 ext/alsa/gstalsasrc.c: don't use a fixed buffer size when writing variable length data to it. Fixes memory corruption...
Original commit message from CVS:
* ext/alsa/gstalsasrc.c: (gst_alsa_src_loop):
don't use a fixed buffer size when writing variable length data to
it. Fixes memory corruption and makes alsasrc work
2004-05-09 17:25:15 +00:00
Ronald S. Bultje
1f38d38538 ext/gnomevfs/gstgnomevfssink.c: Run glib's default signal handler (??) in RUN_CLEANUP rather than
Original commit message from CVS:
* ext/gnomevfs/gstgnomevfssink.c:
(_gst_boolean_allow_overwrite_accumulator),
(gst_gnomevfssink_class_init), (gst_gnomevfssink_open_file):
Run glib's default signal handler (??) in RUN_CLEANUP rather than
RUN_LAST, and don't use that to set the accumulator value because
then it's always FALSE.
2004-05-09 16:48:42 +00:00
Ronald S. Bultje
e86086b19d gst-libs/gst/riff/: Fix for unaligned RIFF files (i.e. where all the chunks together in a LIST chunk are not of the s...
Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c:
(gst_riff_create_video_caps_with_data),
(gst_riff_create_audio_caps),
(gst_riff_create_audio_template_caps):
* gst-libs/gst/riff/riff-read.c: (gst_riff_peek_head):
Fix for unaligned RIFF files (i.e. where all the chunks together
in a LIST chunk are not of the same size as the size given in
the LIST chunk header). Fixes several odd WAVE files. Also fix
ADPCM (block_align property) in audio, so that wavparse based
on this works now as it used to stand-alone.
2004-05-09 15:49:25 +00:00
Benjamin Otte
37098ff900 ext/: \1/Codec, (fixes #142193)
Original commit message from CVS:
reviewed by Benjamin Otte  <otte@gnome.org>
* ext/a52dec/gsta52dec.c:
* ext/divx/gstdivxdec.c:
* ext/divx/gstdivxenc.c:
* ext/dts/gstdtsdec.c: (gst_dtsdec_base_init):
* ext/faac/gstfaac.c: (gst_faac_base_init):
* ext/faad/gstfaad.c: (gst_faad_base_init):
* ext/ivorbis/vorbisfile.c:
* ext/lame/gstlame.c:
* ext/libfame/gstlibfame.c:
* ext/mpeg2enc/gstmpeg2enc.cc:
* ext/musicbrainz/gsttrm.c: (gst_musicbrainz_base_init):
* ext/sidplay/gstsiddec.cc:
* ext/speex/gstspeexdec.c:
* ext/speex/gstspeexenc.c:
* ext/xvid/gstxviddec.c:
* ext/xvid/gstxvidenc.c:
correct klasses. Mostly s,Codec/(Audio|Video),\1/Codec,
(fixes #142193)
2004-05-09 14:37:15 +00:00
Ronald S. Bultje
9a83bc0764 ext/alsa/: Fix alsa oddness in mixer after the combination of using mixer in source/sink elements and using hw:x,y in...
Original commit message from CVS:
* ext/alsa/gstalsa.c: (device_list),
(gst_alsa_class_probe_devices):
* ext/alsa/gstalsamixer.c: (gst_alsa_mixer_open):
Fix alsa oddness in mixer after the combination of using mixer
in source/sink elements and using hw:x,y instead of just hw:x.
2004-05-09 00:30:06 +00:00
Benjamin Otte
692fd964ae gst/wavparse/gstwavparse.c: make PAUSED=>READY=>PAUSED=READY work by not destroying NULL sourcepads
Original commit message from CVS:
* gst/wavparse/gstwavparse.c: (gst_wavparse_destroy_sourcepad),
(gst_wavparse_create_sourcepad):
make PAUSED=>READY=>PAUSED=READY work by not destroying NULL
sourcepads
2004-05-09 00:13:39 +00:00
Benjamin Otte
ba9981b804 ext/alsa/gstalsasink.c: allow discont events before caps nego
Original commit message from CVS:
* ext/alsa/gstalsasink.c: (gst_alsa_sink_check_event):
allow discont events before caps nego
2004-05-09 00:02:26 +00:00
Benjamin Otte
bd1436984d ext/vorbis/vorbisdec.c: don't leak events
Original commit message from CVS:
* ext/vorbis/vorbisdec.c: (vorbis_dec_event):
don't leak events
2004-05-08 16:30:03 +00:00
Benjamin Otte
368d6780c2 gst/level/gstlevel.*: figure out if we're initialized directly instead of keeping a variable that's wrong in 90% of c...
Original commit message from CVS:
* gst/level/gstlevel.c: (gst_level_link), (gst_level_chain),
(gst_level_change_state), (gst_level_init):
* gst/level/gstlevel.h:
figure out if we're initialized directly instead of keeping a
variable that's wrong in 90% of cases
don't initialize pads and then leak them and use a new unitialized
pad. (fixes #142084)
these were bugs so n00bish I didn't find them for an hour :/
2004-05-08 13:03:59 +00:00
Iain Holmes
f868ebb4bc Rewrote wavparse to use riff-read instead of doing bytestream stuff by hand.
Original commit message from CVS:
Rewrote wavparse to use riff-read instead of doing bytestream stuff by hand.
Made some useful functions in riff-read non-static.
2004-05-08 00:33:39 +00:00
David Schleef
85ca8c4888 ext/faad/gstfaad.c: HACK to correct signed char assumption in faad.h.
Original commit message from CVS:
* ext/faad/gstfaad.c: (gst_faad_sinkconnect): HACK to correct
signed char assumption in faad.h.
2004-05-08 00:20:18 +00:00
Ronald S. Bultje
613c99a66d sys/v4l2/gstv4l2src.c:
Original commit message from CVS:
* sys/v4l2/gstv4l2src.c: (gst_v4l2src_v4l2fourcc_to_caps):
Missing break, detected by Daniel Gazard <daniel.gazard@free.fr>.
2004-05-07 23:47:00 +00:00
Colin Walters
39a537b7ae fix a number of memleaks
Original commit message from CVS:
fix a number of memleaks
2004-05-07 20:26:46 +00:00
Jan Schmidt
e9d760851b ext/dv/gstdvdec.c: Fix caps nego and pad templates. RGB mode caps should work now.
Original commit message from CVS:
* ext/dv/gstdvdec.c: (gst_dvdec_video_link):
Fix caps nego and pad templates. RGB mode caps should
work now.
* ext/dvdnav/gst-dvd:
Move mpeg2dec inside the thread because otherwise the
queue rejects cap changes mid-stream
* ext/mpeg2dec/gstmpeg2dec.c: (gst_mpeg2dec_get_type),
(gst_mpeg2dec_flush_decoder):
For mpeg2dec > 0.4.0, call the flush function instead of
manually extracting all in-flight frames.
* ext/raw1394/gstdv1394src.c: (gst_dv1394src_factory),
(gst_dv1394src_init), (gst_dv1394src_iso_receive):
Change mime type video/dv go video/x-dv to match the
rest of gst-plugins
2004-05-07 16:17:25 +00:00
Ronald S. Bultje
69127d320c ext/alsa/: Make alsasink/src a subclass of alsamixer so that mixer stuff shows up in gst-rec. Needs some finetuning.
Original commit message from CVS:
* ext/alsa/gstalsamixer.c: (gst_alsa_mixer_build_list):
* ext/alsa/gstalsasink.c: (gst_alsa_sink_get_type),
(gst_alsa_sink_class_init):
* ext/alsa/gstalsasink.h:
* ext/alsa/gstalsasrc.c: (gst_alsa_src_get_type),
(gst_alsa_src_class_init):
* ext/alsa/gstalsasrc.h:
Make alsasink/src a subclass of alsamixer so that mixer stuff
shows up in gst-rec. Needs some finetuning.
2004-05-07 04:56:55 +00:00