Commit graph

517 commits

Author SHA1 Message Date
Benjamin Otte
0192f11a2f ext/gnomevfs/gstgnomevfssink.c: fix erase signal - if any handler returns false the file will not be overwritten. If ...
Original commit message from CVS:
* ext/gnomevfs/gstgnomevfssink.c:
(_gst_boolean_allow_overwrite_accumulator),
(gst_gnomevfssink_class_init):
fix erase signal - if any handler returns false the file will not be
overwritten. If no handler is connected, the file will not be
overwritten either.
renamed signal to "allow-overwrite"
* ext/mad/gstid3tag.c: (tag_list_to_id3_tag_foreach):
free string when adding it to ID3 failed
* ext/vorbis/vorbisdec.c: (vorbis_dec_event):
unref event when done
* gst/audioconvert/gstaudioconvert.c: (_fixate_caps_to_int):
free caps
* gst/typefind/gsttypefindfunctions.c:
(mpeg_video_stream_type_find):
fix invalid read
2004-04-09 18:55:09 +00:00
David Schleef
d4df9cf661 gst/ffmpegcolorspace/gstffmpegcolorspace.c: Change rank to PRIMARY.
Original commit message from CVS:
* gst/ffmpegcolorspace/gstffmpegcolorspace.c:
(gst_ffmpegcolorspace_register): Change rank to PRIMARY.
2004-04-09 00:04:38 +00:00
David Schleef
fdfab29d42 gst/colorspace/gstcolorspace.c: Don't advertise a conversion we don't support (bug #139532)
Original commit message from CVS:
* gst/colorspace/gstcolorspace.c: Don't advertise a conversion
we don't support (bug #139532)
2004-04-09 00:01:44 +00:00
Thomas Vander Stichele
5f8d994f26 do not change caps in middle of stream except on new streams fixes #139382
Original commit message from CVS:
do not change caps in middle of stream except on new streams
fixes #139382
2004-04-07 15:48:40 +00:00
Ronald S. Bultje
11df1eda2a ext/gnomevfs/gstgnomevfssink.c: Fix erase signal. Don't erase by default. Remove handoff signal.
Original commit message from CVS:
* ext/gnomevfs/gstgnomevfssink.c: (gst_gnomevfssink_base_init),
(_gst_boolean_did_something_accumulator),
(gst_gnomevfssink_class_init), (gst_gnomevfssink_dispose),
(gst_gnomevfssink_init), (gst_gnomevfssink_set_property),
(gst_gnomevfssink_get_property), (gst_gnomevfssink_open_file),
(gst_gnomevfssink_close_file), (gst_gnomevfssink_chain),
(gst_gnomevfssink_change_state):
Fix erase signal. Don't erase by default. Remove handoff signal.
Remove erase property. Don't segfault. General cleanup.
2004-04-07 01:41:58 +00:00
Benjamin Otte
6959972ffb gst-libs/gst/gconf/test-gconf.c: add missing gst_init
Original commit message from CVS:
* gst-libs/gst/gconf/test-gconf.c: (main):
add missing gst_init
2004-04-07 00:54:03 +00:00
Benjamin Otte
2c8f8ccc7e ext/gnomevfs/gstgnomevfssrc.c: free the mutexes, too
Original commit message from CVS:
* ext/gnomevfs/gstgnomevfssrc.c: (gst_gnomevfssrc_dispose):
free the mutexes, too
2004-04-07 00:42:10 +00:00
Benjamin Otte
2bd954017c ext/gnomevfs/gstgnomevfssrc.c: actually free the URI string
Original commit message from CVS:
* ext/gnomevfs/gstgnomevfssrc.c: (gst_gnomevfssrc_dispose):
actually free the URI string
* ext/mad/gstid3tag.c: (gst_id3_tag_src_event):
compute offset correctly when passing discont events
* ext/mad/gstid3tag.c: (gst_id3_tag_handle_event):
don't leak discont events
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_video_caps):
add some missing breaks so caps aren't copied randomly
* gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_get_video_stream):
if we realloc memory, we better use it
2004-04-06 23:46:00 +00:00
Benjamin Otte
c464aca369 ext/mad/gstmad.c: fix GST_FORMAT_TIME usage
Original commit message from CVS:
* ext/mad/gstmad.c: (normal_seek):
fix GST_FORMAT_TIME usage
2004-04-06 06:03:30 +00:00
David Schleef
239a9f12c4 ext/kio/kiosrc.cpp: Undefine KDE_DEPRECATED so we can use a deprecated function (hack!)
Original commit message from CVS:
* ext/kio/kiosrc.cpp:  Undefine KDE_DEPRECATED so we can use
a deprecated function (hack!)
2004-04-05 23:51:45 +00:00
Benjamin Otte
e6b112c25e ext/esd/esdmon.c: fix nonterminated vararg and memleak
Original commit message from CVS:
* ext/esd/esdmon.c: (gst_esdmon_get):
fix nonterminated vararg and memleak
2004-04-05 17:47:30 +00:00
Benjamin Otte
65d6fd009d ext/ladspa/gstladspa.c: clean up debugging
Original commit message from CVS:
* ext/ladspa/gstladspa.c: (gst_ladspa_class_init),
(gst_ladspa_init), (gst_ladspa_force_src_caps),
(gst_ladspa_set_property), (gst_ladspa_get_property),
(gst_ladspa_instantiate), (gst_ladspa_activate),
(gst_ladspa_deactivate), (gst_ladspa_loop), (gst_ladspa_chain):
clean up debugging
2004-04-05 17:32:43 +00:00
Benjamin Otte
5261ae2a1c gst/audioconvert/gstaudioconvert.c: advertise buffer-frames correctly on sinkpads
Original commit message from CVS:
* gst/audioconvert/gstaudioconvert.c: (gst_audio_convert_getcaps):
advertise buffer-frames correctly on sinkpads
2004-04-05 13:18:56 +00:00
Thomas Vander Stichele
e8725d310b more debugging, only reset caps when not in error
Original commit message from CVS:
more debugging, only reset caps when not in error
2004-04-05 12:28:57 +00:00
Thomas Vander Stichele
7e3982935b add debug category + commenting and cleanups
Original commit message from CVS:
add debug category + commenting and cleanups
2004-04-05 11:38:04 +00:00
Benjamin Otte
5a92303319 configure.ac: fix == in test(1) operator
Original commit message from CVS:
reviewed by Benjamin Otte  <otte@gnome.org>
* configure.ac:
fix == in test(1) operator
2004-04-04 23:38:15 +00:00
Benjamin Otte
cf74f49045 configure.ac: fix --export-symblos-regex to a working regex.
Original commit message from CVS:
reviewed by Benjamin Otte  <otte@gnome.org>
* configure.ac:
fix --export-symblos-regex to a working regex.
2004-04-04 23:00:03 +00:00
Benjamin Otte
f5b39e877d sys/oss/.cvsignore: add for oss_probe
Original commit message from CVS:
* sys/oss/.cvsignore:
add for oss_probe
2004-04-04 02:39:29 +00:00
Benjamin Otte
611d3c3d23 ext/mad/gstid3tag.c: add missing 'new_media' argument (fixes #138168)
Original commit message from CVS:
reviewed by Benjamin Otte  <otte@gnome.org>
* ext/mad/gstid3tag.c: (gst_id3_tag_handle_event):
add missing 'new_media' argument (fixes #138168)
* gst/matroska/matroska-demux.c:
(gst_matroska_demux_handle_seek_event):
add vararg terminator (fixes #138169)
2004-04-03 13:59:57 +00:00
David Schleef
844a8d8833 ext/gdk_pixbuf/Makefile.am: Make sure gstgdkanimation.h is disted (bug #138914)
Original commit message from CVS:
* ext/gdk_pixbuf/Makefile.am:  Make sure gstgdkanimation.h is
disted (bug #138914)
2004-04-03 03:07:59 +00:00
Benjamin Otte
710ca06e6f ext/alsa/gstalsa.c: handle case better where a soundcard can't pause
Original commit message from CVS:
* ext/alsa/gstalsa.c: (gst_alsa_change_state),
(gst_alsa_close_audio):
handle case better where a soundcard can't pause
* ext/ogg/gstoggdemux.c:
don't crash when we get events but don't have pads yet
2004-04-01 16:34:14 +00:00
Thomas Vander Stichele
476f84163e throw an error if we couldn't probe caps
Original commit message from CVS:
throw an error if we couldn't probe caps
2004-04-01 13:20:03 +00:00
Jan Schmidt
ba4a681b88 Add a really simple sample DVD player gst-launch command line
Original commit message from CVS:
Add a really simple sample DVD player gst-launch command line
2004-04-01 12:54:44 +00:00
Jan Schmidt
e0006ee0b9 a52dec: Use a debug category, Output timestamps correctly
Original commit message from CVS:
a52dec:   Use a debug category, Output timestamps correctly
Emit tag info, Handle events, tell liba52dec about cpu
capabilities so it can use MMX etc.
dvdec:    Fix a crasher accessing invalid memory
dvdnavsrc:Some support for byte-format seeking.
Small fixes for still frames and menu button overlays
mpeg2dec: Use a debug category. Adjust the report level of several items to
LOG. Call mpeg2_custom_fbuf to mark our buffers as 'custom buffers'
so it doesn't lose the GstBuffer pointer
navseek:  Add the navseek debug element for seeking back and forth in a
video stream using arrow keys.
mpeg2subt:Pretty much a complete rewrite. Now a loopbased element. May still
require work to properly synchronise subtitle buffers.
mpegdemux:
dvddemux: Don't attempt to create subbuffers of size 0
Reduce a couple of error outputs to warnings.
y4mencode:Output the y4m frame header correctly
2004-04-01 11:48:27 +00:00
Thomas Vander Stichele
c683b2301c avoid SIGFPE, throw error
Original commit message from CVS:
avoid SIGFPE, throw error
2004-04-01 11:40:44 +00:00
Thomas Vander Stichele
5b4ba2bd46 leak plugs and style fixes
Original commit message from CVS:
leak plugs and style fixes
2004-04-01 08:42:30 +00:00
David Schleef
eeb92bbb19 gst/audioscale/gstaudioscale.c: Fix getcaps to expand and union lists. (bug #138225)
Original commit message from CVS:
* gst/audioscale/gstaudioscale.c: (gst_audioscale_expand_value),
(gst_audioscale_getcaps): Fix getcaps to expand and union lists.
(bug #138225)
* gst/debug/Makefile.am:
* gst/debug/breakmydata.c: (gst_break_my_data_plugin_init):
* gst/debug/gstdebug.c: (plugin_init):  Merge elements into one
plugin.
* gst/debug/negotiation.c: (gst_gst_negotiation_get_type),
(gst_negotiation_base_init), (gst_negotiation_class_init),
(gst_negotiation_init), (gst_negotiation_getcaps),
(gst_negotiation_pad_link), (gst_negotiation_chain),
(gst_negotiation_set_property), (gst_negotiation_get_property),
(gst_negotiation_plugin_init):  New element to talk about random
negotiation things happening in a pipeline.
2004-03-31 22:36:36 +00:00
Thomas Vander Stichele
c02723d91d fixing CLAMPING
Original commit message from CVS:
fixing CLAMPING
2004-03-31 17:11:13 +00:00
Matthew.Spencer@eu.sony.com
6c762ed894 ext/mpeg2dec/gstmpeg2dec.c: Handle Y42B-format MPEG video, patch from Matthew.Spencer@eu.sony.com (Matthew Spencer) (...
Original commit message from CVS:
* ext/mpeg2dec/gstmpeg2dec.c: (gst_mpeg2dec_alloc_buffer),
(gst_mpeg2dec_negotiate_format):  Handle Y42B-format MPEG
video, patch from Matthew.Spencer@eu.sony.com (Matthew Spencer)
(bug #137504)
* ext/mpeg2dec/gstmpeg2dec.h:
2004-03-31 06:31:47 +00:00
David Schleef
ecfa6ee7f4 ext/gdk_pixbuf/Makefile.am: Remove spurious rules. (bug #136527)
Original commit message from CVS:
* ext/gdk_pixbuf/Makefile.am: Remove spurious rules. (bug #136527)
2004-03-31 06:09:35 +00:00
gnome@flyn.org
7fa2985d48 tools/gst-launch-ext-m.m: Applied patch from gnome@flyn.org (W.
Original commit message from CVS:
* tools/gst-launch-ext-m.m:  Applied patch from gnome@flyn.org (W.
Michael Petullo) to handle .mov
2004-03-31 06:00:40 +00:00
Benjamin Otte
0941bfb00e sys/oss/gstosselement.c: probe caps correctly for sound cards that only support one format
Original commit message from CVS:
* sys/oss/gstosselement.c: (gst_osselement_probe_caps),
(gst_osselement_rate_check_rate):
probe caps correctly for sound cards that only support one format
2004-03-30 18:01:45 +00:00
Benjamin Otte
ba2e373927 ext/kio/kiosrc.cpp: update handling event processing if inside KDE - untested
Original commit message from CVS:
* ext/kio/kiosrc.cpp: (process_events):
update handling event processing if inside KDE - untested
2004-03-30 17:00:52 +00:00
David Schleef
21910382e5 ext/hermes/gsthermescolorspace.c: decrease rank by 2 to not interfere with other colorspaces.
Original commit message from CVS:
* ext/hermes/gsthermescolorspace.c: (plugin_init): decrease rank
by 2 to not interfere with other colorspaces.
* ext/pango/gsttextoverlay.c: (plugin_init): change rank to NONE
* gst/colorspace/gstcolorspace.c: (plugin_init): decrease rank by
one to not interfere with ffmpeg_colorspace.
2004-03-30 07:07:45 +00:00
David Schleef
eb625f9853 ext/alsa/gstalsa.c: Don't fixate fields that aren't in the caps.
Original commit message from CVS:
* ext/alsa/gstalsa.c: (gst_alsa_fixate): Don't fixate fields that
aren't in the caps.
* gst/sine/gstsinesrc.c: change rate caps to [1,MAX]
* gst/videocrop/gstvideocrop.c: (plugin_init): Change rank to NONE.
2004-03-30 06:51:32 +00:00
Benjamin Otte
516314141e gst-libs/gst/riff/riff-media.c: fail on error, don't try to set stuff on NULL caps
Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c:
fail on error, don't try to set stuff on NULL caps
2004-03-30 03:16:13 +00:00
Benjamin Otte
ae9312fd6a add experimental kiosrc plugin
Original commit message from CVS:
* configure.ac:
* ext/Makefile.am:
* ext/kio/Makefile.am:
* ext/kio/kioreceiver.cpp:
* ext/kio/kioreceiver.h:
* ext/kio/kiosrc.cpp:
* ext/kio/kiosrc.h:
add experimental kiosrc plugin
* ext/alsa/gstalsaplugin.c: (plugin_init):
initialize debugging category only when we're sure registering the
plugins worked.
2004-03-30 02:53:00 +00:00
Thomas Vander Stichele
c6571b5c17 return proper values for state change failures
Original commit message from CVS:
return proper values for state change failures
2004-03-29 17:19:38 +00:00
Benjamin Otte
4dc3806b1f ext/mad/gstid3tag.c: try harder to check if an event is really a discont
Original commit message from CVS:
* ext/mad/gstid3tag.c: (gst_id3_tag_handle_event):
try harder to check if an event is really a discont
2004-03-29 15:58:01 +00:00
Thomas Vander Stichele
a774346982 adding azerbaijani
Original commit message from CVS:
adding azerbaijani
2004-03-29 08:48:56 +00:00
Benjamin Otte
b11fb00b90 gst/mpegstream/: get rid of non-standard "..." ranges in case statements.
Original commit message from CVS:
* gst/mpegstream/gstdvddemux.c: (gst_dvd_demux_process_private):
* gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_parse_syshead),
(gst_mpeg_demux_parse_packet), (gst_mpeg_demux_parse_pes):
get rid of non-standard "..." ranges in case statements.
2004-03-28 01:44:31 +00:00
Martin Soto
102d562e47 gst/mpegstream/gstmpegdemux.*: Complete overhaul. All DVD specific functionality split to the new dvddemux element.
Original commit message from CVS:
* gst/mpegstream/gstmpegdemux.c:
* gst/mpegstream/gstmpegdemux.h: Complete overhaul. All DVD
specific functionality split to the new dvddemux element.
* gst/mpegstream/gstdvddemux.c:
* gst/mpegstream/gstdvddemux.h: New demultiplexer for DVD (VOB)
streams, derived from mpegdemux.
* gst/mpegstream/gstmpegparse.c: Discontinuity handling cleaned
up. SCR based timestamp rewriting can be turned off (will probably
completely disappear soon).
* ext/dvdnav/dvdnavsrc.c: Changes resulting from a few months
hacking. General cleanup. All printf statements replaced by
debugging messages. Almost complete libdvdnav support.
(dvdnavsrc_class_init): Got rid of unnecessary signals (replaced
by events. New properties for audio and subpicture languages.
(dvdnavsrc_update_highlight): Now uses events.
(dvdnavsrc_user_op): Cleaned up.
(dvdnavsrc_get): Renamed to dvdnavsrc_loop (element is now loop
based). Lots of cleanup, and propper support for most libdvdnav
events.
(dvdnavsrc_make_dvd_event): New function.
(dvdnavsrc_make_dvd_nav_packet_event): New function.
(dvdnavsrc_make_clut_change_event): New function.
2004-03-27 22:45:40 +00:00
Benjamin Otte
ab9cc04c05 gst/typefind/gsttypefindfunctions.c: fix bug where typefinding would claim it's theora whenever less then 7 bytes of ...
Original commit message from CVS:
* gst/typefind/gsttypefindfunctions.c: (theora_type_find):
fix bug where typefinding would claim it's theora whenever less then
7 bytes of data were available
2004-03-26 02:16:00 +00:00
Ronald S. Bultje
920ad8773b gst/law/: Fix capsnego in all four, remove the unused property functions and simplify the chain functions slightly. I...
Original commit message from CVS:
* gst/law/alaw-decode.c: (alawdec_getcaps), (alawdec_link),
(gst_alawdec_base_init), (gst_alawdec_class_init),
(gst_alawdec_init), (gst_alawdec_chain):
* gst/law/alaw-encode.c: (alawenc_getcaps), (alawenc_link),
(gst_alawenc_base_init), (gst_alawenc_class_init),
(gst_alawenc_init), (gst_alawenc_chain):
* gst/law/mulaw-decode.c: (mulawdec_getcaps), (mulawdec_link),
(gst_mulawdec_base_init), (gst_mulawdec_class_init),
(gst_mulawdec_init), (gst_mulawdec_chain):
* gst/law/mulaw-encode.c: (mulawenc_getcaps), (mulawenc_link),
(gst_mulawenc_base_init), (gst_mulawenc_class_init),
(gst_mulawenc_init), (gst_mulawenc_chain):
Fix capsnego in all four, remove the unused property functions and
simplify the chain functions slightly. I guess we could use macros
or something similar for those, since the code is so similar, but
I'm currently too lazy...
2004-03-26 01:56:11 +00:00
David Schleef
d21f04ca6f sys/oss/gstosselement.c: Add code to handle rate probing (bug #120883)
Original commit message from CVS:
* sys/oss/gstosselement.c: (gst_osselement_sync_parms),
(gst_osselement_close_audio), (gst_osselement_probe_caps),
(gst_osselement_get_format_structure),
(gst_osselement_rate_probe_check), (gst_osselement_rate_add_range),
(gst_osselement_rate_check_rate), (gst_osselement_rate_add_rate),
(gst_osselement_rate_int_compare): Add code to handle rate probing
(bug #120883)
* sys/oss/gstosselement.h: same
* sys/oss/gstosssink.c: (gst_osssink_init), (gst_osssink_getcaps):
Use rate probing provided by osselement.
* sys/oss/gstosssrc.c: (gst_osssrc_init), (gst_osssrc_getcaps): same
2004-03-25 02:43:48 +00:00
Ronald S. Bultje
f2ad493ba4 ext/xvid/gstxvidenc.c: ulong/int mess-up.
Original commit message from CVS:
* ext/xvid/gstxvidenc.c: (gst_xvidenc_set_property),
(gst_xvidenc_get_property):
ulong/int mess-up.
2004-03-25 02:32:33 +00:00
David Schleef
bcb6556758 ext/speex/: Create the pad template correctly (from the static pad template, not a NULL pointer.)
Original commit message from CVS:
* ext/speex/gstspeexdec.c: (gst_speexdec_base_init),
(gst_speexdec_init):
* ext/speex/gstspeexenc.c: (gst_speexenc_base_init),
(gst_speexenc_init):  Create the pad template correctly (from
the static pad template, not a NULL pointer.)
2004-03-25 01:13:59 +00:00
Benjamin Otte
af8ae1e043 gst/debug/: add element that quasi-randomly changes bytes in the stream.
Original commit message from CVS:
* gst/debug/Makefile.am:
* gst/debug/breakmydata.c:
add element that quasi-randomly changes bytes in the stream.
Intended use is robustness checking of demuxers and decoders in
media tests.
2004-03-25 01:03:37 +00:00
Benjamin Otte
a1b9442d60 ext/alsa/gstalsa.*: debugging output fixes
Original commit message from CVS:
* ext/alsa/gstalsa.c: (gst_alsa_open_audio),
(gst_alsa_probe_hw_params):
* ext/alsa/gstalsa.h:
debugging output fixes
2004-03-24 18:48:54 +00:00
Benjamin Otte
7def3f925e ext/gnomevfs/gstgnomevfssrc.c: don't g_return_if_fail if element is PLAYING, fail silently as every other element.
Original commit message from CVS:
* ext/gnomevfs/gstgnomevfssrc.c: (gst_gnomevfssrc_set_property):
don't g_return_if_fail if element is PLAYING, fail silently as every
other element.
* gst/effectv/gstquark.c: (gst_quarktv_chain):
only fix needed for cast lvalue issues in gst-plugins
* gst/volenv/gstvolenv.c: (gst_volenv_init):
add proxy_getcaps
2004-03-24 14:44:08 +00:00