Commit graph

2916 commits

Author SHA1 Message Date
Thomas Vander Stichele
ae45abfb23 add autoprobe-fps property so we can separate autoprobing parts
Original commit message from CVS:
add autoprobe-fps property so we can separate autoprobing parts
2004-11-09 20:29:44 +00:00
Thomas Vander Stichele
f819c223c6 initialise fourcc to catch unset fourcc's, and debug
Original commit message from CVS:
initialise fourcc to catch unset fourcc's, and debug
2004-11-09 18:27:32 +00:00
Wim Taymans
5d374bf5ea gst/playback/: Cleanups and some more documentation.
Original commit message from CVS:
* gst/playback/README:
* gst/playback/gstdecodebin.c: (close_pad_link), (try_to_link_1):
* gst/playback/gstplaybin.c: (gst_play_bin_init),
(gst_play_bin_dispose), (gst_play_bin_set_property),
(remove_sinks), (setup_sinks), (gst_play_bin_change_state),
(gst_play_bin_get_event_masks), (gst_play_bin_send_event),
(gst_play_bin_get_formats), (gst_play_bin_convert),
(gst_play_bin_get_query_types), (gst_play_bin_query):
Cleanups and some more documentation.
2004-11-09 14:37:51 +00:00
Jan Schmidt
d40b44c61f Let VideoSink store the clock, since Cacasink inherits from there
Original commit message from CVS:
Let VideoSink store the clock, since Cacasink inherits from there
2004-11-09 13:03:33 +00:00
Wim Taymans
b398d11af9 gst/playback/: Updated README.
Original commit message from CVS:
* gst/playback/README:
* gst/playback/gstplaybasebin.c: (group_destroy), (group_is_muted),
(add_stream), (unknown_type), (add_element_stream), (no_more_pads),
(probe_triggered), (preroll_unlinked), (new_decoded_pad),
(gst_play_base_bin_change_state), (gst_play_base_bin_found_tag):
* gst/playback/gstplaybin.c: (gen_vis_element), (remove_sinks),
(setup_sinks):
* gst/playback/gststreaminfo.c: (gst_stream_info_set_mute),
(gst_stream_info_is_mute), (gst_stream_info_set_property):
* gst/playback/gststreaminfo.h:
Updated README.
Only switch groups if all streams have muted (EOSed).
Send Tags in sync with the stream playback instead of in
the playback/preroll phase.
Some cleanups, free the fakesrc elements.
2004-11-09 12:10:28 +00:00
Christian Schaller
1eaa518961 update these two files to contain recent additions
Original commit message from CVS:
update these two files to contain recent additions
2004-11-09 10:18:19 +00:00
Benjamin Otte
37af33bdda ext/alsa/gstalsa.c: buffer-frames property was missing
Original commit message from CVS:
* ext/alsa/gstalsa.c: (gst_alsa_get_caps_internal):
buffer-frames property was missing
* ext/arts/gst_arts.c:
rate missing from sinkcaps
* ext/audiofile/gstafparse.c:
* ext/audiofile/gstafsink.c:
* ext/audiofile/gstafsrc.c:
* ext/swfdec/gstswfdec.c:
int audio doesn't know buffer-frames
* ext/cdparanoia/gstcdparanoia.c:
int audio doesn't know chunksize either
* ext/nas/nassink.c:
it's endianness, not endianess
* gst-libs/gst/audio/audio.h:
make float standard pad template caps really describe float
* gst/law/mulaw.c: (linear_factory):
signed only, please
* gst/mpegstream/gstdvddemux.c:
widths of 20 are not valid
2004-11-09 06:08:22 +00:00
Thomas Vander Stichele
134c9f3513 add italian (Luca Feretti)
Original commit message from CVS:
add italian (Luca Feretti)
2004-11-08 19:51:31 +00:00
Wim Taymans
36da226ad6 update TODO some more.
Original commit message from CVS:
update TODO some more.
2004-11-08 19:09:33 +00:00
Wim Taymans
981a3523b5 Updated TODO lists
Original commit message from CVS:
Updated TODO lists
2004-11-08 18:56:40 +00:00
Wim Taymans
275958323c gst/playback/: Updated README, added more comments for fixmes etc..
Original commit message from CVS:
* gst/playback/README:
* gst/playback/gstdecodebin.c: (close_pad_link), (try_to_link_1):
* gst/playback/gstplaybasebin.c: (probe_triggered),
(gst_play_base_bin_change_state):
Updated README, added more comments for fixmes etc..
2004-11-08 18:27:25 +00:00
Wim Taymans
281c3b53b7 gst/playback/gstplaybasebin.c: We can remove this hack now.
Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (gst_play_base_bin_add_element):
We can remove this hack now.
2004-11-08 18:12:20 +00:00
Wim Taymans
3aaa8b35f9 gst/videomixer/videomixer.c: Only mix AYUV for maximum quality.
Original commit message from CVS:
* gst/videomixer/videomixer.c: (gst_videomixer_blend_ayuv_ayuv),
(gst_videomixer_fill_checker), (gst_videomixer_fill_color),
(gst_videomixer_blend_buffers), (gst_videomixer_loop):
Only mix AYUV for maximum quality.
2004-11-08 17:22:05 +00:00
Ronald S. Bultje
3d4fb38877 ext/ogg/gstoggdemux.c: Let's act as if we're synchronized now! :).
Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (get_relative), (gst_ogg_demux_src_query),
(gst_ogg_demux_push), (gst_ogg_pad_push):
Let's act as if we're synchronized now! :).
* ext/theora/theoradec.c: (theora_dec_chain):
Add some debug.
2004-11-08 17:02:07 +00:00
Wim Taymans
231e629d5c gst/alpha/gstalpha.c: Implement alpha functions for AYUV too, this increases accuracy quite a bit.
Original commit message from CVS:
* gst/alpha/gstalpha.c: (gst_alpha_method_get_type),
(gst_alpha_set_property), (gst_alpha_sink_link),
(gst_alpha_set_ayuv), (gst_alpha_set_i420),
(gst_alpha_chroma_key_ayuv), (gst_alpha_chroma_key_i420),
(gst_alpha_init_params), (gst_alpha_chain):
Implement alpha functions for AYUV too, this increases
accuracy quite a bit.
2004-11-08 16:16:10 +00:00
Wim Taymans
d16e066b92 gst/ffmpegcolorspace/: Added AYUV colorspace and handle RGBA a bit more respectful.
Original commit message from CVS:
* gst/ffmpegcolorspace/avcodec.h:
* gst/ffmpegcolorspace/gstffmpegcodecmap.c:
(gst_ffmpeg_pixfmt_to_caps), (gst_ffmpeg_caps_to_pixfmt),
(gst_ffmpegcsp_avpicture_fill):
* gst/ffmpegcolorspace/gstffmpegcolorspace.c:
(gst_ffmpegcsp_caps_remove_format_info):
* gst/ffmpegcolorspace/imgconvert.c: (avpicture_get_size),
(shrink12), (img_get_alpha_info), (deinterlace_line),
(deinterlace_line_inplace):
* gst/ffmpegcolorspace/imgconvert_template.h:
Added AYUV colorspace and handle RGBA a bit more respectful.
2004-11-08 15:18:15 +00:00
Ronald S. Bultje
6169fd7d0d ext/ogg/gstoggdemux.c: Actually always send a discont (cornercase when resending the same serial-tagged chain twice).
Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_push):
Actually always send a discont (cornercase when resending the
same serial-tagged chain twice).
2004-11-08 14:43:47 +00:00
Julien Moutte
f69a495685 sys/: Some more cleanups, leaks fixed and checks.
Original commit message from CVS:
2004-11-08  Julien MOUTTE  <julien@moutte.net>

* sys/ximage/ximagesink.c: (gst_ximagesink_xcontext_clear),
(gst_ximagesink_finalize):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_xcontext_clear),
(gst_xvimagesink_finalize): Some more cleanups, leaks fixed and checks.
2004-11-08 14:31:55 +00:00
Wim Taymans
4778549c39 gst/typefind/gsttypefindfunctions.c: Don't segfault on NULL data.
Original commit message from CVS:
* gst/typefind/gsttypefindfunctions.c: (aac_type_find):
Don't segfault on NULL data.
2004-11-08 09:48:31 +00:00
Wim Taymans
ac515f710f gst/playback/: Add support for chained ogg files. Prepare for playlist support. This patch introduces the concept of ...
Original commit message from CVS:
* gst/playback/gstdecodebin.c: (unlinked):
* gst/playback/gstplay-marshal.list:
* gst/playback/gstplaybasebin.c: (gst_play_base_bin_class_init),
(gst_play_base_bin_init), (group_create), (get_active_group),
(get_building_group), (group_destroy), (group_commit),
(queue_overrun), (remove_groups), (add_stream), (unknown_type),
(add_element_stream), (no_more_pads), (probe_triggered),
(preroll_unlinked), (new_decoded_pad), (removed_decoded_pad),
(state_change), (setup_source), (gst_play_base_bin_get_property),
(gst_play_base_bin_change_state), (gst_play_base_bin_add_element),
(gst_play_base_bin_link_stream),
(gst_play_base_bin_get_streaminfo):
* gst/playback/gstplaybasebin.h:
* gst/playback/gstplaybin.c: (gst_play_bin_class_init),
(remove_sinks), (setup_sinks), (gst_play_bin_change_state):
Add support for chained ogg files. Prepare for playlist
support. This patch introduces the concept of pad groups, which
together compose one playable media file.
2004-11-08 09:46:17 +00:00
David Schleef
4b8c8d5469 testsuite/gst-lint: Check for pad templates that aren't statically scoped.
Original commit message from CVS:
* testsuite/gst-lint: Check for pad templates that aren't statically
scoped.
2004-11-07 20:50:10 +00:00
Ronald S. Bultje
75c18f1b4e Add musepack decoder.
Original commit message from CVS:
* configure.ac:
* ext/Makefile.am:
* ext/musepack/Makefile.am:
* ext/musepack/gstmusepackdec.cpp:
* ext/musepack/gstmusepackdec.h:
* ext/musepack/gstmusepackreader.cpp:
* ext/musepack/gstmusepackreader.h:
Add musepack decoder.
* ext/faad/gstfaad.c: (gst_faad_base_init):
Make pad templates static.
* gst/typefind/gsttypefindfunctions.c: (mp3_type_find),
(plugin_init):
Add musepack typefinder, make mp3 typefinding work halfway stream,
which doesn't actually work yet because id3demux doesn't implement
_get_length().
2004-11-07 18:30:07 +00:00
Ronald S. Bultje
67fb4efc00 ext/ogg/gstoggmux.c: Fix interrupt event handling (#144436).
Original commit message from CVS:
* ext/ogg/gstoggmux.c: (gst_ogg_mux_next_buffer),
(gst_ogg_mux_queue_pads), (gst_ogg_mux_loop):
Fix interrupt event handling (#144436).
2004-11-07 14:03:51 +00:00
Ronald S. Bultje
d27b3ec02f ext/mad/gstid3tag.c: Hide unused glory.
Original commit message from CVS:
* ext/mad/gstid3tag.c: (gst_id3_tag_do_typefind):
Hide unused glory.
2004-11-06 23:53:13 +00:00
Ronald S. Bultje
9aeea7c92b ext/vorbis/vorbisenc.c: Fix weird caps (#157548).
Original commit message from CVS:
reviewed by: Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* ext/vorbis/vorbisenc.c: (raw_caps_factory):
Fix weird caps (#157548).
2004-11-06 22:50:09 +00:00
Ronald S. Bultje
52181d8327 gst/rtp/gstrtpgsmparse.c: Add missing NULL terminator (#157543).
Original commit message from CVS:
Reviewed by: Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* gst/rtp/gstrtpgsmparse.c: (gst_rtpgsm_caps_nego):
Add missing NULL terminator (#157543).
2004-11-06 22:00:40 +00:00
Thomas Vander Stichele
ecbc5c1a2e ports can go up to 65535. Move common defines to gsttcp.h
Original commit message from CVS:
ports can go up to 65535.  Move common defines to gsttcp.h
2004-11-05 17:38:20 +00:00
Wim Taymans
7585e3b9fb gst/videotestsrc/videotestsrc.c: Added two more colorspaces.
Original commit message from CVS:
* gst/videotestsrc/videotestsrc.c: (paint_setup_Y41B),
(paint_hline_Y41B), (paint_setup_Y42B), (paint_hline_Y42B):
Added two more colorspaces.
2004-11-05 15:07:57 +00:00
Wim Taymans
e40a51fa08 gst/ffmpegcolorspace/: More stride fixes.
Original commit message from CVS:
* gst/ffmpegcolorspace/gstffmpegcodecmap.c:
(gst_ffmpegcsp_avpicture_fill):
* gst/ffmpegcolorspace/imgconvert.c: (avpicture_get_size),
(yuv422p_to_yuv422), (yuv420p_to_yuv422), (shrink12),
(img_convert), (deinterlace_line), (deinterlace_line_inplace):
More stride fixes.
2004-11-05 14:58:50 +00:00
Wim Taymans
5c31c304de gst/: More stride fixes.
Original commit message from CVS:
* gst/alpha/gstalpha.c: (gst_alpha_set_property), (gst_alpha_add),
(gst_alpha_chroma_key), (gst_alpha_init_params), (gst_alpha_chain):
* gst/videomixer/videomixer.c: (gst_videomixer_blend_ayuv_i420),
(gst_videomixer_fill_checker), (gst_videomixer_blend_buffers),
(gst_videomixer_loop):
More stride fixes.
2004-11-05 11:22:17 +00:00
Benjamin Otte
74adc26118 ext/mad/gstmad.c: don't overflow data buffer. Flush not needed sync data when syncing failed.
Original commit message from CVS:
* ext/mad/gstmad.c: (gst_mad_chain):
don't overflow data buffer. Flush not needed sync data when syncing
failed.
2004-11-05 03:33:26 +00:00
Wim Taymans
3eba32bacd gst/alpha/gstalpha.c: Updated the chroma keying algorithm with something more sophisticated.
Original commit message from CVS:
* gst/alpha/gstalpha.c: (gst_alpha_method_get_type),
(gst_alpha_class_init), (gst_alpha_init), (gst_alpha_set_property),
(gst_alpha_get_property), (gst_alpha_add), (gst_alpha_chroma_key),
(gst_alpha_init_params), (gst_alpha_chain),
(gst_alpha_change_state):
Updated the chroma keying algorithm with something more
sophisticated.
2004-11-04 17:15:19 +00:00
Thomas Vander Stichele
97171752ff debug port
Original commit message from CVS:
debug port
2004-11-04 15:57:00 +00:00
Wim Taymans
c980e63788 gst/videomixer/videomixer.c: Fix stride issues. Does not completely work for odd heights.
Original commit message from CVS:
* gst/videomixer/videomixer.c: (gst_videomixer_blend_ayuv_i420),
(gst_videomixer_fill_checker), (gst_videomixer_fill_color),
(gst_videomixer_blend_buffers), (gst_videomixer_loop):
Fix stride issues. Does not completely work for odd
heights.
2004-11-03 18:57:00 +00:00
Wim Taymans
b2b6d87b27 gst/alpha/gstalpha.c: Fix stride issues. Does not completely work for odd heights.
Original commit message from CVS:
* gst/alpha/gstalpha.c: (gst_alpha_method_get_type),
(gst_alpha_chroma_key), (gst_alpha_chain):
Fix stride issues. Does not completely work for odd
heights.
2004-11-03 18:54:50 +00:00
Christophe Fergeau
78e33b59e9 gst/videoscale/: leak fixes
Original commit message from CVS:
2004-11-03  Christophe Fergeau  <teuf@gnome.org>

* gst/videoscale/gstvideoscale.c: (gst_videoscale_getcaps):
* gst/videoscale/videoscale.c: (videoscale_find_by_structure):
leak fixes
2004-11-03 16:08:14 +00:00
Wim Taymans
3e13fd8044 gst/ffmpegcolorspace/: Use correct _fill function to get correct strides.
Original commit message from CVS:
* gst/ffmpegcolorspace/gstffmpegcodecmap.c:
(gst_ffmpegcsp_avpicture_fill):
* gst/ffmpegcolorspace/imgconvert.c: (avpicture_get_size),
(avpicture_alloc):
* gst/ffmpegcolorspace/imgconvert_template.h:
Use correct _fill function to get correct strides.
2004-11-03 15:46:16 +00:00
David Schleef
30cf349ece gst/qtdemux/qtdemux.c: Change all g_print()s to debugging. Add a bunch of consistency checks.
Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (gst_qtdemux_loop_header),
(gst_qtdemux_add_stream), (qtdemux_parse), (qtdemux_parse_tree),
(qtdemux_parse_udta), (qtdemux_tag_add), (gst_qtdemux_handle_esds):
Change all g_print()s to debugging.  Add a bunch of consistency
checks.
2004-11-02 23:50:15 +00:00
Wim Taymans
9b23e6f57f gst/playback/: Fix playback of multiple files. a slightly different approach to handling dynamic pad removals.
Original commit message from CVS:
* gst/playback/gstdecodebin.c: (gst_decode_bin_class_init),
(try_to_link_1), (get_our_ghost_pad), (remove_element_chain),
(unlinked), (no_more_pads), (close_link):
* gst/playback/gstplaybasebin.c: (gst_play_base_bin_init),
(unknown_type), (add_element_stream), (new_decoded_pad),
(removed_decoded_pad), (setup_source):
* gst/playback/gststreaminfo.c: (gst_stream_info_get_type),
(gst_stream_info_class_init), (gst_stream_info_init),
(gst_stream_info_new), (gst_stream_info_dispose),
(stream_info_mute_pad), (gst_stream_info_set_property),
(gst_stream_info_get_property):
* gst/playback/gststreaminfo.h:
Fix playback of multiple files.
a slightly different approach to handling dynamic pad removals.
This one only looks at pads that we have linked.
2004-11-02 10:30:36 +00:00
Christophe Fergeau
229ab4a80c ext/ogg/gstoggdemux.c: fix an "invalid free" warning from libc.
Original commit message from CVS:
2004-11-01  Christophe Fergeau  <teuf@gnome.org>

* ext/ogg/gstoggdemux.c: (gst_ogg_demux_finalize): fix an "invalid
free" warning from libc.
2004-11-01 17:25:07 +00:00
Ronald S. Bultje
abd34577da gst/playback/gstdecodebin.c: Implement support for dynamic pad changing. We listen to "live" pad removals (i.e. while...
Original commit message from CVS:
* gst/playback/gstdecodebin.c: (gst_decode_bin_class_init),
(get_unconnected_element), (remove_starting_from), (pad_removed),
(close_link):
Implement support for dynamic pad changing. We listen to "live"
pad removals (i.e. while playing) and re-setup autoplugging
after that. Playbasebin/playbin need some more work for this
to finally work, but decodebin supports (and replugs) chained
ogg now.
2004-11-01 16:08:32 +00:00
Jan Schmidt
4cf67a0834 Fixes a bunch of problems with finalize and dispose functions, either assumptions that dispose is only called once, o...
Original commit message from CVS:
* ext/alsa/gstalsa.c: (gst_alsa_class_init), (gst_alsa_dispose),
(gst_alsa_finalize):
* ext/cdaudio/gstcdaudio.c: (gst_cdaudio_class_init),
(gst_cdaudio_finalize):
* ext/cdparanoia/gstcdparanoia.c: (cdparanoia_class_init),
(cdparanoia_finalize):
* ext/divx/gstdivxdec.c: (gst_divxdec_dispose):
* ext/divx/gstdivxenc.c: (gst_divxenc_dispose):
* ext/dvdread/dvdreadsrc.c: (dvdreadsrc_class_init),
(dvdreadsrc_finalize):
* ext/flac/gstflacdec.c: (gst_flacdec_class_init),
(gst_flacdec_finalize):
* ext/flac/gstflacenc.c: (gst_flacenc_class_init),
(gst_flacenc_finalize):
* ext/gnomevfs/gstgnomevfssink.c: (gst_gnomevfssink_class_init),
(gst_gnomevfssink_finalize):
* ext/gnomevfs/gstgnomevfssrc.c: (gst_gnomevfssrc_class_init),
(gst_gnomevfssrc_finalize):
* ext/libfame/gstlibfame.c: (gst_fameenc_class_init),
(gst_fameenc_finalize):
* ext/nas/nassink.c: (gst_nassink_class_init),
(gst_nassink_finalize):
* ext/sdl/sdlvideosink.c: (gst_sdlvideosink_finalize),
(gst_sdlvideosink_class_init):
* ext/sndfile/gstsf.c: (gst_sf_dispose):
* gst-libs/gst/mixer/mixertrack.c: (gst_mixer_track_dispose):
* gst-libs/gst/tuner/tunerchannel.c: (gst_tuner_channel_dispose):
* gst-libs/gst/tuner/tunernorm.c: (gst_tuner_norm_dispose):
* gst-libs/gst/xwindowlistener/xwindowlistener.c:
(gst_x_window_listener_dispose):
* gst/audioscale/gstaudioscale.c:
* gst/playondemand/gstplayondemand.c: (play_on_demand_class_init),
(play_on_demand_finalize):
* gst/videofilter/gstvideobalance.c: (gst_videobalance_dispose):
* gst/videoscale/gstvideoscale.c: (gst_videoscale_chain):
* sys/cdrom/gstcdplayer.c: (cdplayer_class_init),
(cdplayer_finalize):
* sys/glsink/glimagesink.c: (gst_glimagesink_finalize),
(gst_glimagesink_class_init):
* sys/oss/gstosselement.c: (gst_osselement_class_init),
(gst_osselement_finalize):
* sys/oss/gstosssink.c: (gst_osssink_dispose):
* sys/oss/gstosssrc.c: (gst_osssrc_dispose):
* sys/v4l/gstv4lelement.c: (gst_v4lelement_dispose):
Fixes a bunch of problems with finalize and dispose functions,
either assumptions that dispose is only called once, or not calling
the parent class dispose/finalize function
2004-11-01 14:43:38 +00:00
Scott Wheeler
3fcf384570 pre-C99 fixes
Original commit message from CVS:
pre-C99 fixes
2004-11-01 13:23:29 +00:00
Stefan Kost
30b54891b6 added two api precondition guards use g_strdup with getenv to fix crash when using ENVVAR
Original commit message from CVS:
added two api precondition guards
use g_strdup with getenv to fix crash when using ENVVAR
2004-11-01 11:45:26 +00:00
Jan Schmidt
0171c7ae3b ext/esd/esdsink.c: Use a finalize function, not dispose, and more importantly, call the parent class finalize functio...
Original commit message from CVS:
* ext/esd/esdsink.c: (gst_esdsink_class_init),
(gst_esdsink_finalize):
Use a finalize function, not dispose, and more importantly,
call the parent class finalize function too
2004-11-01 11:02:31 +00:00
Johan Dahlin
6112413a1f Plug more leaks.
Original commit message from CVS:
Plug more leaks.
2004-11-01 10:38:30 +00:00
Benjamin Otte
d60bad062b gst/tags/gstvorbistag.c: lotsa memleaks today. But they're all small...
Original commit message from CVS:
* gst/tags/gstvorbistag.c: (gst_vorbis_tag_chain):
lotsa memleaks today. But they're all small...
2004-10-31 17:29:02 +00:00
Benjamin Otte
e062e1ea97 ext/ogg/gstoggdemux.c: another memleak crushed
Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_push):
another memleak crushed
2004-10-31 17:16:58 +00:00
Benjamin Otte
7f1398eb26 gst/tags/gstvorbistag.c: fix memleak
Original commit message from CVS:
* gst/tags/gstvorbistag.c: (gst_tag_to_vorbis_comments):
fix memleak
2004-10-31 16:26:01 +00:00
Ronald S. Bultje
109d3f572a ext/ogg/gstoggdemux.c: Hack to prevent crash when going to READY inside signal handler while this function is active.
Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_push):
Hack to prevent crash when going to READY inside signal handler
while this function is active.
2004-10-31 15:33:43 +00:00