Commit graph

3465 commits

Author SHA1 Message Date
Tim-Philipp Müller
804aff8689 ext/jpeg/gstjpegenc.c: Don't leak input buffer in chain function (fixes #322667); make state change function thread-s...
Original commit message from CVS:
* ext/jpeg/gstjpegenc.c: (gst_jpegenc_resync), (gst_jpegenc_chain),
(gst_jpegenc_set_property), (gst_jpegenc_get_property),
(gst_jpegenc_change_state):
Don't leak input buffer in chain function (fixes #322667); make
state change function thread-safe; don't repeat the current function
name in GST_DEBUG statements; use GST_ROUND_UP_* macros; use
gst_pad_alloc_buffer(); misc. minor cleanups.
2005-11-28 16:54:03 +00:00
Jan Schmidt
96d5f727fe gst/matroska/matroska-mux.c: Look for pixel-aspect-ratio in caps, not pixel_width and pixel_height (Fixes: #322645)
Original commit message from CVS:
* gst/matroska/matroska-mux.c:
(gst_matroska_mux_video_pad_setcaps):
Look for pixel-aspect-ratio in caps, not pixel_width and
pixel_height (Fixes: #322645)
2005-11-28 15:13:22 +00:00
Jan Schmidt
bad1f0307a gst/matroska/matroska-mux.c: From Michal Benes: frame duration should be GST_SECOND / framerate, not
Original commit message from CVS:
* gst/matroska/matroska-mux.c:
(gst_matroska_mux_video_pad_setcaps):
From Michal Benes:
frame duration should be GST_SECOND / framerate, not
GST_SECOND * framerate. (Fixes: #322643)
2005-11-28 12:59:05 +00:00
Thomas Vander Stichele
b9d371913c configure.ac: fix up GST_PLUGIN_LDFLAGS
Original commit message from CVS:

* configure.ac:
fix up GST_PLUGIN_LDFLAGS
* gst/rtsp/rtspconnection.c:
fix includes (see #317043)
* gst/videofilter/Makefile.am:
stop installing this library
2005-11-27 17:02:53 +00:00
Edward Hervey
587973e783 ext/dv/gstdvdec.c: Handle the case where the incoming Video dv stream doesn't have a pixel aspect ratio set.
Original commit message from CVS:
* ext/dv/gstdvdec.c: (gst_dvdec_sink_setcaps):
Handle the case where the incoming Video dv stream doesn't have
a pixel aspect ratio set.
2005-11-26 12:54:47 +00:00
Thomas Vander Stichele
044dd6626f document flacdec
Original commit message from CVS:
document flacdec
2005-11-25 22:14:47 +00:00
Thomas Vander Stichele
0a68fafa43 do some name borgifying document
Original commit message from CVS:
do some name borgifying
document
2005-11-25 21:36:18 +00:00
Thomas Vander Stichele
695afd0edf documenting auto*sink using strstr for the video sink lookup, class field is not ordered update other plugins
Original commit message from CVS:

* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-good-plugins-docs.sgml:
* docs/plugins/gst-plugins-good-plugins-sections.txt:
* gst/autodetect/gstautoaudiosink.c:
(gst_auto_audio_sink_base_init):
* gst/autodetect/gstautovideosink.c:
(gst_auto_video_sink_base_init),
(gst_auto_video_sink_factory_filter):
documenting auto*sink
using strstr for the video sink lookup, class field is not ordered

update other plugins
2005-11-25 21:02:16 +00:00
Sebastien Cote
0245479f3e gst/udp/gstudpsrc.c: Patch from Sebastien Cote to close control sockets in udpsrc.
Original commit message from CVS:
* gst/udp/gstudpsrc.c: (gst_udpsrc_stop):
Patch from Sebastien Cote to close control sockets in udpsrc.
2005-11-25 18:03:24 +00:00
Julien Moutte
b47757e510 gst/effectv/gstquark.c: Flush the planes list on reverse caps negotiation. This was crashing because of differently s...
Original commit message from CVS:
2005-11-24  Julien MOUTTE  <julien@moutte.net>

* gst/effectv/gstquark.c: (gst_quarktv_set_caps),
(gst_quarktv_get_unit_size), (gst_quarktv_transform),
(gst_quarktv_planetable_clear), (gst_quarktv_change_state),
(gst_quarktv_base_init), (gst_quarktv_class_init),
(gst_quarktv_init): Flush the planes list on reverse caps
negotiation. This was crashing because of differently sized
buffers.
2005-11-24 15:07:06 +00:00
Julien Moutte
20c7083ccd gst/: Handle strides correctly, fix identity flipping, convert navigation event correctly again.
Original commit message from CVS:
2005-11-24  Julien MOUTTE  <julien@moutte.net>

* gst/debug/gstnavigationtest.c: (draw_box_planar411):
* gst/videofilter/gstvideoflip.c:
(gst_videoflip_method_get_type),
(gst_videoflip_set_caps), (gst_videoflip_transform_caps),
(gst_videoflip_get_unit_size), (gst_videoflip_flip),
(gst_videoflip_transform), (gst_videoflip_handle_src_event),
(gst_videoflip_set_property), (gst_videoflip_base_init),
(gst_videoflip_class_init), (gst_videoflip_init): Handle strides
correctly, fix identity flipping, convert navigation event
correctly again.
2005-11-24 12:50:28 +00:00
Thomas Vander Stichele
a5f9b5d365 back to HEAD
Original commit message from CVS:
back to HEAD
2005-11-23 20:05:26 +00:00
Thomas Vander Stichele
90154bf8e2 releasing 0.9.6
Original commit message from CVS:
releasing 0.9.6
2005-11-23 19:56:31 +00:00
Jan Schmidt
66e41fd204 gst/debug/gstnavigationtest.c: Oops, initialise the framerate GValue
Original commit message from CVS:
* gst/debug/gstnavigationtest.c: (gst_navigationtest_init):
Oops, initialise the framerate GValue
2005-11-23 16:49:16 +00:00
Julien Moutte
2ea4f5b3c9 VideoFilter inherits from
Original commit message from CVS:
2005-11-23  Julien MOUTTE  <julien@moutte.net>

* ext/cairo/gsttimeoverlay.c:
(gst_timeoverlay_update_font_height),
(gst_timeoverlay_set_caps), (gst_timeoverlay_get_unit_size),
(gst_timeoverlay_transform), (gst_timeoverlay_base_init),
(gst_timeoverlay_class_init), (gst_timeoverlay_init),
(gst_timeoverlay_get_type):
* ext/cairo/gsttimeoverlay.h:
* gst/debug/Makefile.am:
* gst/debug/gstnavigationtest.c:
(gst_navigationtest_handle_src_event),
(gst_navigationtest_get_unit_size),
(gst_navigationtest_set_caps),
(gst_navigationtest_transform),
(gst_navigationtest_change_state),
(gst_navigationtest_base_init), (gst_navigationtest_class_init),
(gst_navigationtest_init), (gst_navigationtest_get_type),
(plugin_init):
* gst/debug/gstnavigationtest.h:
* gst/effectv/Makefile.am:
* gst/effectv/gstaging.c: (gst_agingtv_set_caps),
(gst_agingtv_get_unit_size), (gst_agingtv_transform),
(gst_agingtv_base_init), (gst_agingtv_class_init),
(gst_agingtv_init), (gst_agingtv_get_type):
* gst/effectv/gstdice.c: (gst_dicetv_set_caps),
(gst_dicetv_get_unit_size), (gst_dicetv_transform),
(gst_dicetv_base_init), (gst_dicetv_class_init),
(gst_dicetv_init),
(gst_dicetv_get_type):
* gst/effectv/gstedge.c: (gst_edgetv_set_caps),
(gst_edgetv_get_unit_size), (gst_edgetv_transform),
(gst_edgetv_base_init), (gst_edgetv_class_init),
(gst_edgetv_init),
(gst_edgetv_get_type):
* gst/effectv/gsteffectv.c:
* gst/effectv/gsteffectv.h:
* gst/effectv/gstquark.c: (gst_quarktv_set_caps),
(gst_quarktv_get_unit_size), (fastrand),
(gst_quarktv_transform),
(gst_quarktv_change_state), (gst_quarktv_base_init),
(gst_quarktv_class_init), (gst_quarktv_init),
(gst_quarktv_get_type):
* gst/effectv/gstrev.c: (gst_revtv_set_caps),
(gst_revtv_get_unit_size), (gst_revtv_transform),
(gst_revtv_base_init), (gst_revtv_class_init), (gst_revtv_init),
(gst_revtv_get_type):
* gst/effectv/gstshagadelic.c: (gst_shagadelictv_set_caps),
(gst_shagadelictv_get_unit_size), (gst_shagadelictv_transform),
(gst_shagadelictv_base_init), (gst_shagadelictv_class_init),
(gst_shagadelictv_init), (gst_shagadelictv_get_type):
* gst/effectv/gstvertigo.c: (gst_vertigotv_set_caps),
(gst_vertigotv_get_unit_size), (gst_vertigotv_transform),
(gst_vertigotv_base_init), (gst_vertigotv_class_init),
(gst_vertigotv_init), (gst_vertigotv_get_type):
* gst/effectv/gstwarp.c: (gst_warptv_set_caps),
(gst_warptv_get_unit_size), (gst_warptv_transform),
(gst_warptv_base_init), (gst_warptv_class_init),
(gst_warptv_init),
(gst_warptv_get_type):
* gst/videofilter/Makefile.am:
* gst/videofilter/gstvideobalance.c:
* gst/videofilter/gstvideobalance.h:
* gst/videofilter/gstvideofilter.c: (gst_videofilter_get_type),
(gst_videofilter_class_init), (gst_videofilter_init):
* gst/videofilter/gstvideofilter.h:
* gst/videofilter/gstvideoflip.c: (gst_videoflip_set_caps),
(gst_videoflip_transform_caps), (gst_videoflip_get_unit_size),
(gst_videoflip_flip), (gst_videoflip_transform),
(gst_videoflip_handle_src_event), (gst_videoflip_set_property),
(gst_videoflip_base_init), (gst_videoflip_class_init),
(gst_videoflip_init), (plugin_init), (gst_videoflip_get_type):
* gst/videofilter/gstvideoflip.h: VideoFilter inherits from
BaseTransform, it's just a place holder for now and every video
effect plugin has been ported to use BaseTransform features
directly. QuarkTV was fixed too (was broken), navigationtest
works
and best for the end, videoflip converts navigation events
depending
on flip method ! Fixes #320953
2005-11-23 15:50:51 +00:00
Jan Schmidt
48520a455d Fixes for API changes
Original commit message from CVS:
* ext/aalib/gstaasink.c: (gst_aasink_fixate):
* ext/cairo/gsttextoverlay.c: (gst_text_overlay_collected):
* gst/goom/gstgoom.c: (gst_goom_init), (gst_goom_src_setcaps),
(gst_goom_src_negotiate), (gst_goom_chain):
* gst/matroska/matroska-mux.c:
(gst_matroska_mux_video_pad_setcaps):
* sys/osxvideo/osxvideosink.m:
Fixes for API changes
2005-11-23 14:22:18 +00:00
Michael Smith
8667e55c83 ext/jpeg/: JPEG fractiony goodness.
Original commit message from CVS:
* ext/jpeg/gstjpegdec.c: (gst_jpeg_dec_setcaps),
(gst_jpeg_dec_chain), (gst_jpeg_dec_change_state):
* ext/jpeg/gstjpegdec.h:
* ext/jpeg/gstjpegenc.c: (gst_jpegenc_setcaps):
* ext/jpeg/gstjpegenc.h:
* ext/jpeg/gstsmokeenc.c: (gst_smokeenc_setcaps),
(gst_smokeenc_resync):
* ext/jpeg/gstsmokeenc.h:
JPEG fractiony goodness.
2005-11-22 23:58:14 +00:00
Michael Smith
a72e695a1e Fix for #321430: unresolved symbols due to incorrect linkage on inline functions in goom.
Original commit message from CVS:
Fix for #321430: unresolved symbols due to incorrect linkage on inline functions
in goom.

Does not, however, fix the general crackheadedness of goom (global variables,
oh my!); this should be moved to -bad.
2005-11-22 22:35:57 +00:00
Jan Schmidt
11c39abc9a More fractional framerate conversions
Original commit message from CVS:
* ext/cairo/gsttextoverlay.c: (gst_text_overlay_init),
(gst_text_overlay_setcaps), (gst_text_overlay_collected):
* ext/cairo/gsttextoverlay.h:
* ext/gdk_pixbuf/gstgdkpixbuf.c: (gst_gdk_pixbuf_sink_link):
* ext/gdk_pixbuf/gstgdkpixbuf.h:
* ext/libpng/gstpngdec.c: (gst_pngdec_init),
(gst_pngdec_caps_create_and_set):
* ext/libpng/gstpngdec.h:
* ext/libpng/gstpngenc.c: (gst_pngenc_setcaps):
* gst/alpha/gstalphacolor.c: (gst_alpha_color_set_caps):
* gst/avi/gstavimux.c: (gst_avimux_init),
(gst_avimux_vidsinkconnect):
* gst/flx/gstflxdec.c: (gst_flxdec_chain):
* gst/goom/gstgoom.c: (gst_goom_init), (gst_goom_src_setcaps),
(gst_goom_src_negotiate), (gst_goom_chain):
* gst/goom/gstgoom.h:
* gst/matroska/matroska-demux.c: (gst_matroska_demux_video_caps):
* gst/matroska/matroska-mux.c:
(gst_matroska_mux_video_pad_setcaps):
* sys/osxvideo/osxvideosink.h:
* sys/osxvideo/osxvideosink.m:
More fractional framerate conversions
2005-11-22 22:21:37 +00:00
Jan Schmidt
dad9986cb4 Convert to fractional framerates.
Original commit message from CVS:
* ext/aalib/gstaasink.c: (gst_aasink_fixate):
* gst/debug/gstnavigationtest.c:
(gst_navigationtest_handle_src_event):
* gst/videofilter/gstvideofilter.c:
(gst_videofilter_format_get_structure), (gst_videofilter_setcaps),
(gst_videofilter_init):
* gst/videofilter/gstvideofilter.h:
Convert to fractional framerates.
2005-11-22 20:07:47 +00:00
Thomas Vander Stichele
842a43f802 fix up more enums
Original commit message from CVS:
fix up more enums
2005-11-22 18:11:58 +00:00
Michael Smith
a6e0bc89cb gst/videomixer/videomixer.c: Fractional framerates, videomixer.
Original commit message from CVS:
* gst/videomixer/videomixer.c: (gst_videomixer_pad_sink_setcaps),
(gst_videomixer_getcaps), (gst_videomixer_fill_queues),
(gst_videomixer_update_queues):
Fractional framerates, videomixer.
2005-11-22 17:39:11 +00:00
Michael Smith
efe4bc244d ext/dv/: Fractional framerates for DV.
Original commit message from CVS:
* ext/dv/gstdvdec.c: (gst_dvdec_init), (gst_dvdec_sink_setcaps):
* ext/dv/gstdvdec.h:
* ext/dv/gstdvdemux.c: (gst_dvdemux_init),
(gst_dvdemux_src_convert), (gst_dvdemux_sink_convert),
(gst_dvdemux_demux_video), (gst_dvdemux_demux_frame),
(gst_dvdemux_flush):
* ext/dv/gstdvdemux.h:
Fractional framerates for DV.
2005-11-22 17:09:36 +00:00
Tim-Philipp Müller
e8464db22f gst/autodetect/: Use gst_plugin_feature_list_free() to free feature list and in the case of autovideosink free the li...
Original commit message from CVS:
* gst/autodetect/gstautoaudiosink.c:
(gst_auto_audio_sink_find_best), (gst_auto_audio_sink_detect):
* gst/autodetect/gstautovideosink.c:
(gst_auto_video_sink_find_best), (gst_auto_video_sink_detect):
Use gst_plugin_feature_list_free() to free feature list and
in the case of autovideosink free the list at all. Also
miscellaneous cosmetic fixes.
2005-11-22 14:44:26 +00:00
Thomas Vander Stichele
baba27fb18 gst/cutter/gstcutter.c: copy calculation code from level; remove use of some audio functions
Original commit message from CVS:

* gst/cutter/gstcutter.c: (gst_cutter_chain),
(gst_cutter_set_property), (gst_cutter_get_caps):
copy calculation code from level; remove use of some audio
functions
2005-11-22 13:13:21 +00:00
Andy Wingo
8d223d75d0 Update for gst_tag_setter API changes.
Original commit message from CVS:
2005-11-22  Andy Wingo  <wingo@pobox.com>

* Update for gst_tag_setter API changes.
2005-11-22 12:38:33 +00:00
Andy Wingo
bdeae7cfcd ext/dv/gstdvdemux.c (gst_dvdemux_handle_sink_event) (gst_dvdemux_demux_frame) ext/flac/gstflacdec.c (gst_flacdec_writ...
Original commit message from CVS:
2005-11-22  Andy Wingo  <wingo@pobox.com>

* ext/dv/gstdvdemux.c (gst_dvdemux_handle_sink_event)
(gst_dvdemux_demux_frame)
* ext/flac/gstflacdec.c (gst_flacdec_write)
* ext/flac/gstflacenc.c (gst_flacenc_seek_callback)
(gst_flacenc_sink_event)
* ext/gconf/gstgconfaudiosink.c (gst_gconf_audio_sink_init)
* ext/gconf/gstgconfvideosink.c (gst_gconf_video_sink_init)
* ext/libpng/gstpngdec.c (gst_pngdec_caps_create_and_set)
* ext/speex/gstspeexdec.c (speex_dec_event, speex_dec_chain)
* gst/auparse/gstauparse.c (gst_auparse_chain)
* gst/autodetect/gstautoaudiosink.c (gst_auto_audio_sink_init)
* gst/autodetect/gstautovideosink.c (gst_auto_video_sink_init)
* gst/avi/gstavidemux.c (gst_avi_demux_stream_header)
(gst_avi_demux_handle_seek)
* gst/goom/gstgoom.c (gst_goom_event)
* gst/matroska/ebml-write.c (gst_ebml_write_seek)
* gst/matroska/matroska-demux.c
(gst_matroska_demux_handle_seek_event)
(gst_matroska_demux_loop_stream_parse_id)
* gst/wavenc/gstwavenc.c (gst_wavenc_stop_file)
* gst/wavparse/gstwavparse.c (gst_wavparse_handle_seek)
(gst_wavparse_stream_headers): Run update-funcnames.
2005-11-22 11:53:34 +00:00
Edward Hervey
f8456ac0f3 URIHandler interface and element properties are now properly synchronized for DV1394src and UDPSrc
Original commit message from CVS:
* ext/raw1394/gstdv1394src.c: (gst_dv1394src_class_init),
(gst_dv1394src_init), (gst_dv1394src_dispose),
(gst_dv1394src_set_property), (gst_dv1394src_discover_avc_node),
(gst_dv1394src_uri_set_uri):
* gst/udp/gstudpsrc.c: (gst_udpsrc_class_init),
(gst_udpsrc_update_uri), (gst_udpsrc_set_uri),
(gst_udpsrc_set_property), (gst_udpsrc_uri_get_uri):
URIHandler interface and element properties are now properly
synchronized for DV1394src and UDPSrc
2005-11-22 11:49:30 +00:00
Tim-Philipp Müller
8dbe2e2626 ext/: libgsttagedit has been renamed to libgsttag.
Original commit message from CVS:
* ext/flac/Makefile.am:
* ext/speex/Makefile.am:
libgsttagedit has been renamed to libgsttag.
2005-11-22 11:36:04 +00:00
Wim Taymans
99b2663862 gst/rtsp/rtspconnection.c: Apply patch from Sebastien Cote to fix #319184.
Original commit message from CVS:
* gst/rtsp/rtspconnection.c: (read_body):
Apply patch from Sebastien Cote to fix #319184.
2005-11-21 20:11:59 +00:00
Thomas Vander Stichele
15c52996c2 port cutter
Original commit message from CVS:

* configure.ac:
* gst/cutter/Makefile.am:
* gst/cutter/gstcutter.c: (gst_cutter_class_init),
(gst_cutter_init), (gst_cutter_message_new), (gst_cutter_chain),
(gst_cutter_set_property), (gst_cutter_get_property),
(plugin_init), (gst_cutter_get_caps):
port cutter
* gst/level/gstlevel.c:
fix up plugin details
2005-11-21 19:50:25 +00:00
Tim-Philipp Müller
3cbd39e022 Update for stream lock API changes: don't take stream log in sink event handlers any longer and change GST_STREAM_LOC...
Original commit message from CVS:
* ext/dv/gstdvdemux.c: (gst_dvdemux_handle_sink_event):
* ext/flac/gstflacdec.c: (gst_flacdec_loop),
(gst_flacdec_src_event):
* ext/flac/gstflacenc.c: (gst_flacenc_sink_event):
* ext/ladspa/gstsignalprocessor.c: (gst_signal_processor_event),
(gst_signal_processor_getrange), (gst_signal_processor_chain):
* gst/avi/gstavidemux.c: (gst_avi_demux_handle_seek):
* gst/flx/gstflxdec.c: (gst_flxdec_src_event_handler),
(gst_flxdec_sink_event_handler):
* gst/matroska/matroska-demux.c:
(gst_matroska_demux_handle_seek_event):
* gst/wavparse/gstwavparse.c: (gst_wavparse_handle_seek):
Update for stream lock API changes: don't take stream log
in sink event handlers any longer and change GST_STREAM_LOCK
to GST_PAD_STREAM_LOCK. Don't leak references in flxdec event
functions.
2005-11-21 18:09:02 +00:00
Michael Smith
41c068c533 gst_object_unref, not g_object_unref
Original commit message from CVS:
gst_object_unref, not g_object_unref
2005-11-21 17:49:21 +00:00
Tim-Philipp Müller
e879eec880 gst/wavparse/gstwavparse.c: Use GST_DEBUG_FUNCPTR; add debug message in pad activate function.
Original commit message from CVS:
* gst/wavparse/gstwavparse.c: (gst_wavparse_init),
(gst_wavparse_create_sourcepad), (gst_wavparse_sink_activate):
Use GST_DEBUG_FUNCPTR; add debug message in pad activate function.
2005-11-21 17:23:46 +00:00
Michael Smith
4b379f5727 gst/auparse/: Partially fix #161712. playbin still doesn't work on these files, (on the bug report, Andy says we aren...
Original commit message from CVS:
* gst/auparse/Makefile.am:
* gst/auparse/gstauparse.c: (gst_auparse_class_init),
(gst_auparse_init), (gst_auparse_dispose), (gst_auparse_chain),
(gst_auparse_change_state):
* gst/auparse/gstauparse.h:
Partially fix #161712. playbin still doesn't work on these files,
(on the bug report, Andy says we aren't typefinding it for some
reason?) but at least auparse isn't totally busted like it was before.
2005-11-21 17:18:01 +00:00
Andy Wingo
0d470f58ca *.*: Ran scripts/update-macros. Oh yes.
Original commit message from CVS:
2005-11-21  Andy Wingo  <wingo@pobox.com>

* *.h:
* *.c: Ran scripts/update-macros. Oh yes.
2005-11-21 16:36:05 +00:00
Tim-Philipp Müller
bba99aa3da gst/matroska/matroska-demux.c: Filler events are gone for now, comment out section generating them.
Original commit message from CVS:
* gst/matroska/matroska-demux.c: (gst_matroska_demux_sync_streams):
Filler events are gone for now, comment out section generating
them.
2005-11-21 15:06:35 +00:00
Jan Schmidt
c8c73fd8e3 Rename gst_caps_structure_fixate_* to gst_structure_fixate_* (#322027)
Original commit message from CVS:
* ext/aalib/gstaasink.c: (gst_aasink_fixate):
* ext/mikmod/gstmikmod.c: (gst_mikmod_srcfixate):
* gst/goom/gstgoom.c: (gst_goom_src_negotiate):
* sys/osxvideo/osxvideosink.m:
Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
(#322027)
2005-11-21 14:31:05 +00:00
Tim-Philipp Müller
c36b3310f3 Fixes for GST_FOURCC_FORMAT API change.
Original commit message from CVS:
* ext/aalib/gstaasink.c: (gst_aasink_setcaps):
* gst/avi/gstavidemux.c: (gst_avi_demux_parse_file_header),
(gst_avi_demux_read_subindexes), (gst_avi_demux_parse_stream),
(gst_avi_demux_parse_odml), (gst_avi_demux_stream_index),
(gst_avi_demux_sync), (gst_avi_demux_stream_header),
(gst_avi_demux_stream_data):
* gst/matroska/matroska-demux.c: (gst_matroska_demux_video_caps):
* gst/wavenc/gstwavenc.c: (write_metadata):
* gst/wavparse/gstwavparse.c: (gst_wavparse_parse_adtl),
(gst_wavparse_parse_file_header), (gst_wavparse_stream_headers):
Fixes for GST_FOURCC_FORMAT API change.
2005-11-21 13:38:24 +00:00
Tim-Philipp Müller
ded2471f23 Fix for collect pads API change. Also fix textoverlay state change function.
Original commit message from CVS:
* ext/cairo/gsttextoverlay.c: (gst_text_overlay_finalize),
(gst_text_overlay_init), (gst_text_overlay_text_pad_linked),
(gst_text_overlay_text_pad_unlinked), (gst_text_overlay_pop_video),
(gst_text_overlay_pop_text), (gst_text_overlay_collected),
(gst_text_overlay_change_state):
* gst/matroska/matroska-mux.c: (gst_matroska_mux_init),
(gst_matroska_mux_reset), (gst_matroska_mux_request_new_pad),
(gst_matroska_mux_best_pad), (gst_matroska_mux_change_state):
* gst/smpte/gstsmpte.c: (gst_smpte_init), (gst_smpte_collected):
* gst/videomixer/videomixer.c: (gst_videomixer_init),
(gst_videomixer_request_new_pad), (gst_videomixer_fill_queues),
(gst_videomixer_change_state):
Fix for collect pads API change. Also fix textoverlay state
change function.
2005-11-21 12:13:48 +00:00
Julien Moutte
7ab7f62dc2 gst/matroska/matroska-mux.c: Replace
Original commit message from CVS:
2005-11-20  Julien MOUTTE  <julien@moutte.net>

* gst/matroska/matroska-mux.c: (gst_matroska_mux_start): Replace
GST_PAD_IS_USABLE by something approaching it.
2005-11-20 17:04:55 +00:00
Julien Moutte
985daa9d64 gst/matroska/matroska-mux.c: Fix for
Original commit message from CVS:
2005-11-20  Julien MOUTTE  <julien@moutte.net>

* gst/matroska/matroska-mux.c: (gst_matroska_mux_start): Fix for
API changes.
* gst/wavenc/gstwavenc.c: (gst_wavenc_chain): Fix for API
changes,
but also fix the code that was not checking return values from
pad_push neither using pad_alloc_buffer.
2005-11-20 16:43:32 +00:00
Edward Hervey
978a8d1529 ext/libpng/gstpngenc.c: Added debug category
Original commit message from CVS:
* ext/libpng/gstpngenc.c: (gst_pngenc_class_init),
(gst_pngenc_chain):
Added debug category
Return GST_FLOW_UNEXPECTED when sending an EOS, so the whole pipeline
goes to EOS.
2005-11-18 18:19:21 +00:00
Edgard Lima
5ae66f78c5 Created Speex payloader and depayloader; Optimize G711 payloader to use adapter and send packets until MTU size.
Original commit message from CVS:
Created Speex payloader and depayloader; Optimize G711 payloader to use adapter and send packets until MTU size.
2005-11-17 18:23:23 +00:00
Wim Taymans
42c5075f17 check/elements/matroskamux.c: Fix leak in check.
Original commit message from CVS:
* check/elements/matroskamux.c: (setup_src_pad), (setup_sink_pad):
Fix leak in check.
2005-11-16 19:08:54 +00:00
Wim Taymans
d94e691bee gst/flx/gstflxdec.c: Fix state change.
Original commit message from CVS:
* gst/flx/gstflxdec.c: (gst_flxdec_change_state):
Fix state change.
2005-11-16 17:00:32 +00:00
Andy Wingo
14e8166740 Move comment.
Original commit message from CVS:
(gst_udpsrc_create): Move comment.
2005-11-16 11:02:24 +00:00
Andy Wingo
e84b50dd51 gst/udp/gstudpsrc.c: Clean up with the boilerplate macro.
Original commit message from CVS:
2005-11-16  Andy Wingo  <wingo@pobox.com>

* gst/udp/gstudpsrc.c: Clean up with the boilerplate macro.
2005-11-16 10:43:44 +00:00
Tim-Philipp Müller
7f63b50f3f gst/matroska/matroska-demux.c: When seeking, seek to closest index entry at or before the requested seek position, no...
Original commit message from CVS:
Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
* gst/matroska/matroska-demux.c: (gst_matroskademux_do_index_seek):
When seeking, seek to closest index entry at or before the requested
seek position, not just the closest one (#321001).
2005-11-15 19:41:21 +00:00
Tim-Philipp Müller
12aed9b96e gst/avi/gstavidemux.c: Invert DIB images again (see #132341).
Original commit message from CVS:
* gst/avi/gstavidemux.c: (swap_line), (gst_avi_demux_invert),
(gst_avi_demux_process_next_entry), (gst_avi_demux_stream_data):
Invert DIB images again (see #132341).
2005-11-15 12:16:00 +00:00
Thomas Vander Stichele
6ff59b2f6e rework configure.ac; make asterisk rtp stuff compile on mingw
Original commit message from CVS:
rework configure.ac; make asterisk rtp stuff compile on mingw
2005-11-14 02:13:35 +00:00
Edward Hervey
57b2ee4bb5 ext/jpeg/gstjpegdec.c: Only GST_DEBUG() information on the valid components.
Original commit message from CVS:
* ext/jpeg/gstjpegdec.c: (gst_jpeg_dec_chain):
Only GST_DEBUG() information on the valid components.
2005-11-12 13:31:56 +00:00
Thomas Vander Stichele
ff383c59f2 back to head
Original commit message from CVS:
back to head
2005-11-11 19:34:50 +00:00
Thomas Vander Stichele
20204bafa3 releasing 0.9.5
Original commit message from CVS:
releasing 0.9.5
2005-11-11 19:33:23 +00:00
Edward Hervey
ad2f2ea24b gst/avi/gstavidemux.*: Yeah, implement proper seeking. Exact seeking and segment seeking.
Original commit message from CVS:
* gst/avi/gstavidemux.c: (gst_avi_demux_reset),
(gst_avi_demux_src_convert), (gst_avi_demux_handle_src_event),
(gst_avi_demux_stream_header), (gst_avi_demux_handle_seek),
(gst_avi_demux_process_next_entry), (gst_avi_demux_stream_data),
(gst_avi_demux_loop):
* gst/avi/gstavidemux.h:
Yeah, implement proper seeking. Exact seeking and segment seeking.
Still need to do some checks for segment_stop.
2005-11-11 16:48:58 +00:00
Tim-Philipp Müller
c16c22e4c1 gst/matroska/matroska-mux.c: Don't try to ready buffer duration from buffer that we don't own any longer and that mi...
Original commit message from CVS:
Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
* gst/matroska/matroska-mux.c: (gst_matroska_mux_write_data):
Don't try to ready buffer duration from buffer that we don't
own any  longer and that might already have been unreffed.
(#321136)
2005-11-10 12:22:30 +00:00
Zeeshan Ali
8a534978d4 Attempting to optimize the code for embedded systems.
Original commit message from CVS:
Attempting to optimize the code for embedded systems.
2005-11-09 21:35:29 +00:00
Tim-Philipp Müller
a9c9d62886 sys/oss/gstosssink.c: Don't re-use already closed file descriptor. (#320920)
Original commit message from CVS:
Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
* sys/oss/gstosssink.c: (gst_oss_sink_close):
Don't re-use already closed file descriptor. (#320920)
2005-11-08 08:54:30 +00:00
Tim-Philipp Müller
ef3e55d3a6 sys/oss/gstosssink.*: Cache probed caps; fix debug output for SET_PARAM macros.
Original commit message from CVS:
* sys/oss/gstosssink.c: (gst_oss_sink_dispose),
(gst_oss_sink_set_property), (gst_oss_sink_getcaps),
(gst_oss_sink_prepare):
* sys/oss/gstosssink.h:
Cache probed caps; fix debug output for SET_PARAM macros.
2005-11-07 17:35:20 +00:00
Tim-Philipp Müller
8af7381d5c ext/cairo/: Port cairo textoverlay plugin to 0.9. Add 'shaded-background' property and redo position. Doesn't handle ...
Original commit message from CVS:
* ext/cairo/Makefile.am:
* ext/cairo/gstcairo.c: (plugin_init):
* ext/cairo/gsttextoverlay.c: (gst_text_overlay_base_init),
(gst_text_overlay_class_init), (gst_text_overlay_finalize),
(gst_text_overlay_init), (gst_text_overlay_font_init),
(gst_text_overlay_set_property), (gst_text_overlay_render_text),
(gst_text_overlay_getcaps), (gst_text_overlay_setcaps),
(gst_text_overlay_text_pad_linked),
(gst_text_overlay_text_pad_unlinked), (gst_text_overlay_shade_y),
(gst_text_overlay_blit_1), (gst_text_overlay_blit_sub2x2),
(gst_text_overlay_push_frame), (gst_text_overlay_pop_video),
(gst_text_overlay_pop_text), (gst_text_overlay_collected),
(gst_text_overlay_change_state):
* ext/cairo/gsttextoverlay.h:
Port cairo textoverlay plugin to 0.9. Add 'shaded-background'
property and redo position. Doesn't handle upstream renegotiation
yet though.
2005-11-07 15:09:54 +00:00
Tim-Philipp Müller
fb1c3904f7 gst/avi/gstavidemux.c: No need to take the STREAM_LOCK in the loop function. Improve some debug messages. Don't leak ...
Original commit message from CVS:
* gst/avi/gstavidemux.c: (gst_avi_demux_parse_stream),
(gst_avi_demux_process_next_entry), (gst_avi_demux_stream_data),
(gst_avi_demux_loop):
No need to take the STREAM_LOCK in the loop function. Improve
some debug messages. Don't leak pad names in debug messages.
2005-11-07 10:31:32 +00:00
Tim-Philipp Müller
7eb9e37532 gst/matroska/matroska-demux.c: Don't error out when the source pad isn't linked.
Original commit message from CVS:
* gst/matroska/matroska-demux.c:
(gst_matroska_demux_push_vorbis_codec_priv_data),
(gst_matroska_demux_add_wvpk_header):
Don't error out when the source pad isn't linked.
2005-11-07 10:27:00 +00:00
Tim-Philipp Müller
98d290b864 ext/gconf/: Fix state change functions here as well and set kid to NULL state before removing it.
Original commit message from CVS:
* ext/gconf/gstgconfaudiosink.c: (do_toggle_element),
(gst_gconf_audio_sink_change_state):
* ext/gconf/gstgconfvideosink.c: (do_toggle_element),
(gst_gconf_video_sink_change_state):
Fix state change functions here as well and set kid
to NULL state before removing it.
2005-11-02 19:42:38 +00:00
Edward Hervey
53840faa46 gst/wavenc/gstwavenc.c: Added proper event handlind, made downstream newsegment event use GST_FORMAT_BYTES (otherwise...
Original commit message from CVS:
* gst/wavenc/gstwavenc.c: (gst_wavenc_stop_file),
(gst_wavenc_init), (gst_wavenc_event), (gst_wavenc_chain):
Added proper event handlind,
made downstream newsegment event use GST_FORMAT_BYTES (otherwise it's
ignored),
and don't set a duration of 0 for buffers otherwise they are discarded
by GstBaseSink.
GstWavEnc needs some serious loving, after going through the code I'm
really wondering how this can stay in -good ...
2005-11-01 15:15:44 +00:00
Thomas Vander Stichele
b1b1fe52d6 Fix leaks and invalid memory access as reported by valgrind
Original commit message from CVS:

* check/elements/matroskamux.c: (setup_src_pad), (setup_sink_pad),
(setup_matroskamux), (check_buffer_data), (GST_START_TEST):
* gst/matroska/matroska-mux.c: (gst_matroska_mux_finalize),
(gst_matroska_mux_reset), (gst_matroska_mux_audio_pad_setcaps),
(gst_matroska_mux_start), (gst_matroska_mux_write_data),
(gst_matroska_mux_collected):
Fix leaks and invalid memory access as reported by valgrind
2005-11-01 15:11:16 +00:00
Michal Benes
d52d22ca12 add a unit test for matroskamux fix the bugs that the unit test exposed
Original commit message from CVS:
Patch by: Michal Benes <michal.benes@xeris.cz>

* check/Makefile.am:
* gst/matroska/ebml-write.c: (gst_ebml_write_seek):
* gst/matroska/matroska-mux.c: (gst_matroska_mux_handle_src_event),
(gst_matroska_mux_audio_pad_setcaps), (gst_matroska_mux_start):
add a unit test for matroskamux
fix the bugs that the unit test exposed
2005-11-01 14:36:02 +00:00
Tim-Philipp Müller
7448422fe2 gst/autodetect/: Fix state change function and use GST_DEBUG_FUNCPTR in class_init.
Original commit message from CVS:
* gst/autodetect/gstautoaudiosink.c:
(gst_auto_audio_sink_class_init),
(gst_auto_audio_sink_change_state):
* gst/autodetect/gstautovideosink.c:
(gst_auto_video_sink_class_init),
(gst_auto_video_sink_change_state):
Fix state change function and use GST_DEBUG_FUNCPTR in
class_init.
2005-11-01 12:39:16 +00:00
Tim-Philipp Müller
7d9dd13c6e gst/matroska/: Set timestamps on outgoing ebml headers as well, so that the element after matroskamux can get the tim...
Original commit message from CVS:
Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
* gst/matroska/ebml-write.c: (gst_ebml_write_new),
(gst_ebml_write_reset), (gst_ebml_write_element_new):
* gst/matroska/ebml-write.h:
* gst/matroska/matroska-mux.c: (gst_matroska_mux_write_data):
Set timestamps on outgoing ebml headers as well, so that the
element after matroskamux can get the timestamp already when
reading the first ebml element and doesn't have to wait for
the actual data buffer for that (#320308).
2005-11-01 12:35:39 +00:00
Andy Wingo
2778e393c6 gst/videomixer/videomixer.c (gst_videomixer_pad_unlink)
Original commit message from CVS:
2005-10-31  Andy Wingo  <wingo@pobox.com>

* gst/videomixer/videomixer.c (gst_videomixer_pad_unlink)
(gst_videomixer_pad_link): Kill some memleaks.
(gst_videomixer_pad_get_property): Style fix.
(gst_videomixer_pad_set_property): Style fix.
(gst_videomixer_pad_init): Style fix.
(gst_videomixer_update_queues): Kill memleak.
(gst_videomixer_loop): Kill memleak.
(gst_videomixer_collected): Kill memleak.
2005-10-31 22:08:52 +00:00
Edgard Lima
f8667dcaec Just some cleanup.
Original commit message from CVS:
Just some cleanup.
2005-10-31 19:08:27 +00:00
Edgard Lima
7d5d482411 Add checks to GST_FLOW_NOT_LINKED for values returned from gst_pad_push.
Original commit message from CVS:
Add checks to GST_FLOW_NOT_LINKED for values returned from gst_pad_push.
2005-10-31 14:41:31 +00:00
Zeeshan Ali
6662f94650 Payloader now sets some default caps on the srcpad if caps on the sinkpad are never set. This is important for the g7...
Original commit message from CVS:
Payloader now sets some default caps on the srcpad if caps on the sinkpad are never set. This is important for the g711 to work with burger's rtpbin element.
2005-10-31 12:00:10 +00:00
Edgard Lima
758cd8fd18 Add checks for return values from gst_pad_push and gst_pad_alloc_buffer.
Original commit message from CVS:
Add checks for return values from gst_pad_push and gst_pad_alloc_buffer.
2005-10-28 19:19:40 +00:00
Tim-Philipp Müller
0166570e09 gst/matroska/: Add SimpleBlock support to matroska demuxer and muxer (part of
Original commit message from CVS:
Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
* gst/matroska/matroska-demux.c: (gst_matroska_demux_init_stream),
(gst_matroska_demux_parse_info),
(gst_matroska_demux_parse_blockgroup_or_simpleblock),
(gst_matroska_demux_parse_cluster):
* gst/matroska/matroska-ids.h:
* gst/matroska/matroska-mux.c: (gst_matroska_mux_class_init),
(gst_matroska_mux_init), (gst_matroska_mux_start),
(gst_matroska_mux_create_buffer_header),
(gst_matroska_mux_write_data), (gst_matroska_mux_set_property),
(gst_matroska_mux_get_property):
* gst/matroska/matroska-mux.h:
Add SimpleBlock support to matroska demuxer and muxer (part of
Matroska v2). (#319731)
2005-10-28 15:32:48 +00:00
Wim Taymans
a6562db286 ext/jpeg/gstjpegdec.*: Cleanups. Don't create caps for every chain.
Original commit message from CVS:
* ext/jpeg/gstjpegdec.c: (gst_jpeg_dec_init), (gst_jpeg_dec_chain),
(gst_jpeg_dec_change_state):
* ext/jpeg/gstjpegdec.h:
Cleanups. Don't create caps for every chain.
2005-10-28 13:24:40 +00:00
Flavio Oliveira
3a08bb8732 Fix to set timestamp on buffer, it was tested with RTP G711 elements.
Original commit message from CVS:
Fix to set timestamp on buffer, it was tested with RTP G711 elements.
2005-10-27 18:46:32 +00:00
Wim Taymans
58a2d25be7 sys/oss/gstosssrc.c: Set correct format on oss instead of a silly value.
Original commit message from CVS:
* sys/oss/gstosssrc.c: (gst_oss_src_prepare):
Set correct format on oss instead of a silly value.
2005-10-27 11:00:40 +00:00
Julien Moutte
92473c6e34 gst/videobox/gstvideobox.c: Use liboil for
Original commit message from CVS:
2005-10-27  Julien MOUTTE  <julien@moutte.net>

* gst/videobox/gstvideobox.c: (gst_video_box_class_init),
(gst_video_box_transform_caps), (gst_video_box_set_caps),
(gst_video_box_get_unit_size), (gst_video_box_copy_plane_i420),
(gst_video_box_i420), (gst_video_box_ayuv): Use liboil for
I420 rendering as well, doesn't bring much for my platform.
Might help on some other platforms.
2005-10-27 09:52:08 +00:00
Zeeshan Ali
b08773ea83 Declaring the padtemplate correctly.
Original commit message from CVS:
Declaring the padtemplate correctly.
2005-10-26 21:47:36 +00:00
Zeeshan Ali
1a3c167987 Setting the proper copyright notice.
Original commit message from CVS:
Setting the proper copyright notice.
2005-10-26 20:28:32 +00:00
Julien Moutte
b1f244b5a6 gst/videobox/Makefile.am: Use liboil.
Original commit message from CVS:
2005-10-26  Julien MOUTTE  <julien@moutte.net>

* gst/videobox/Makefile.am: Use liboil.
* gst/videobox/gstvideobox.c: (gst_video_box_class_init),
(gst_video_box_set_property), (gst_video_box_transform_caps),
(gst_video_box_set_caps), (gst_video_box_get_unit_size),
(gst_video_box_ayuv): Lot of optimization in AYUV rendering
using liboil. Will dot the same to I420 border generation
tomorrow.
2005-10-26 17:23:06 +00:00
Zeeshan Ali
f2b394e1d9 Hacked the G711 (de)payloader to try to make things right. rtpg711dec now inherits from the basertpdepayloader.
Original commit message from CVS:
Hacked the G711 (de)payloader to try to make things right. rtpg711dec now inherits from the basertpdepayloader.
2005-10-26 14:50:59 +00:00
Julien Moutte
fbc72574b2 gst/videobox/gstvideobox.c: Removing this forgotten debug.
Original commit message from CVS:
2005-10-26  Julien MOUTTE  <julien@moutte.net>

* gst/videobox/gstvideobox.c: (gst_video_box_class_init),
(gst_video_box_transform_caps), (gst_video_box_get_unit_size),
(gst_video_box_ayuv): Removing this forgotten debug.
2005-10-26 14:23:45 +00:00
Julien Moutte
eb21c9bf1c gst/videobox/gstvideobox.c: Fix the stride issue when boxing to AYUV.
Original commit message from CVS:
2005-10-26  Julien MOUTTE  <julien@moutte.net>

* gst/videobox/gstvideobox.c: (gst_video_box_class_init),
(gst_video_box_transform_caps), (gst_video_box_get_unit_size),
(gst_video_box_ayuv): Fix the stride issue when boxing to AYUV.
2005-10-26 14:08:49 +00:00
Tim-Philipp Müller
6b9cda6ee9 sys/oss/: Actually use the 'oss' debug category we register.
Original commit message from CVS:
* sys/oss/gstossaudio.c:
* sys/oss/gstossdmabuffer.c:
* sys/oss/gstosshelper.c:
* sys/oss/gstossmixer.c:
* sys/oss/gstossmixerelement.c:
* sys/oss/gstossmixertrack.c:
* sys/oss/gstosssink.c:
* sys/oss/gstosssrc.c:
Actually use the 'oss' debug category we register.
2005-10-26 11:12:34 +00:00
Julien Moutte
caa4645ae9 gst/videomixer/videomixer.c: Use gst_pad_get_parent and drop the ref that was added through that call.
Original commit message from CVS:
2005-10-26  Julien MOUTTE  <julien@moutte.net>

* gst/videomixer/videomixer.c:
(gst_videomixer_pad_set_property),
(gst_videomixer_pad_sink_setcaps), (gst_videomixer_getcaps):
Use gst_pad_get_parent and drop the ref that was added through
that call.
2005-10-26 10:38:18 +00:00
Thomas Vander Stichele
60f30e3083 fix compilation
Original commit message from CVS:
fix compilation
2005-10-26 10:03:02 +00:00
Flavio Oliveira
0f4689cdf4 Just removed a couple of lines of weird code used during development/test time.
Original commit message from CVS:
Just removed a couple of lines of weird code used during development/test time.
2005-10-25 21:09:36 +00:00
Flavio Oliveira
c12772c616 G711 payloader and depayloader created by Edgard Lima (it supports mulaw and alaw (dec)encoders)
Original commit message from CVS:
G711 payloader and depayloader created by Edgard Lima (it supports
mulaw and alaw (dec)encoders)
2005-10-25 19:19:38 +00:00
Julien Moutte
cfea44dba3 gst/videobox/gstvideobox.c: Doh ! I introduced wingo's bug again ! Sorry...
Original commit message from CVS:
2005-10-25  Julien MOUTTE  <julien@moutte.net>

* gst/videobox/gstvideobox.c: (gst_video_box_class_init),
(gst_video_box_transform_caps), (gst_video_box_get_unit_size):
Doh ! I introduced wingo's bug again ! Sorry...
2005-10-25 17:55:19 +00:00
Christian Schaller
443f60a91b add missing header files for disting
Original commit message from CVS:
add missing header files for disting
2005-10-25 16:02:38 +00:00
Zeeshan Ali
240bea7417 Getting the GSM (de)payloader working and compatible with our plans for RTP.
Original commit message from CVS:
Getting the GSM (de)payloader working and compatible with our plans for RTP.
2005-10-25 15:07:02 +00:00
Julien Moutte
2b5cfd86cf ext/libpng/gstpngdec.c: Push a newsegment event, move some redundant code in a single place.
Original commit message from CVS:
2005-10-25  Julien MOUTTE  <julien@moutte.net>

* ext/libpng/gstpngdec.c: (user_info_callback),
(gst_pngdec_caps_create_and_set), (gst_pngdec_task): Push
a newsegment event, move some redundant code in a single place.
2005-10-25 10:47:09 +00:00
Julien Moutte
cc0c33355e ext/libpng/gstpngdec.c: Temporary hack to get correct colors order when we have a png image with alpha channel.
Original commit message from CVS:
2005-10-25  Julien MOUTTE  <julien@moutte.net>

* ext/libpng/gstpngdec.c: (user_info_callback),
(gst_pngdec_caps_create_and_set), (gst_pngdec_task): Temporary
hack to get correct colors order when we have a png image with
alpha channel.
2005-10-25 10:23:26 +00:00
Edward Hervey
ecc3125b27 ext/dv/gstdvdemux.c: Call gst_element_no_more_pads when there will be no more pads.
Original commit message from CVS:
* ext/dv/gstdvdemux.c: (gst_dvdemux_add_pads):
Call gst_element_no_more_pads when there will be no more pads.
2005-10-24 17:29:02 +00:00
Wim Taymans
8417929e1a gst/rtp/: Added two new payloaders, an RFC 2190 payloader for h263 and a payload convertor for an asterisk server.
Original commit message from CVS:
* gst/rtp/Makefile.am:
* gst/rtp/gstasteriskh263.c: (gst_asteriskh263_get_type),
(gst_asteriskh263_base_init), (gst_asteriskh263_class_init),
(gst_asteriskh263_init), (gst_asteriskh263_finalize),
(gst_asteriskh263_chain), (gst_asteriskh263_set_property),
(gst_asteriskh263_get_property), (gst_asteriskh263_change_state),
(gst_asteriskh263_plugin_init):
* gst/rtp/gstasteriskh263.h:
* gst/rtp/gstrtp.c: (plugin_init):
* gst/rtp/gstrtph263enc.c: (gst_rtph263enc_get_type),
(gst_rtph263enc_base_init), (gst_rtph263enc_class_init),
(gst_rtph263enc_init), (gst_rtph263enc_finalize),
(gst_rtph263enc_setcaps), (gst_rtph263enc_gobfiner),
(gst_rtph263enc_flush), (gst_rtph263enc_handle_buffer),
(gst_rtph263enc_plugin_init):
* gst/rtp/gstrtph263enc.h:
Added two new payloaders, an RFC 2190 payloader for h263 and
a payload convertor for an asterisk server.
2005-10-24 16:39:38 +00:00
Tim-Philipp Müller
0e01f91dc1 sys/oss/gstosssrc.c: Set bytes_per_sample correctly (is not always 4, but depends on width and number of channels).
Original commit message from CVS:
* sys/oss/gstosssrc.c: (gst_oss_src_prepare):
Set bytes_per_sample correctly (is not always 4, but
depends on width and number of channels).
2005-10-24 15:57:17 +00:00
Tim-Philipp Müller
2042e06dd4 ext/flac/gstflacenc.*: Fix seeking, so that flacenc can rewrite the header with the correct duration and amount of sa...
Original commit message from CVS:
* ext/flac/gstflacenc.c: (gst_flacenc_base_init),
(gst_flacenc_init), (gst_flacenc_sink_setcaps),
(gst_flacenc_seek_callback), (gst_flacenc_write_callback),
(gst_flacenc_sink_event), (gst_flacenc_chain),
(gst_flacenc_set_property), (gst_flacenc_get_property),
(gst_flacenc_change_state):
* ext/flac/gstflacenc.h:
Fix seeking, so that flacenc can rewrite the header with the
correct duration and amount of samples and all that at EOS;
also set timestamps and granulepos on outgoing buffers; add
debug category; fix state change function.
2005-10-24 15:50:06 +00:00
Julien Moutte
0f96fd6df1 gst/videomixer/videomixer.c: Don't restrict video geometry from 16 to 4096.
Original commit message from CVS:
2005-10-24  Julien MOUTTE  <julien@moutte.net>

* gst/videomixer/videomixer.c: Don't restrict video geometry
from 16 to 4096.
2005-10-24 13:46:09 +00:00
Julien Moutte
70b4bda644 gst/videobox/gstvideobox.c: Fix caps negotiation correctly, add debugging category.
Original commit message from CVS:
2005-10-24  Julien MOUTTE  <julien@moutte.net>

* gst/videobox/gstvideobox.c: (gst_video_box_class_init),
(gst_video_box_transform_caps), (gst_video_box_get_unit_size):
Fix caps negotiation correctly, add debugging category.
2005-10-24 13:22:14 +00:00
Christian Schaller
79240332d1 port over plugin listing from base
Original commit message from CVS:
port over plugin listing from base
2005-10-24 13:02:47 +00:00
Julien Moutte
1ad1739394 ext/libpng/gstpngdec.c: Don't use fixed caps on a sink pad.
Original commit message from CVS:
2005-10-24  Julien MOUTTE  <julien@moutte.net>

* ext/libpng/gstpngdec.c: (gst_pngdec_init): Don't use fixed
caps on
a sink pad.
2005-10-24 08:59:24 +00:00
Thomas Vander Stichele
b9e012c606 back to HEAD
Original commit message from CVS:
back to HEAD
2005-10-23 23:05:59 +00:00
Thomas Vander Stichele
2b3f876d7c releasing 0.9.4
Original commit message from CVS:
releasing 0.9.4
2005-10-23 22:43:08 +00:00
Tim-Philipp Müller
512eb8ab25 ext/speex/gstspeexenc.c: Add position and duration query, fix query type function.
Original commit message from CVS:
* ext/speex/gstspeexenc.c: (gst_speexenc_get_query_types),
(gst_speexenc_src_query):
Add position and duration query, fix query type function.
* gst/matroska/matroska-demux.c: (gst_matroska_demux_add_stream),
(gst_matroska_demux_video_caps), (gst_matroska_demux_audio_caps):
Let's not set non-fixed caps on source pads.
2005-10-21 17:00:58 +00:00
Wim Taymans
bee54790e7 Set correct stream_time in newsegment event. avi can also handle a duration query now.
Original commit message from CVS:
* ext/dv/gstdvdemux.c: (gst_dvdemux_demux_frame):
* gst/avi/gstavidemux.c: (gst_avi_demux_get_src_query_types),
(gst_avi_demux_handle_seek):
Set correct stream_time in newsegment event.
avi can also handle a duration query now.
2005-10-21 16:15:57 +00:00
Tim-Philipp Müller
a7e0b7d6b5 gst/matroska/matroska-demux.c: Fix duration query; fix basetime in newsegment event after seek; fix duration in initi...
Original commit message from CVS:
* gst/matroska/matroska-demux.c:
(gst_matroska_demux_handle_src_query),
(gst_matroska_demux_handle_seek_event),
(gst_matroska_demux_loop_stream_parse_id):
Fix duration query; fix basetime in newsegment event after
seek; fix duration in initial newsegment event.
* gst/matroska/matroska-mux.c:
(gst_matroska_mux_audio_pad_setcaps), (gst_matroska_mux_start):
Extract number of channels and samplerate from vorbis headers;
add some debug messages when querying the durations of the
input streams.
2005-10-20 19:14:27 +00:00
Wim Taymans
57bcc588e4 gst/wavparse/gstwavparse.c: Set stream time correctly in newsegment.
Original commit message from CVS:
* gst/wavparse/gstwavparse.c: (gst_wavparse_handle_seek),
(gst_wavparse_stream_headers), (gst_wavparse_stream_data),
(gst_wavparse_pad_convert), (gst_wavparse_srcpad_event):
Set stream time correctly in newsegment.
2005-10-20 11:50:53 +00:00
Wim Taymans
9f4609665a gst/avi/gstavidemux.c: Correctly fill in the stream time.
Original commit message from CVS:
* gst/avi/gstavidemux.c: (gst_avi_demux_handle_seek):
Correctly fill in the stream time.
2005-10-20 11:39:40 +00:00
Thomas Vander Stichele
587a7add24 use ELEMENT messages instead
Original commit message from CVS:
use ELEMENT messages instead
2005-10-19 20:48:24 +00:00
Wim Taymans
ba7ee6ae6c API change fix.
Original commit message from CVS:
* ext/dv/gstdvdemux.c: (gst_dvdemux_get_src_query_types),
(gst_dvdemux_src_query):
* ext/flac/gstflacdec.c: (gst_flacdec_length),
(gst_flacdec_src_query):
* ext/raw1394/gstdv1394src.c: (gst_dv1394src_query):
* ext/speex/gstspeexdec.c: (speex_dec_src_query):
* gst/avi/gstavidemux.c: (gst_avi_demux_handle_src_query):
* gst/debug/gstnavseek.c: (gst_navseek_seek):
* gst/debug/progressreport.c: (gst_progress_report_report):
* gst/matroska/ebml-read.c: (gst_ebml_read_get_length):
* gst/matroska/matroska-demux.c:
(gst_matroska_demux_handle_src_query):
* gst/matroska/matroska-mux.c: (gst_matroska_mux_start):
* gst/wavparse/gstwavparse.c: (gst_wavparse_handle_seek),
(gst_wavparse_stream_headers), (gst_wavparse_stream_data),
(gst_wavparse_pad_convert), (gst_wavparse_pad_query),
(gst_wavparse_srcpad_event):
API change fix.
2005-10-19 15:57:04 +00:00
Tim-Philipp Müller
97f39d4647 gst/goom/: Make inline functions either 'static inline' or 'extern inline', otherwise the Forte compiler apparently w...
Original commit message from CVS:
* gst/goom/filters.c:
* gst/goom/graphic.h:
* gst/goom/lines.c:
Make inline functions either 'static inline' or 'extern inline',
otherwise the Forte compiler apparently won't inline them (#317300).
2005-10-19 10:57:46 +00:00
Julien Moutte
1d531d5b24 ext/libpng/gstpngdec.*: Complete rewrite of pngdec. It's now very nice and handle push/pull based model. if you have ...
Original commit message from CVS:
2005-10-19  Julien MOUTTE  <julien@moutte.net>

* ext/libpng/gstpngdec.c: (gst_pngdec_class_init),
(gst_pngdec_init), (user_error_fn), (user_warning_fn),
(user_info_callback), (user_endrow_callback),
(user_end_callback),
(user_read_data), (gst_pngdec_caps_create_and_set),
(gst_pngdec_task), (gst_pngdec_chain), (gst_pngdec_sink_event),
(gst_pngdec_libpng_clear), (gst_pngdec_libpng_init),
(gst_pngdec_change_state), (gst_pngdec_sink_activate_push),
(gst_pngdec_sink_activate_pull), (gst_pngdec_sink_activate):
* ext/libpng/gstpngdec.h: Complete rewrite of pngdec. It's now
very nice and handle push/pull based model. if you have filesrc
connected to it, it will do random access to load the png file.
If you have a network source that can't do _getrange, it does
progressive loading through the chain function.
* gst/alpha/gstalphacolor.c: (gst_alpha_color_transform_caps),
(transform_rgb), (transform_bgr): Fix caps negotiation correctly
thanks to Master Wim Taymans ;-)
2005-10-18 22:44:11 +00:00
Tim-Philipp Müller
66413b5f00 gst/matroska/: Ported matroska demuxer to 0.9.
Original commit message from CVS:
* gst/matroska/Makefile.am:
* gst/matroska/ebml-read.c:
* gst/matroska/ebml-read.h:
* gst/matroska/matroska-demux.c:
* gst/matroska/matroska-demux.h:
* gst/matroska/matroska.c: (plugin_init):
Ported matroska demuxer to 0.9.
2005-10-18 18:12:31 +00:00
Tim-Philipp Müller
2b6838d77c gst/matroska/matroska-mux.c: Fix mpeg4 input handling (#318847); also, while we're at it, fix media type for Motion-J...
Original commit message from CVS:
Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
* gst/matroska/matroska-mux.c:
(gst_matroska_mux_video_pad_setcaps),
(gst_matroska_mux_audio_pad_setcaps):
Fix mpeg4 input handling (#318847); also, while we're at it,
fix media type for Motion-JPEG: should be image/jpeg.
2005-10-18 18:06:14 +00:00
Wim Taymans
0c40cd0a90 gst/wavparse/gstwavparse.c: Fix for segment-start/stop API change.
Original commit message from CVS:
* gst/wavparse/gstwavparse.c: (gst_wavparse_handle_seek),
(gst_wavparse_stream_headers), (gst_wavparse_stream_data),
(gst_wavparse_pad_convert), (gst_wavparse_srcpad_event):
Fix for segment-start/stop API change.
2005-10-18 13:21:18 +00:00
Julien Moutte
1adfcec298 gst/alpha/gstalphacolor.c: Handle caps negotiation in a better way.
Original commit message from CVS:
2005-10-17  Julien MOUTTE  <julien@moutte.net>

* gst/alpha/gstalphacolor.c: (gst_alpha_color_transform_caps),
(transform_rgb), (transform_bgr): Handle caps negotiation in a
better
way.
2005-10-17 17:18:56 +00:00
Julien Moutte
22060a915c gst/videobox/gstvideobox.c: Fix caps nego some more to get
Original commit message from CVS:
2005-10-17  Julien MOUTTE  <julien@moutte.net>

* gst/videobox/gstvideobox.c: (gst_video_box_transform_caps),
(gst_video_box_get_unit_size): Fix caps nego some more to get
AYUV
output declared in transform_caps.
2005-10-17 16:59:20 +00:00
Julien Moutte
55fd6600e0 ext/libpng/gstpngdec.c: We use fixed caps.
Original commit message from CVS:
2005-10-17  Julien MOUTTE  <julien@moutte.net>

* ext/libpng/gstpngdec.c: (gst_pngdec_init): We use fixed caps.
2005-10-17 15:23:24 +00:00
Julien Moutte
aa52228764 gst/videobox/gstvideobox.c: Fix wrong size calculations and implement get_unit_size correctly.
Original commit message from CVS:
2005-10-17  Julien MOUTTE  <julien@moutte.net>

* gst/videobox/gstvideobox.c: (gst_video_box_transform_caps),
(gst_video_box_get_unit_size): Fix wrong size calculations and
implement get_unit_size correctly.
2005-10-17 15:14:29 +00:00
Tim-Philipp Müller
d472134c41 configure.ac: Enable flx plugin.
Original commit message from CVS:
* configure.ac:
Enable flx plugin.
* gst/flx/gstflxdec.c: (flx_decode_chunks):
Fix gcc4 signedness issue.
2005-10-17 14:56:12 +00:00
Julien Moutte
1aa9f76c49 configure.ac: Adding videomixer.
Original commit message from CVS:
2005-10-17  Julien MOUTTE  <julien@moutte.net>

* configure.ac: Adding videomixer.
* ext/libpng/gstpngdec.c: (gst_pngdec_class_init),
(user_read_data), (gst_pngdec_chain): More debugging.
* gst/alpha/Makefile.am: Adding alphacolor
* gst/alpha/gstalphacolor.c: (gst_alpha_color_base_init),
(gst_alpha_color_class_init), (gst_alpha_color_init),
(gst_alpha_color_transform_caps), (gst_alpha_color_set_caps),
(transform_rgb), (transform_bgr),
(gst_alpha_color_transform_ip),
(plugin_init): Ported to 0.9 using in place base tranform.
* gst/videomixer/Makefile.am:
* gst/videomixer/videomixer.c: (gst_videomixer_pad_get_type),
(gst_videomixer_pad_class_init),
(gst_videomixer_pad_sink_setcaps),
(gst_videomixer_pad_link), (gst_videomixer_pad_unlink),
(gst_videomixer_pad_init), (gst_videomixer_class_init),
(gst_videomixer_init), (gst_videomixer_getcaps),
(gst_videomixer_request_new_pad), (gst_videomixer_fill_queues),
(gst_videomixer_blend_buffers), (gst_videomixer_update_queues),
(gst_videomixer_collected), (gst_videomixer_change_state):
Ported
to 0.9 using collectpads.
2005-10-17 08:46:30 +00:00
Zeeshan Ali
e509e3980d flx plugin ported to 0.9
Original commit message from CVS:
flx plugin ported to 0.9
2005-10-16 21:19:44 +00:00
Thomas Vander Stichele
3650ac0c24 use gst_version_string
Original commit message from CVS:
use gst_version_string
2005-10-16 14:33:05 +00:00
Andy Wingo
e9cbfb6624 configure.ac: GLIB_CHECK.
Original commit message from CVS:
2005-10-16  Andy Wingo  <wingo@pobox.com>

* configure.ac: GLIB_CHECK.
2005-10-16 13:17:11 +00:00
Julien Moutte
2ae32d6f92 ext/libpng/: Ported pngdec to 0.9
Original commit message from CVS:
2005-10-15  Julien MOUTTE  <julien@moutte.net>

* ext/libpng/Makefile.am:
* ext/libpng/gstpng.c: (plugin_init):
* ext/libpng/gstpngdec.c: (gst_pngdec_class_init),
(gst_pngdec_init), (user_read_data), (gst_pngdec_chain):
* ext/libpng/gstpngdec.h: Ported pngdec to 0.9
2005-10-15 16:48:55 +00:00
Tim-Philipp Müller
22b9a5cd43 Port matroska muxer to 0.9 (#318847).
Original commit message from CVS:
Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
* configure.ac:
* gst/matroska/Makefile.am:
* gst/matroska/ebml-ids.h:
* gst/matroska/ebml-write.c:
* gst/matroska/ebml-write.h:
* gst/matroska/matroska-ids.h:
* gst/matroska/matroska-mux.c:
* gst/matroska/matroska-mux.h:
* gst/matroska/matroska.c: (plugin_init):
Port matroska muxer to 0.9 (#318847).
2005-10-14 12:43:30 +00:00
Tim-Philipp Müller
fb495736bc ext/speex/gstspeexenc.c: Fix handling of GST_TAG_DATE, which is now of GST_TYPE_DATE; use GST_READ_UINT32_LE() and fr...
Original commit message from CVS:
* ext/speex/gstspeexenc.c: (gst_speexenc_get_tag_value),
(comment_init), (comment_add):
Fix handling of GST_TAG_DATE, which is now of GST_TYPE_DATE;
use GST_READ_UINT32_LE() and friends rather than the private
implementation of those same macros.
2005-10-13 18:59:35 +00:00
Stefan Kost
55ea2ade4a examples/stats/mp2ogg.c: more typo fixes
Original commit message from CVS:
* examples/stats/mp2ogg.c:
more typo fixes
2005-10-13 15:28:01 +00:00
Stefan Kost
987ab4dd81 renamed GST_FLAGS macros to GST_OBJECT_FLAGS moved bitshift from macro to enum definition
Original commit message from CVS:
* examples/indexing/indexmpeg.c: (main):
* ext/esd/esdmon.c: (gst_esdmon_open_audio),
(gst_esdmon_close_audio), (gst_esdmon_change_state):
* ext/esd/esdmon.h:
* ext/gdk_pixbuf/gstgdkpixbuf.c: (gst_gdk_pixbuf_init):
* ext/pango/gsttextoverlay.c: (gst_textoverlay_init):
* gst/autodetect/gstautoaudiosink.c: (gst_auto_audio_sink_init):
* gst/autodetect/gstautovideosink.c: (gst_auto_video_sink_init):
* gst/avi/gstavimux.c: (gst_avimux_init):
* gst/matroska/matroska-demux.c: (gst_matroska_demux_init):
* gst/multipart/multipartdemux.c: (gst_multipart_demux_init):
* gst/multipart/multipartmux.c: (gst_multipart_mux_init):
* gst/oldcore/gstmultifilesrc.c: (gst_multifilesrc_init),
(gst_multifilesrc_get), (gst_multifilesrc_open_file),
(gst_multifilesrc_close_file), (gst_multifilesrc_change_state):
* gst/oldcore/gstmultifilesrc.h:
* gst/oldcore/gstpipefilter.c: (gst_pipefilter_init),
(gst_pipefilter_open_file), (gst_pipefilter_close_file),
(gst_pipefilter_change_state):
* gst/oldcore/gstpipefilter.h:
* gst/smoothwave/gstsmoothwave.c: (gst_smoothwave_init):
* gst/videomixer/videomixer.c: (gst_videomixer_init):
* sys/osxaudio/gstosxaudiosink.c: (gst_osxaudiosink_init):
* sys/osxaudio/gstosxaudiosink.h:
* sys/osxaudio/gstosxaudiosrc.h:
renamed GST_FLAGS macros to GST_OBJECT_FLAGS
moved bitshift from macro to enum definition
2005-10-12 14:29:43 +00:00
Thomas Vander Stichele
b51bde9b55 ext/: update of cairo-based timeoverlay to 1.0 Cairo API doesn't work yet for resizing of output sink
Original commit message from CVS:

* ext/Makefile.am:
* ext/cairo/Makefile.am:
* ext/cairo/gstcairo.c: (plugin_init):
* ext/cairo/gsttextoverlay.c: (gst_textoverlay_change_state):
* ext/cairo/gsttimeoverlay.c: (gst_timeoverlay_update_font_height),
(gst_timeoverlay_setup), (gst_timeoverlay_planar411):
* ext/cairo/gsttimeoverlay.h:
update of cairo-based timeoverlay to 1.0 Cairo API
doesn't work yet for resizing of output sink
2005-10-12 03:12:57 +00:00
Wim Taymans
f3add756e0 ext/speex/gstspeexdec.c: newsegment API fix.
Original commit message from CVS:
* ext/speex/gstspeexdec.c: (speex_dec_event), (speex_dec_chain):
newsegment API fix.
2005-10-11 17:38:29 +00:00
Wim Taymans
3a6dd6c30c newsegment API update.
Original commit message from CVS:
* ext/dv/gstdvdemux.c: (gst_dvdemux_handle_sink_event),
(gst_dvdemux_demux_frame):
* ext/flac/gstflacdec.c: (gst_flacdec_write):
* gst/auparse/gstauparse.c: (gst_auparse_chain):
* gst/avi/gstavidemux.c: (gst_avi_demux_stream_header),
(gst_avi_demux_handle_seek):
* gst/goom/gstgoom.c: (gst_goom_event):
* gst/wavenc/gstwavenc.c: (gst_wavenc_stop_file):
* gst/wavparse/gstwavparse.c: (gst_wavparse_handle_seek),
(gst_wavparse_stream_headers), (gst_wavparse_stream_data),
(gst_wavparse_loop), (gst_wavparse_pad_convert),
(gst_wavparse_srcpad_event):
newsegment API update.
2005-10-11 16:33:08 +00:00
Andy Wingo
d9100aa5d0 ext/speex/gstspeexenc.c: Signedness cleanups.
Original commit message from CVS:
2005-10-11  Andy Wingo  <wingo@pobox.com>

* ext/speex/gstspeexenc.c: Signedness cleanups.
2005-10-11 10:07:35 +00:00
Edgard Lima
ddecb1d34a Speexenc ported to 0.9.
Original commit message from CVS:
Speexenc ported to 0.9.
2005-10-10 19:57:40 +00:00
Wim Taymans
9566dd506b sys/oss/: Cleanups, make device configurable in the sink, handle and report errors.
Original commit message from CVS:
* sys/oss/gstosssink.c: (gst_oss_sink_class_init),
(gst_oss_sink_init), (gst_oss_sink_set_property),
(gst_oss_sink_get_property), (gst_oss_sink_open),
(gst_oss_sink_prepare), (gst_oss_sink_reset):
* sys/oss/gstosssink.h:
* sys/oss/gstosssrc.c: (gst_oss_src_class_init),
(gst_oss_src_set_property), (gst_oss_src_init), (gst_oss_src_open),
(gst_oss_src_prepare):
Cleanups, make device configurable in the sink, handle and report
errors.
2005-10-10 14:16:21 +00:00
Wim Taymans
af9fad2953 ext/gconf/: Make sure element is NULL before removing from the bin.
Original commit message from CVS:
* ext/gconf/gstgconfaudiosink.c: (gst_gconf_audio_sink_reset):
* ext/gconf/gstgconfvideosink.c: (gst_gconf_video_sink_reset):
Make sure element is NULL before removing from the bin.
2005-10-10 12:31:07 +00:00
Andy Wingo
e2d6dc5528 Don't unref the message.
Original commit message from CVS:
(gst_dv1394src_bus_reset): Don't unref the message.
2005-10-07 16:28:24 +00:00
Andy Wingo
cf60bb696e Post a message when the cable is unplugged.
Original commit message from CVS:
(gst_dv1394src_bus_reset): Post a message when the cable is
unplugged.
(gst_dv1394src_create, gst_dv1394src_unlock): Remove some prints.
2005-10-07 16:22:59 +00:00
Andy Wingo
aeb4ab082e ext/raw1394/gstdv1394src.c: Make interruptible, so it won't block forever in a read().
Original commit message from CVS:
2005-10-07  Andy Wingo  <wingo@pobox.com>

* ext/raw1394/gstdv1394src.c: Make interruptible, so it won't
block forever in a read().
2005-10-07 15:24:24 +00:00
Andy Wingo
19712f28f6 ext/raw1394/gstdv1394src.c: Clean up for style before doing some hacking. The only change should be that the state ch...
Original commit message from CVS:
2005-10-07  Andy Wingo  <wingo@pobox.com>

* ext/raw1394/gstdv1394src.c: Clean up for style before doing some
hacking. The only change should be that the state change stuff was
put into basesrc's start() and stop() routines, which coalesces
some steps.
2005-10-07 13:17:53 +00:00
Tim-Philipp Müller
76f35f988f configure.ac: Add check for mmap
Original commit message from CVS:
* configure.ac:
Add check for mmap
* gst/debug/Makefile.am:
Only compile efence plugin on systems that have mmap.
2005-10-07 11:30:41 +00:00
Tim-Philipp Müller
2fa12d1a6d gst/debug/: Port progressreport, navseek, navigationtest, testsink and breakmydata.
Original commit message from CVS:
* gst/debug/Makefile.am:
* gst/debug/breakmydata.c:
* gst/debug/gstdebug.c:
* gst/debug/gstnavigationtest.c:
* gst/debug/gstnavseek.c:
* gst/debug/gstnavseek.h:
* gst/debug/progressreport.c:
* gst/debug/testplugin.c:
Port progressreport, navseek, navigationtest, testsink and
breakmydata.
2005-10-05 11:38:29 +00:00
Edward Hervey
76620459d5 ext/dv/gstdvdemux.c: Fixes for better conversion
Original commit message from CVS:
* ext/dv/gstdvdemux.c: (gst_dvdemux_src_convert),
(gst_dvdemux_src_query):
Fixes for better conversion
2005-10-05 11:15:23 +00:00
Michael Smith
84b9f118e7 gst/autodetect/: Set state of elements to NULL before removing from bins.
Original commit message from CVS:
* gst/autodetect/gstautoaudiosink.c: (gst_auto_audio_sink_reset),
(gst_auto_audio_sink_find_best), (gst_auto_audio_sink_detect):
* gst/autodetect/gstautovideosink.c: (gst_auto_video_sink_reset),
(gst_auto_video_sink_find_best), (gst_auto_video_sink_detect):
Set state of elements to NULL before removing from bins.
Set state of test element to NULL if we failed to move it to READY
2005-10-04 17:58:40 +00:00
Edward Hervey
3ec9e676e7 ext/dv/: Added DEFAULT <==> BYTES, TIME conversions on srcpad,
Original commit message from CVS:
* ext/dv/Makefile.am:
* ext/dv/gstdvdemux.c: (gst_dvdemux_src_query), (gst_dvdemux_src_conver):
Added DEFAULT <==> BYTES, TIME conversions on srcpad,
Corrected the query function for position so it doesn't forget what
format was asked, and calls the conversion functions on the correct pad.
2005-10-04 17:44:43 +00:00
Thomas Vander Stichele
05799a1509 back to head
Original commit message from CVS:
back to head
2005-10-03 17:59:18 +00:00
Thomas Vander Stichele
cb48063706 release time
Original commit message from CVS:
release time
2005-10-03 17:48:57 +00:00
Andy Wingo
03f926ce2e ext/flac/gstflacdec.c (gst_flacdec_write): Deal with pad_alloc error returns.
Original commit message from CVS:
2005-10-03  Andy Wingo  <wingo@pobox.com>

* ext/flac/gstflacdec.c (gst_flacdec_write): Deal with pad_alloc
error returns.
2005-10-02 23:08:35 +00:00
Andy Wingo
94bcb7452d configure.ac (GST_PLUGIN_LDFLAGS): Change to be like -base.
Original commit message from CVS:
2005-10-02  Andy Wingo  <wingo@pobox.com>

* configure.ac (GST_PLUGIN_LDFLAGS): Change to be like -base.

* ext/flac/gstflacenc.c: Ported to 0.9.

* ext/flac/gstflacdec.c (gst_flacdec_loop): Handle errors better.

* ext/flac/Makefile.am: Add the GST_PLUGINS_BASE cflags and libs,
and link to gsttagedit. Enable flacenc.

* ext/flac/gstflacdec.c: Re-enable tag reading.
2005-10-02 15:33:14 +00:00
Wim Taymans
75a0669d5f gst/rtp/: Various class and caps fixes from Andre Magalhaes (andrunko)
Original commit message from CVS:
* gst/rtp/gstrtpamrenc.c: (gst_rtpamrenc_setcaps):
* gst/rtp/gstrtpgsmparse.c:
* gst/rtp/gstrtph263penc.c:
* gst/rtp/gstrtpmp4venc.c: (gst_rtpmp4venc_class_init),
(gst_rtpmp4venc_parse_data), (gst_rtpmp4venc_handle_buffer),
(gst_rtpmp4venc_set_property):
* gst/rtp/gstrtpmpaenc.c: (gst_rtpmpaenc_handle_buffer):
Various class and caps fixes from Andre Magalhaes (andrunko)
2005-09-30 16:36:49 +00:00
Wim Taymans
9052406ced gst/level/level-example.c: Update for new bus API.
Original commit message from CVS:
* gst/level/level-example.c: (main):
Update for new bus API.
2005-09-29 13:08:41 +00:00
Tim-Philipp Müller
e35bfb42fc configure.ac: Fix unexpanded autoconf macro GST_DOC, which has been renamed to GST_DOCBOOK_CHECK (see common/m4/gst-d...
Original commit message from CVS:
* configure.ac:
Fix unexpanded autoconf macro GST_DOC, which has been renamed
to GST_DOCBOOK_CHECK (see common/m4/gst-doc.m4) (#316202).
2005-09-28 09:45:00 +00:00
Tim-Philipp Müller
26745bb132 sys/oss/gstosssink.c: Fix playback of mono streams (bytes_per_sample should be set from the sample width and the numb...
Original commit message from CVS:
* sys/oss/gstosssink.c: (gst_oss_sink_prepare):
Fix playback of mono streams (bytes_per_sample should be set
from the sample width and the number of channels negotiated,
and not just be set to 4) (#317338)
2005-09-27 15:12:45 +00:00
Wim Taymans
d040c225c4 gst/rtp/gstrtpmpaenc.c: Set buffer duration correctly.
Original commit message from CVS:
* gst/rtp/gstrtpmpaenc.c: (gst_rtpmpaenc_flush),
(gst_rtpmpaenc_handle_buffer):
Set buffer duration correctly.
2005-09-26 14:42:09 +00:00
Tim-Philipp Müller
41af36aa2f gst/avi/gstavidemux.c: Don't crash when encountering a stream with an unknown fourcc or codec id. Instead, create a p...
Original commit message from CVS:
* gst/avi/gstavidemux.c: (gst_avi_demux_base_init),
(gst_avi_demux_class_init), (gst_avi_demux_parse_stream),
(gst_avi_demux_change_state):
Don't crash when encountering a stream with an unknown fourcc or
codec id. Instead, create a pad of type video/x-avi-unknown or
audio/x-avi-unknown, which as a side-effect also results in less
confusing error messages in players ('no decoder' vs. 'no streams');
minor fixes to state change function and class_init function.
2005-09-26 13:06:27 +00:00
Wim Taymans
71b3c1d542 gst/autodetect/: These are sinks.
Original commit message from CVS:
* gst/autodetect/gstautoaudiosink.c: (gst_auto_audio_sink_init):
* gst/autodetect/gstautovideosink.c: (gst_auto_video_sink_init):
These are sinks.
2005-09-24 13:10:52 +00:00
Thomas Vander Stichele
a7d55a0348 check/elements/level.c: fix test for new GstClockTime use
Original commit message from CVS:

* check/elements/level.c: (GST_START_TEST):
fix test for new GstClockTime use
* gst/level/gstlevel.c: (gst_level_init), (gst_level_set_caps),
(gst_level_transform_ip):
* gst/level/gstlevel.h:
fix up the decay peak, ensuring the decay peak is never lower
than the peak for that interval
2005-09-24 12:10:02 +00:00
Thomas Vander Stichele
204755d0ff updating docs
Original commit message from CVS:
updating docs
2005-09-23 18:23:04 +00:00
Thomas Vander Stichele
6115f0b56c convert to using GstClockTime for all time values, finally.
Original commit message from CVS:
convert to using GstClockTime for all time values, finally.
2005-09-23 18:15:51 +00:00
Thomas Vander Stichele
7593b38a57 fix build and use of GST_LIBS
Original commit message from CVS:
fix build and use of GST_LIBS
2005-09-23 04:23:00 +00:00
Edgard Lima
50bdf8c462 Auparse ported to 0.9. Tested with filesrc ! auparse ! osssink and alsasink
Original commit message from CVS:
Auparse ported to 0.9. Tested with filesrc ! auparse ! osssink and alsasink
2005-09-22 22:38:48 +00:00
Wim Taymans
7067b806e0 gst/rtp/: Use is_filled to both check MTU and max-ptime of base class.
Original commit message from CVS:
* gst/rtp/TODO:
* gst/rtp/gstrtpdec.c: (gst_rtpdec_getcaps):
* gst/rtp/gstrtpmp4venc.c: (gst_rtpmp4venc_class_init),
(gst_rtpmp4venc_parse_data), (gst_rtpmp4venc_handle_buffer),
(gst_rtpmp4venc_set_property):
* gst/rtp/gstrtpmp4venc.h:
* gst/rtp/gstrtpmpaenc.c: (gst_rtpmpaenc_handle_buffer):
* gst/rtp/gstrtpmpaenc.h:
Use is_filled to both check MTU and max-ptime of base class.
2005-09-22 14:13:36 +00:00
Wim Taymans
4aac63130a gst/rtp/gstrtpmp4venc.c: Don't fragment packets with multiple frames.
Original commit message from CVS:
* gst/rtp/gstrtpmp4venc.c: (gst_rtpmp4venc_class_init),
(gst_rtpmp4venc_parse_data), (gst_rtpmp4venc_handle_buffer),
(gst_rtpmp4venc_set_property):
Don't fragment packets with multiple frames.
2005-09-22 11:28:23 +00:00
Wim Taymans
9a478bd315 gst/rtp/: Remove g_print.
Original commit message from CVS:
* gst/rtp/TODO:
* gst/rtp/gstrtpmp4vdec.c: (gst_rtpmp4vdec_setcaps):
* gst/rtp/gstrtpmp4venc.c: (gst_rtpmp4venc_class_init),
(gst_rtpmp4venc_init), (gst_rtpmp4venc_parse_data),
(gst_rtpmp4venc_handle_buffer), (gst_rtpmp4venc_set_property),
(gst_rtpmp4venc_get_property):
* gst/rtp/gstrtpmp4venc.h:
Remove g_print.
Update TODO
Make payload encoder a bit smarter and more correct with
timestamps.
Added option in payloader to include config string in-band.
2005-09-22 10:39:11 +00:00
Wim Taymans
001a51dba2 gst/rtsp/gstrtspsrc.c: Strip spaces for key/value pairs.
Original commit message from CVS:
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_parse_rtpmap),
(gst_rtspsrc_media_to_caps), (gst_rtspsrc_stream_setup_rtp),
(gst_rtspsrc_send):
Strip spaces for key/value pairs.
2005-09-21 19:41:45 +00:00
Wim Taymans
485d25aef1 gst/rtsp/gstrtspsrc.c: More SDP parsing and caps setting.
Original commit message from CVS:
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_parse_rtpmap),
(gst_rtspsrc_media_to_caps), (gst_rtspsrc_stream_setup_rtp),
(gst_rtspsrc_stream_configure_transport), (gst_rtspsrc_send),
(gst_rtspsrc_change_state):
More SDP parsing and caps setting.
Do NO_PREROLL differently.
add pads only after negotiated.

* gst/udp/gstudpsrc.c: (gst_udpsrc_class_init),
(gst_udpsrc_getcaps):
Implement the getcaps function.
2005-09-21 17:53:26 +00:00
Wim Taymans
a297069e16 gst/rtp/gstrtpamrdec.c: Handle multiple AMr packets per payload. Handle CRC and parse ILL/ILP.
Original commit message from CVS:
* gst/rtp/gstrtpamrdec.c: (gst_rtpamrdec_sink_setcaps),
(gst_rtpamrdec_chain):
Handle multiple AMr packets per payload. Handle CRC and
parse ILL/ILP.

* gst/rtp/gstrtpamrenc.c: (gst_rtpamrenc_setcaps):
Make caps params strings for easy SDP mapping.

* gst/rtp/gstrtpdec.c: (gst_rtpdec_init), (gst_rtpdec_getcaps):
Handle capsnego better.

* gst/rtp/gstrtpmp4vdec.c: (gst_rtpmp4vdec_setcaps):
* gst/rtp/gstrtpmp4venc.c: (gst_rtpmp4venc_new_caps):
Generate and parse config string in the caps.
2005-09-21 17:50:29 +00:00
Wim Taymans
9dd3929730 gst/rtp/README: Update README
Original commit message from CVS:
* gst/rtp/README:
Update README

* gst/rtp/gstrtpamrdec.c: (gst_rtpamrdec_sink_setcaps):
Make extra params as strings.

* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_set_state),
(gst_rtspsrc_parse_rtpmap), (gst_rtspsrc_media_to_caps),
(gst_rtspsrc_stream_setup_rtp), (gst_rtspsrc_send):
Make state change return NO_PREROLL as this is a live
source.

* gst/udp/gstudpsrc.c: (gst_udpsrc_set_property):
Don't unref old caps when NULL.
2005-09-21 12:19:24 +00:00
Wim Taymans
eb20f045f8 gst/rtsp/: Add URI handler.
Original commit message from CVS:
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_get_type),
(gst_rtspsrc_parse_rtpmap), (gst_rtspsrc_media_to_caps),
(gst_rtspsrc_stream_setup_rtp), (gst_rtspsrc_send),
(gst_rtspsrc_open), (gst_rtspsrc_uri_get_type),
(gst_rtspsrc_uri_get_protocols), (gst_rtspsrc_uri_get_uri),
(gst_rtspsrc_uri_set_uri), (gst_rtspsrc_uri_handler_init):
* gst/rtsp/sdpmessage.c: (sdp_media_get_format):
* gst/rtsp/sdpmessage.h:
Add URI handler.
Parse SDP and create caps.
2005-09-20 17:35:11 +00:00
Stefan Kost
cdb18ecaa7 gst/alpha/gstalpha.c: fix element description
Original commit message from CVS:
* gst/alpha/gstalpha.c:
fix element description
2005-09-20 07:30:31 +00:00
Wim Taymans
994fc0e13e gst/rtp/gstrtph263pdec.c: Don't check payload for now.
Original commit message from CVS:
* gst/rtp/gstrtph263pdec.c: (gst_rtph263pdec_chain):
Don't check payload for now.
2005-09-19 17:03:55 +00:00
Wim Taymans
b686729c39 gst/wavparse/gstwavparse.*: Fix wavparse some more.
Original commit message from CVS:
* gst/wavparse/gstwavparse.c: (gst_wavparse_reset),
(gst_wavparse_init), (gst_wavparse_parse_file_header),
(gst_wavparse_stream_init), (gst_wavparse_handle_seek),
(gst_wavparse_stream_headers), (gst_wavparse_stream_data),
(gst_wavparse_loop), (gst_wavparse_pad_convert),
(gst_wavparse_pad_query), (gst_wavparse_srcpad_event),
(gst_wavparse_change_state):
* gst/wavparse/gstwavparse.h:
Fix wavparse some more.
2005-09-19 16:26:30 +00:00
Wim Taymans
c1ebc9caf9 check/elements/level.c: Fix for bus API change.
Original commit message from CVS:
* check/elements/level.c: (GST_START_TEST):
Fix for bus API change.
2005-09-19 11:48:13 +00:00
Wim Taymans
b578f722f9 gst/level/level-example.c: Fix for new bus API.
Original commit message from CVS:
* gst/level/level-example.c: (main):
Fix for new bus API.

* gst/udp/gstudpsrc.c: (gst_udpsrc_set_property):
Set caps on pads.
2005-09-19 11:38:10 +00:00
Wim Taymans
fc158bc3c2 Updates to payloader/depayloaders, make payloaders use the base classes.
Original commit message from CVS:
Updates to payloader/depayloaders, make payloaders use
the base classes.
Updated README with suggested RTP caps and how to convert
to/from SDP.
Added config descriptor in mp4v payloader.
2005-09-15 13:57:56 +00:00
Andy Wingo
c7468729e9 gst/autodetect/gstautoaudiosink.c (gst_auto_audio_sink_find_best): gst/autodetect/gstautovideosink.c
Original commit message from CVS:
2005-09-15  Andy Wingo  <wingo@pobox.com>

* gst/autodetect/gstautoaudiosink.c (gst_auto_audio_sink_find_best):
* gst/autodetect/gstautovideosink.c
(gst_auto_video_sink_find_best): Update for new registry API.
2005-09-15 10:47:58 +00:00
Thomas Vander Stichele
bbae2942c2 common/: a simple py script to generate valid xml from a C example probably also need to strip an MIT license when we...
Original commit message from CVS:

* common/c-to-xml.py:
* common/gtk-doc-plugins.mak:
a simple py script to generate valid xml from a C example
probably also need to strip an MIT license when we decide
* docs/plugins/Makefile.am:
* gst/level/Makefile.am:
* gst/level/gstlevel.c: (gst_level_init):
* gst/level/level-example.c: (message_handler), (main):
add an example to level that will show up in the docs
* gst/rtp/TODO:
add a note for the future
2005-09-14 20:51:47 +00:00
Michael Smith
1b61a0a311 gst/wavenc/gstwavenc.c: Actually define the debug object being used in wavenc. Fixes #316205
Original commit message from CVS:
* gst/wavenc/gstwavenc.c: (gst_wavenc_class_init):
Actually define the debug object being used in wavenc. Fixes #316205
2005-09-14 11:44:11 +00:00
Michael Smith
3984e73c43 Link smpte plugin against GST_BASE_LIBS, to get libgstbase; needed to build on win32 as this plugin uses collectpads ...
Original commit message from CVS:
Link smpte plugin against GST_BASE_LIBS, to get libgstbase; needed to
build on win32 as this plugin uses collectpads (bug 316204)
2005-09-14 11:23:44 +00:00
Jan Schmidt
ce7ad59166 Fix up bogus ChangeLog entry
Original commit message from CVS:
Fix up bogus ChangeLog entry
2005-09-12 16:37:05 +00:00
Andy Wingo
5582665174 autogen.sh (package): Now type 'make' to build gst-plugins-good.
Original commit message from CVS:
2005-09-12  Andy Wingo  <wingo@pobox.com>

* autogen.sh (package): Now type 'make' to build gst-plugins-good.
2005-09-12 16:14:48 +00:00
Jan Schmidt
1436139a8c Move fdsrc back into gstreamer core elements.
Original commit message from CVS:
* configure.ac:
* gst/fdsrc/Makefile.am:
* gst/fdsrc/gstfdsrc.c:
* gst/fdsrc/gstfdsrc.h:
Move fdsrc back into gstreamer core elements.

* gst/level/gstlevel.c: (gst_level_class_init),
(gst_level_transform_ip):
* gst/videobox/gstvideobox.c: (gst_video_box_set_property):
Basetransform changes.
2005-09-09 17:56:43 +00:00
Thomas Vander Stichele
e30601f400 fix compiler warnings
Original commit message from CVS:
fix compiler warnings
2005-09-09 16:11:48 +00:00
Thomas Vander Stichele
df82aa5a01 gst-plugins-good.spec.in: spec file fixes
Original commit message from CVS:

* gst-plugins-good.spec.in:
spec file fixes
* gst/udp/gstmultiudpsink.c: (gst_multiudpsink_class_init),
(gst_multiudpsink_render), (gst_multiudpsink_add),
(gst_multiudpsink_clear):
it actually helps to actually stream if we hook up the
add signal to an actual implementation
* gst/udp/gstudpsrc.c: (gst_udpsrc_start):
some debugging
2005-09-09 11:09:49 +00:00
Flavio Oliveira
bc5a2ed427 jpegenc ported to GStreamer 0.9
Original commit message from CVS:
jpegenc ported to GStreamer 0.9
2005-09-08 16:26:17 +00:00
Stefan Kost
5da667af53 ext/: gsttaginterface.h -> gsttagsetter.h
Original commit message from CVS:
* ext/flac/gstflacdec.c:
* ext/flac/gstflacenc.c:
* ext/flac/gstflactag.c:
* ext/speex/gstspeexenc.c:
gsttaginterface.h -> gsttagsetter.h
2005-09-07 13:49:37 +00:00
Jan Schmidt
69f4aa6377 Port to 0.9 and re-enable efence plugin.
Original commit message from CVS:
* configure.ac:
* gst/debug/Makefile.am:
* gst/debug/efence.c: (gst_efence_class_init), (gst_efence_init),
(gst_efence_chain), (gst_efence_buffer_alloc), (plugin_init),
(gst_fenced_buffer_finalize), (gst_fenced_buffer_copy),
(gst_fenced_buffer_alloc), (gst_fenced_buffer_class_init),
(gst_fenced_buffer_init), (gst_fenced_buffer_get_type):
Port to 0.9 and re-enable efence plugin.
2005-09-06 23:30:03 +00:00
Tim-Philipp Müller
d57d03f01b ext/flac/gstflacdec.*: Add support for flac files with 24/32 bits per sample; and misc. minor clean-ups. Seeking is s...
Original commit message from CVS:
* ext/flac/gstflacdec.c: (flac_caps_factory), (raw_caps_factory),
(gst_flacdec_write), (gst_flacdec_convert_src):
* ext/flac/gstflacdec.h:
Add support for flac files with 24/32 bits per sample; and misc.
minor clean-ups. Seeking is still partly broken (for me at least).
2005-09-06 21:31:25 +00:00
Wim Taymans
98039503e9 gst/rtp/: Added mpeg4 video payload encoder/decoder.
Original commit message from CVS:
* gst/rtp/Makefile.am:
* gst/rtp/gstrtp.c: (plugin_init):
* gst/rtp/gstrtpmp4vdec.c: (gst_rtpmp4vdec_get_type),
(gst_rtpmp4vdec_base_init), (gst_rtpmp4vdec_class_init),
(gst_rtpmp4vdec_init), (gst_rtpmp4vdec_setcaps),
(gst_rtpmp4vdec_chain), (gst_rtpmp4vdec_set_property),
(gst_rtpmp4vdec_get_property), (gst_rtpmp4vdec_change_state),
(gst_rtpmp4vdec_plugin_init):
* gst/rtp/gstrtpmp4vdec.h:
* gst/rtp/gstrtpmp4venc.c: (gst_rtpmp4venc_get_type),
(gst_rtpmp4venc_base_init), (gst_rtpmp4venc_class_init),
(gst_rtpmp4venc_init), (gst_rtpmp4venc_setcaps),
(gst_rtpmp4venc_flush), (gst_rtpmp4venc_chain),
(gst_rtpmp4venc_set_property), (gst_rtpmp4venc_get_property),
(gst_rtpmp4venc_change_state), (gst_rtpmp4venc_plugin_init):
* gst/rtp/gstrtpmp4venc.h:
* gst/rtp/gstrtpmpadec.c: (gst_rtpmpadec_chain):
* gst/rtp/gstrtpmpaenc.c: (gst_rtpmpaenc_flush):
Added mpeg4 video payload encoder/decoder.
Added some docs in mpa payloader.
2005-09-06 15:50:58 +00:00
Thomas Vander Stichele
5cfcaf5ec6 releasing 0.9.2
Original commit message from CVS:
releasing 0.9.2
2005-09-06 14:05:33 +00:00
Andy Wingo
1c1c961af4 ext/dv/gstdvdemux.c (gst_dvdemux_chain): Move the pad adding here from the state change handler, so we fire signals w...
Original commit message from CVS:
2005-09-05  Andy Wingo  <wingo@pobox.com>

* ext/dv/gstdvdemux.c (gst_dvdemux_chain): Move the pad adding
here from the state change handler, so we fire signals without
holding the state lock.
2005-09-05 16:28:16 +00:00
Thomas Vander Stichele
423df73380 Andrewio Patrickoforus Wingonymus - 5 additional tests for your sins
Original commit message from CVS:
Andrewio Patrickoforus Wingonymus - 5 additional tests for your sins

Add a regression test for level and fix a casting bug that made the additional
channels turn out wrong
2005-09-01 20:23:22 +00:00
Thomas Vander Stichele
63efb534b9 add docs to build
Original commit message from CVS:
* Makefile.am:
* configure.ac:
add docs to build
* common/plugins.xsl:
wrap Description into a refsect2
* docs/Makefile.am:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-good-plugins-docs.sgml:
* docs/plugins/gst-plugins-good-plugins-sections.txt:
* gst/goom/Makefile.am:
* gst/goom/gstgoom.c: (gst_goom_get_type), (gst_goom_base_init),
(gst_goom_class_init), (gst_goom_init), (gst_goom_dispose),
(gst_goom_sink_setcaps), (gst_goom_src_setcaps),
(gst_goom_src_negotiate), (gst_goom_event), (gst_goom_chain),
(gst_goom_change_state):
* gst/goom/gstgoom.h:
GstGOOM -> GstGoom
add an example launch line
* gst/level/gstlevel.h:
* gst/monoscope/gstmonoscope.c:
cleanups
2005-09-01 17:55:14 +00:00
Thomas Vander Stichele
bab306f55d document elements and plugins. Shazam !
Original commit message from CVS:
document elements and plugins.  Shazam !
2005-08-30 19:01:18 +00:00
Thomas Vander Stichele
81f63142d6 tidying up -good for business
Original commit message from CVS:
tidying up -good for business
2005-08-30 17:32:12 +00:00
Andy Wingo
99fc32962a Updates for two-arg init from GST_BOILERPLATE.
Original commit message from CVS:
2005-08-28  Andy Wingo  <wingo@pobox.com>

* Updates for two-arg init from GST_BOILERPLATE.

* ext/ladspa/gstsignalprocessor.c (gst_signal_processor_init): Use
the second arg for the class, because G_OBJECT_GET_CLASS (self)
returns the wrong thing.
(gst_signal_processor_add_pad_from_template): Make pads of the
right type.

* ext/ladspa/gstladspa.c (gst_ladspa_class_get_param_spec): Make
writable param specs G_PARAM_CONSTRUCT so default values work.
(gst_ladspa_init): Use the second arg for the class.
2005-08-28 17:59:20 +00:00
Andy Wingo
b5c9e10399 ext/ladspa/gstladspa.*: Finish porting, still doesn't work but it does compile and register. I have more features tha...
Original commit message from CVS:
2005-08-26  Andy Wingo  <wingo@pobox.com>

* ext/ladspa/gstladspa.c:
* ext/ladspa/gstladspa.h: Finish porting, still doesn't work but
it does compile and register. I have more features than you.

* ext/ladspa/gstsignalprocessor.h:
* ext/ladspa/gstsignalprocessor.c: Updates, bug fixen.
2005-08-26 11:05:13 +00:00
Thomas Vander Stichele
011fc35e52 do proper cleanup/creation, fixes state changes
Original commit message from CVS:
do proper cleanup/creation, fixes state changes
2005-08-26 00:42:57 +00:00
Jan Schmidt
1eaefa7cad gst/level/gstlevel.c: Revert unpopular change for GST_MESSAGE_SRC to GObject.
Original commit message from CVS:
* gst/level/gstlevel.c: (gst_level_message_new):
Revert unpopular change for GST_MESSAGE_SRC to GObject.
2005-08-25 10:53:49 +00:00
Andy Wingo
0582ab1291 ext/ladspa/gstladspa.*: Halfway-ported. Doesn't compile yet.
Original commit message from CVS:
2005-08-25  Andy Wingo  <wingo@pobox.com>

* ext/ladspa/gstladspa.h:
* ext/ladspa/gstladspa.c: Halfway-ported. Doesn't compile yet.

* ext/ladspa/gstsignalprocessor.h:
* ext/ladspa/gstsignalprocessor.c: New files, the start of a base
class for DSP elements.

* configure.ac: Sort the external libs checks, add a ladspa check,
output the ladspa makefile.
2005-08-25 09:30:24 +00:00
Owen Fraser-Green
38d8867a0f Fixed EOS and improved robustness for malformed indices.
Original commit message from CVS:
Fixed EOS and improved robustness for malformed indices.
2005-08-25 00:32:21 +00:00
Andy Wingo
7cc995f71b ext/dv/gstdvdemux.c (gst_dvdemux_demux_frame): Send out valid segment end timestamps.
Original commit message from CVS:
2005-08-24  Andy Wingo  <wingo@pobox.com>

* ext/dv/gstdvdemux.c (gst_dvdemux_demux_frame): Send out valid
segment end timestamps.

(Also commit an old changelog entry)
2005-08-24 15:51:48 +00:00
Thomas Vander Stichele
122cdbe814 enable more; update for basetransform
Original commit message from CVS:
enable more; update for basetransform
2005-08-24 13:34:05 +00:00
Jan Schmidt
05f75a3c66 gst/level/gstlevel.c: GST_MESSAGE_SRC became a GObject
Original commit message from CVS:
* gst/level/gstlevel.c: (gst_level_message_new):
GST_MESSAGE_SRC became a GObject
2005-08-24 11:58:59 +00:00
Stefan Kost
fce9543243 ext/speex/gstspeexenc.h: Fixed include path of adapter
Original commit message from CVS:
* ext/speex/gstspeexenc.h:
Fixed include path of adapter
2005-08-23 19:40:11 +00:00
Wim Taymans
a953ed2d95 ext/speex/: Fix property warning.
Original commit message from CVS:
* ext/speex/gstspeexdec.c: (gst_speex_dec_class_init):
* ext/speex/gstspeexenc.c: (gst_speexenc_class_init):
Fix property warning.
2005-08-23 18:24:36 +00:00
Wim Taymans
dcc3732178 gst/rtp/: Small updates, RFC reference to payload encoders.
Original commit message from CVS:
* gst/rtp/gstrtpamrdec.c: (gst_rtpamrdec_init),
(gst_rtpamrdec_sink_setcaps), (gst_rtpamrdec_chain):
* gst/rtp/gstrtpamrenc.c: (gst_rtpamrenc_class_init),
(gst_rtpamrenc_init), (gst_rtpamrenc_chain):
* gst/rtp/gstrtph263penc.c: (gst_rtph263penc_class_init),
(gst_rtph263penc_flush), (gst_rtph263penc_chain):
Small updates, RFC reference to payload encoders.
2005-08-23 16:54:38 +00:00
Ronald S. Bultje
a779a27fc1 Port speexdec. Leads to some unfamiliar warnings on console, but works otherwise.
Original commit message from CVS:
* configure.ac:
* ext/Makefile.am:
* ext/speex/Makefile.am:
* ext/speex/gstspeex.c: (plugin_init):
* ext/speex/gstspeexdec.c: (speex_get_query_types),
(gst_speex_dec_init), (speex_dec_src_query), (speex_dec_src_event),
(speex_dec_event), (speex_dec_chain):
Port speexdec. Leads to some unfamiliar warnings on console,
but works otherwise.
2005-08-23 15:14:01 +00:00
Andy Wingo
ceab3d5da2 sys/oss/gstosssrc.c (gst_oss_src_open): Set the device-name property after opening the mixer.
Original commit message from CVS:
2005-08-23  Andy Wingo  <wingo@pobox.com>

* sys/oss/gstosssrc.c (gst_oss_src_open): Set the device-name
property after opening the mixer.
2005-08-23 14:10:05 +00:00
Andy Wingo
02a32faa48 sys/oss/gstosssrc.*: Easy to implement a mixer, eh...
Original commit message from CVS:
2005-08-23  Andy Wingo  <wingo@pobox.com>

* sys/oss/gstosssrc.c:
* sys/oss/gstosssrc.h: Easy to implement a mixer, eh...
2005-08-23 13:59:22 +00:00
Andy Wingo
b976e88c29 sys/oss/gstossmixerelement.*: Added mixer element like alsamixer.
Original commit message from CVS:
2005-08-23  Andy Wingo  <wingo@pobox.com>

* sys/oss/gstossmixerelement.h:
* sys/oss/gstossmixerelement.c: Added mixer element like
alsamixer.

* sys/oss/Makefile.am:
* sys/oss/gstossaudio.c: Register the ossmixer element.
2005-08-23 13:53:17 +00:00
Andy Wingo
007a0868a3 changelog
Original commit message from CVS:
changelog
2005-08-23 13:27:30 +00:00
Andy Wingo
ffaaa7528a sys/oss/gstosssrc.*: Totally ported, dude.
Original commit message from CVS:
2005-08-23  Andy Wingo  <wingo@pobox.com>

* sys/oss/gstosssrc.h:
* sys/oss/gstosssrc.c: Totally ported, dude.

* sys/oss/Makefile.am:
* sys/oss/gstossaudio.c: Add osssrc.

* sys/oss/gstosssink.c: We do native byte order.
2005-08-23 09:46:29 +00:00
Owen Fraser-Green
86eb113de1 Fixed mishandling events and incorrect audio skipping after seek.
Original commit message from CVS:
Fixed mishandling events and incorrect audio skipping after seek.
2005-08-23 07:54:31 +00:00
Jan Schmidt
363729fc72 ext/mad/gstid3tag.c: Works a bit better now, but still needs a rewrite to use get_range instead of this seeking nasti...
Original commit message from CVS:
* ext/mad/gstid3tag.c: (gst_id3_tag_init),
(gst_id3_tag_sink_event), (gst_id3_tag_do_caps_nego),
(gst_id3_tag_chain), (gst_id3_tag_change_state), (plugin_init):
Works a bit better now, but still needs a rewrite to use
get_range instead of this seeking nastiness.
2005-08-22 19:58:57 +00:00
Ronald S. Bultje
5f49e95370 Port flacdec (seeking is still slow'ish).
Original commit message from CVS:
* configure.ac:
* ext/Makefile.am:
* ext/flac/Makefile.am:
* ext/flac/gstflac.c: (plugin_init):
* ext/flac/gstflacdec.c: (flacdec_get_type), (gst_flacdec_init),
(gst_flacdec_update_metadata), (gst_flacdec_seek),
(gst_flacdec_tell), (gst_flacdec_length), (gst_flacdec_read),
(gst_flacdec_write), (gst_flacdec_loop),
(gst_flacdec_get_src_query_types), (gst_flacdec_src_query),
(gst_flacdec_src_event), (gst_flacdec_sink_activate),
(gst_flacdec_sink_activate_pull), (gst_flacdec_change_state):
* ext/flac/gstflacdec.h:
Port flacdec (seeking is still slow'ish).
2005-08-22 11:20:18 +00:00
Owen Fraser-Green
4c0e64b251 Fixed some seeking issues
Original commit message from CVS:
Fixed some seeking issues
2005-08-22 07:32:59 +00:00
Wim Taymans
a694bf3a29 gst/udp/gstmultiudpsink.c: Remove get_time code that is both wrong and unneeded.
Original commit message from CVS:
* gst/udp/gstmultiudpsink.c: (gst_multiudpsink_class_init):
Remove get_time code that is both wrong and unneeded.
2005-08-19 16:22:41 +00:00
Wim Taymans
11de94f9b3 gst/rtp/gstrtph263penc.*: Added configurable pt and ssrc, to be merged in the caps or a base class...
Original commit message from CVS:
* gst/rtp/gstrtph263penc.c: (gst_rtph263penc_class_init),
(gst_rtph263penc_flush), (gst_rtph263penc_chain),
(gst_rtph263penc_set_property), (gst_rtph263penc_get_property):
* gst/rtp/gstrtph263penc.h:
Added configurable pt and ssrc, to be merged in the caps or
a base class...
2005-08-19 15:01:05 +00:00
Wim Taymans
3cb47855e6 gst/rtp/: Some cleanups in the h263p (de)payloaders.
Original commit message from CVS:
* gst/rtp/gstrtph263pdec.c: (gst_rtph263pdec_init),
(gst_rtph263pdec_chain):
* gst/rtp/gstrtph263penc.c: (gst_rtph263penc_class_init),
(gst_rtph263penc_flush), (gst_rtph263penc_chain):
Some cleanups in the h263p (de)payloaders.
2005-08-19 14:51:20 +00:00
Wim Taymans
f48c4cbe42 ext/amrnb/: Update caps with audio/AMR.
Original commit message from CVS:
* ext/amrnb/amrnbdec.c:
* ext/amrnb/amrnbenc.c: (gst_amrnbenc_setcaps):
* ext/amrnb/amrnbparse.c:
Update caps with audio/AMR.

* gst/rtp/gstrtpamrdec.c: (gst_rtpamrdec_init),
(gst_rtpamrdec_sink_setcaps), (gst_rtpamrdec_chain),
(gst_rtpamrdec_change_state):
* gst/rtp/gstrtpamrdec.h:
* gst/rtp/gstrtpamrenc.c: (gst_rtpamrenc_class_init),
(gst_rtpamrenc_init), (gst_rtpamrenc_chain):
Dont set FT headers twice, it was already in the encoded
bitstream.

* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_send), (gst_rtspsrc_open),
(gst_rtspsrc_close), (gst_rtspsrc_play):
* gst/rtsp/rtspconnection.c: (parse_line):
Cleanups

* gst/udp/gstudpsrc.c: (gst_udpsrc_class_init),
(gst_udpsrc_create), (gst_udpsrc_set_property),
(gst_udpsrc_get_property):
* gst/udp/gstudpsrc.h:
Added caps property, we need this soon to type the buffers.
2005-08-19 12:44:35 +00:00
Wim Taymans
3e064477cf gst/rtp/gstrtpamrdec.c: Fix up amr depayloader a bit.
Original commit message from CVS:
* gst/rtp/gstrtpamrdec.c: (gst_rtpamrdec_init),
(gst_rtpamrdec_chain):
Fix up amr depayloader a bit.

* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_send), (gst_rtspsrc_open),
(gst_rtspsrc_close), (gst_rtspsrc_play):
Look for options result in Public and Allow header fields..
spec says Allow but some servers return Public...
2005-08-18 20:14:46 +00:00
Wim Taymans
519f58bb6b gst/rtp/gstrtpamrenc.*: Added payload_type and ssrc properties to the payloader.
Original commit message from CVS:
* gst/rtp/gstrtpamrenc.c: (gst_rtpamrenc_class_init),
(gst_rtpamrenc_init), (gst_rtpamrenc_chain),
(gst_rtpamrenc_set_property), (gst_rtpamrenc_get_property):
* gst/rtp/gstrtpamrenc.h:
Added payload_type and ssrc properties to the payloader.

* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_send), (gst_rtspsrc_open),
(gst_rtspsrc_close), (gst_rtspsrc_play):
Options need to be stripped and are in the Public header field.

* gst/rtsp/rtspurl.c: (rtsp_url_parse):
Fix url / parsing...
2005-08-18 19:47:38 +00:00
Wim Taymans
dc2d99dc17 gst/rtp/: Added very simplistic amr payloader. depayloader does not work yet.
Original commit message from CVS:
* gst/rtp/Makefile.am:
* gst/rtp/gstrtp.c: (plugin_init):
* gst/rtp/gstrtpamrdec.c: (gst_rtpamrdec_get_type),
(gst_rtpamrdec_base_init), (gst_rtpamrdec_class_init),
(gst_rtpamrdec_init), (gst_rtpamrdec_chain),
(gst_rtpamrdec_set_property), (gst_rtpamrdec_get_property),
(gst_rtpamrdec_change_state), (gst_rtpamrdec_plugin_init):
* gst/rtp/gstrtpamrdec.h:
* gst/rtp/gstrtpamrenc.c: (gst_rtpamrenc_get_type),
(gst_rtpamrenc_base_init), (gst_rtpamrenc_class_init),
(gst_rtpamrenc_init), (gst_rtpamrenc_chain),
(gst_rtpamrenc_set_property), (gst_rtpamrenc_get_property),
(gst_rtpamrenc_change_state), (gst_rtpamrenc_plugin_init):
* gst/rtp/gstrtpamrenc.h:
* gst/rtp/gstrtpmpaenc.c: (gst_rtpmpaenc_class_init),
(gst_rtpmpaenc_flush), (gst_rtpmpaenc_chain):
Added very simplistic amr payloader. depayloader does not
work yet.
2005-08-18 17:39:17 +00:00
Wim Taymans
c831aef495 gst/rtsp/: Handle RTSP defaults better.
Original commit message from CVS:
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_send), (gst_rtspsrc_open),
(gst_rtspsrc_close), (gst_rtspsrc_play), (gst_rtspsrc_pause),
(gst_rtspsrc_change_state):
* gst/rtsp/gstrtspsrc.h:
* gst/rtsp/rtspdefs.c: (rtsp_method_as_text), (rtsp_find_method):
* gst/rtsp/rtspdefs.h:
* gst/rtsp/rtsptransport.c: (rtsp_transport_parse):
Handle RTSP defaults better.
Issue OPTIONS request to figure out what we are allowed to do.
Make the methods a bitfield so we can easily collect supported
options.
Fix rtsp_find_method.
Do proper RTSP connection shutdown.
2005-08-18 16:53:14 +00:00
Wim Taymans
9a5c8cd25e gst/rtp/: Remove old code that is now in gst-libs/gst/rtp/.
Original commit message from CVS:
* gst/rtp/Makefile.am:
* gst/rtp/gstrtp-common.h:
* gst/rtp/gstrtp.c: (plugin_init):
* gst/rtp/gstrtpL16enc.h:
* gst/rtp/gstrtpdec.c: (gst_rtpdec_get_type),
(gst_rtpdec_class_init), (gst_rtpdec_chain_rtp),
(gst_rtpdec_chain_rtcp), (gst_rtpdec_change_state),
(gst_rtpdec_plugin_init):
* gst/rtp/gstrtph263pdec.c: (gst_rtph263pdec_get_type),
(gst_rtph263pdec_base_init), (gst_rtph263pdec_class_init),
(gst_rtph263pdec_init), (gst_rtph263pdec_chain),
(gst_rtph263pdec_set_property), (gst_rtph263pdec_get_property),
(gst_rtph263pdec_change_state), (gst_rtph263pdec_plugin_init):
* gst/rtp/gstrtph263pdec.h:
* gst/rtp/gstrtph263penc.c: (gst_rtph263penc_get_type),
(gst_rtph263penc_base_init), (gst_rtph263penc_class_init),
(gst_rtph263penc_init), (gst_rtph263penc_flush),
(gst_rtph263penc_chain), (gst_rtph263penc_set_property),
(gst_rtph263penc_get_property), (gst_rtph263penc_change_state),
(gst_rtph263penc_plugin_init):
* gst/rtp/gstrtph263penc.h:
* gst/rtp/gstrtpmpadec.c: (gst_rtpmpadec_get_type),
(gst_rtpmpadec_base_init), (gst_rtpmpadec_class_init),
(gst_rtpmpadec_init), (gst_rtpmpadec_chain),
(gst_rtpmpadec_set_property), (gst_rtpmpadec_get_property),
(gst_rtpmpadec_change_state), (gst_rtpmpadec_plugin_init):
* gst/rtp/gstrtpmpadec.h:
* gst/rtp/gstrtpmpaenc.c: (gst_rtpmpaenc_get_type),
(gst_rtpmpaenc_base_init), (gst_rtpmpaenc_class_init),
(gst_rtpmpaenc_init), (gst_rtpmpaenc_flush), (gst_rtpmpaenc_chain),
(gst_rtpmpaenc_set_property), (gst_rtpmpaenc_get_property),
(gst_rtpmpaenc_change_state), (gst_rtpmpaenc_plugin_init):
* gst/rtp/gstrtpmpaenc.h:
* gst/rtp/rtp-packet.c:
* gst/rtp/rtp-packet.h:
Remove old code that is now in gst-libs/gst/rtp/.
Added some payload/depayloaders.

* gst/udp/gstudpsink.c: (gst_udpsink_class_init):
Fix port number range.
2005-08-18 10:33:15 +00:00
Wim Taymans
a6c633b9ab configure.ac: Added mpegaudioparse
Original commit message from CVS:
* configure.ac:
Added mpegaudioparse

* ext/lame/gstlame.c: (gst_lame_src_getcaps),
(gst_lame_src_setcaps), (gst_lame_sink_setcaps),
(gst_lame_sink_event), (gst_lame_chain):
Some cleanups.
Fix memleak.

* gst/mpegaudioparse/gstmpegaudioparse.c:
(gst_mp3parse_class_init), (gst_mp3parse_init),
(gst_mp3parse_chain), (gst_mp3parse_change_state):
* gst/mpegaudioparse/gstmpegaudioparse.h:
Ported mpegaudioparse
2005-08-17 19:05:50 +00:00
Wim Taymans
bf2d582666 gst/rtsp/gstrtspsrc.c: Support absolute control urls too.
Original commit message from CVS:
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_open), (gst_rtspsrc_play):
Support absolute control urls too.
2005-08-17 10:30:55 +00:00
Ronald S. Bultje
51a630d417 gst/: Uncomment metadata and codec-name handling.
Original commit message from CVS:
* gst/avi/gstavidemux.c: (gst_avi_demux_parse_stream),
(gst_avi_demux_stream_header):
* gst/qtdemux/qtdemux.c: (gst_qtdemux_change_state),
(gst_qtdemux_add_stream), (qtdemux_parse_tree):
Uncomment metadata and codec-name handling.
2005-08-16 16:30:23 +00:00
Wim Taymans
b010056978 Fix compile warning.
Original commit message from CVS:
* configure.ac:
* ext/amrnb/amrnbparse.c: (gst_amrnbparse_read_header):
Fix compile warning.

* ext/lame/gstlame.c: (gst_lame_class_init),
(gst_lame_src_getcaps), (gst_lame_src_setcaps),
(gst_lame_sink_setcaps), (gst_lame_init), (gst_lame_sink_event),
(gst_lame_chain), (gst_lame_change_state):
* ext/lame/gstlame.h:
Port lame plugin
2005-08-16 16:12:14 +00:00
Andy Wingo
c3f3fe9f25 ext/raw1394/gstdv1394src.c (gst_dv1394src_iso_receive): Note license info in the source code -- was only in the commi...
Original commit message from CVS:
2005-08-16  Andy Wingo  <wingo@pobox.com>

* ext/raw1394/gstdv1394src.c (gst_dv1394src_iso_receive): Note
license info in the source code -- was only in the commit log
before.

* ext/dv/gstdvdec.h:
* ext/dv/gstdvdec.c: Only decodes systemstream=FALSE dv video --
old pipelines using dvdec should probably have a dvdemux first.

* ext/dv/gstdvdemux.h:
* ext/dv/gstdvdemux.c: Split out from dvdec, chunks the incoming
systemstream=TRUE data into frames, sets caps data, and spits out
PCM audio in addition to systemstream=FALSE video frames. Operates
in chain mode only for now; should make a getrange version as
well.

* ext/dv/gstdv.c: New file, registers the libgstdv plugin.

* ext/dv/Makefile.am: Library name changed to libgstdv. Split
dvdec into dvdemux and dvdec.
2005-08-16 14:04:39 +00:00
Ronald S. Bultje
2ba9064bf8 Handle _push() return values.
Original commit message from CVS:
* ext/faad/gstfaad.c: (gst_faad_event), (gst_faad_chain):
* gst/qtdemux/qtdemux.c: (gst_qtdemux_loop_header):
Handle _push() return values.
2005-08-16 09:54:10 +00:00
Ronald S. Bultje
79b78818c8 Fix debug.
Original commit message from CVS:
* ext/faad/gstfaad.c: (gst_faad_event):
* gst/qtdemux/qtdemux.c: (gst_qtdemux_loop_header):
Fix debug.
2005-08-15 15:58:49 +00:00
Ronald S. Bultje
0df0fa7a35 gst/qtdemux/qtdemux.c: Forwardport from 0.8 to implement RLE.
Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (qtdemux_parse_trak),
(qtdemux_video_caps):
Forwardport from 0.8 to implement RLE.
2005-08-15 13:44:50 +00:00
Wim Taymans
57ea086630 gst/rtsp/README: Added rtsp server implementation docs.
Original commit message from CVS:
* gst/rtsp/README:
Added rtsp server implementation docs.
2005-08-15 13:29:41 +00:00
Thomas Vander Stichele
7b26b4d950 licensing, name and description changes
Original commit message from CVS:
licensing, name and description changes
2005-08-14 16:10:55 +00:00
Tim-Philipp Müller
59c9b655e1 Use -lgstfoo-@GST_MAJORMINOR@ instead of -lgstfoo-0.9
Original commit message from CVS:
* ext/mad/Makefile.am:
* gst/avi/Makefile.am:
* gst/effectv/Makefile.am:
* gst/udp/Makefile.am:
* gst/wavparse/Makefile.am:
Use -lgstfoo-@GST_MAJORMINOR@ instead of -lgstfoo-0.9
2005-08-13 11:58:03 +00:00
Tim-Philipp Müller
d39143f4bb ext/jpeg/gstjpegdec.c: Fix decoding of pictures with certain uneven or unaligned widths where jpeglib needs more hori...
Original commit message from CVS:
* ext/jpeg/gstjpegdec.c: (gst_jpeg_dec_decode_indirect),
(gst_jpeg_dec_decode_direct), (gst_jpeg_dec_chain):
Fix decoding of pictures with certain uneven or unaligned
widths where jpeglib needs more horizontal padding than our
I420 buffers provide, resulting in blocky artifacts at the
left side of the picture (#164176).
Also make use of our shiny new GST_ROUND_N() macros.
2005-08-12 19:33:31 +00:00
Tim-Philipp Müller
2c39e57114 ext/jpeg/gstjpegdec.*: Fix crashes/invalid memory access for pictures that have a height that is not a multiple of 16...
Original commit message from CVS:
* ext/jpeg/gstjpegdec.c: (gst_jpeg_dec_init), (gst_jpeg_dec_chain),
(gst_jpeg_dec_change_state):
* ext/jpeg/gstjpegdec.h:
Fix crashes/invalid memory access for pictures that have a height
that is not a multiple of 16 (or rather: v_samp_factor * DCTSIZE).
Also fix the state change function for downwards state changes
(need to chain up to parent before destroying our resources, to
make sure pads get deactivated and our chain function isn't
running and using those very same resources in another thread).
The jpeg line buffer only needs to be v_samp_factor*DCTSIZE lines
per plane, not picture_height lines; allocate that on the stack.
2005-08-11 15:02:37 +00:00
Tim-Philipp Müller
a0074faed3 gst/wavparse/gstwavparse.c: Add some fixes from 0.8 branch: allow 24/32bps songs and blockalign samples to the header...
Original commit message from CVS:
* gst/wavparse/gstwavparse.c: (gst_wavparse_stream_headers),
(gst_wavparse_stream_data):
Add some fixes from 0.8 branch: allow 24/32bps songs and
blockalign samples to the header-specified size, if any
(#311070); error out on channels==0 or bitrate==0
(#309043, #304588).
2005-08-10 12:12:31 +00:00
Thomas Vander Stichele
bd57e8657c port fixes from 0.8 to level
Original commit message from CVS:
port fixes from 0.8 to level
2005-08-10 10:54:02 +00:00
Ronald S. Bultje
1d185d4127 ext/faad/gstfaad.c: Add debug category, remove Close() call that made it crash whenever reusing, renegotiating or any...
Original commit message from CVS:
* ext/faad/gstfaad.c: (gst_faad_class_init), (gst_faad_setcaps):
Add debug category, remove Close() call that made it crash
whenever reusing, renegotiating or anything; Close() actually
free()s the handle and should only be called on READY->NULL.
* gst/qtdemux/qtdemux.c: (gst_qtdemux_loop_header):
Actually set caps on buffer (in addition to pad), also.
2005-08-10 09:33:58 +00:00
Owen Fraser-Green
ee6172a676 Implemented push-pull and seeking in rmdemux
Original commit message from CVS:
Implemented push-pull and seeking in rmdemux
2005-08-10 08:33:18 +00:00
Ronald S. Bultje
53ba9736e8 ext/faad/gstfaad.c: Sign/unsign mismatch.
Original commit message from CVS:
* ext/faad/gstfaad.c: (gst_faad_event):
Sign/unsign mismatch.
* configure.ac:
* gst/qtdemux/qtdemux.c: (gst_qtdemux_class_init),
(gst_qtdemux_init), (gst_qtdemux_get_src_query_types),
(gst_qtdemux_handle_src_query), (gst_qtdemux_handle_src_event),
(plugin_init), (gst_qtdemux_handle_sink_event),
(gst_qtdemux_change_state), (gst_qtdemux_loop_header),
(qtdemux_sink_activate), (qtdemux_sink_activate_pull),
(gst_qtdemux_add_stream), (qtdemux_parse), (qtdemux_parse_tree),
(qtdemux_parse_trak), (qtdemux_video_caps), (qtdemux_audio_caps):
* gst/qtdemux/qtdemux.h:
Half-assed port (hey, it works).
2005-08-09 14:43:48 +00:00
Tim-Philipp Müller
f6d8dee68d gst/avi/gstavidemux.c: Fix AVI header parsing: add missing break statement after
Original commit message from CVS:
* gst/avi/gstavidemux.c: (gst_avi_demux_stream_header):
Fix AVI header parsing: add missing break statement after
GST_RIFF_INFO_LIST parsing code; gst_riff_read_chunk() has
already advanced the avi->offset, no need to do it twice
(fixes MovieOfMovies.avi).
2005-08-09 14:40:02 +00:00
Tim-Philipp Müller
471fec5c95 ext/jpeg/gstjpegdec.*: Make mjpeg actually work and skip jpeg data parsing if we know that the input is packetized (i...
Original commit message from CVS:
* ext/jpeg/gstjpegdec.c: (gst_jpeg_dec_init),
(gst_jpeg_dec_setcaps), (gst_jpeg_dec_chain),
(gst_jpeg_dec_change_state):
* ext/jpeg/gstjpegdec.h:
Make mjpeg actually work and skip jpeg data parsing if we
know that the input is packetized (ie. each input buffer
is exactly one jpeg frame).
2005-08-09 14:16:33 +00:00
Ronald S. Bultje
09253dcaf3 ext/mad/gstmad.c: It'd be nice if I could listen to my mp3 files, so send out an initial discont, as the sink apparen...
Original commit message from CVS:
* ext/mad/gstmad.c: (gst_mad_init), (gst_mad_chain):
It'd be nice if I could listen to my mp3 files, so send out an
initial discont, as the sink apparently wants.
2005-08-09 13:02:53 +00:00
Ronald S. Bultje
139e82bd8b gst/avi/gstavidemux.c: Fix seeking (or, well, fix threading issue where a variable was set before a lock was taken an...
Original commit message from CVS:
* gst/avi/gstavidemux.c: (gst_avi_demux_handle_src_event),
(gst_avi_demux_handle_seek):
Fix seeking (or, well, fix threading issue where a variable was
set before a lock was taken and was already unset before that
same lock was taken and was thus no longer in existance when it
actually had to be used).
2005-08-09 12:33:21 +00:00
Ronald S. Bultje
0d1f52616a gst/avi/gstavidemux.c: Mixing binary and logical operators is not going to work; fix position-querying in Totem.
Original commit message from CVS:
* gst/avi/gstavidemux.c: (gst_avi_demux_process_next_entry):
Mixing binary and logical operators is not going to work; fix
position-querying in Totem.
2005-08-09 12:22:12 +00:00
Tim-Philipp Müller
1b806af1a6 ext/faad/gstfaad.*: Fix negotiation (#310932) and miscellaneous other stuff. Probably still needs some more work.
Original commit message from CVS:
* ext/faad/gstfaad.c: (gst_faad_base_init), (gst_faad_class_init),
(gst_faad_init), (gst_faad_setcaps), (gst_faad_srcgetcaps),
(gst_faad_event), (gst_faad_update_caps), (gst_faad_chain),
(gst_faad_change_state):
* ext/faad/gstfaad.h:
Fix negotiation (#310932) and miscellaneous other stuff. Probably
still needs some more work.
2005-08-08 19:20:01 +00:00
Tim-Philipp Müller
af16787fec ext/jpeg/gstjpegdec.c: Add setcaps() function (for mjpeg).
Original commit message from CVS:
* ext/jpeg/gstjpegdec.c: (gst_jpeg_dec_init),
(gst_jpeg_dec_setcaps), (gst_jpeg_dec_chain):
Add setcaps() function (for mjpeg).
2005-08-08 19:09:19 +00:00
Andy Wingo
71de30e469 ext/esd/esdsink.c (gst_esdsink_getcaps): Seems that wierd va_list caps setting function was borked. Fixed esdsink.
Original commit message from CVS:
2005-08-08  Andy Wingo  <wingo@pobox.com>

* ext/esd/esdsink.c (gst_esdsink_getcaps): Seems that wierd
va_list caps setting function was borked. Fixed esdsink.
2005-08-08 17:27:28 +00:00
Andy Wingo
568194ce35 sys/oss/gstosssink.c (gst_oss_sink_open, gst_oss_sink_close)
Original commit message from CVS:
2005-08-08  Andy Wingo  <wingo@pobox.com>

* sys/oss/gstosssink.c (gst_oss_sink_open, gst_oss_sink_close)
(gst_oss_sink_prepare, gst_oss_sink_unprepare): Update for newer
audiosink api.

* ext/raw1394/gstdv1394src.c (gst_dv1394src_get_property)
(gst_dv1394src_set_property): Style. All about the style.

* ext/esd/esdsink.c (gst_esdsink_getcaps): Return specific caps
only if in READY or higher (i.e., if _open() has been called.)
(gst_esdsink_open, gst_esdsink_close, gst_esdsink_prepare)
(gst_esdsink_unprepare): Update for audiosink changes.
(gst_esdsink_change_state): Die!
2005-08-08 16:43:47 +00:00
Ronald S. Bultje
6a32222f1d ext/jpeg/Makefile.am: Fix compile.
Original commit message from CVS:
* ext/jpeg/Makefile.am:
Fix compile.
2005-08-08 14:51:35 +00:00
Tim-Philipp Müller
7cc1cf7dbb Port jpegdec to 0.9; handles 'progressive loading' now, ie. input does no longer need to be one single buffer.
Original commit message from CVS:
* configure.ac:
* ext/Makefile.am:
* ext/jpeg/Makefile.am:
* ext/jpeg/gstjpeg.c: (plugin_init):
* ext/jpeg/gstjpegdec.c: (gst_jpeg_dec_get_type),
(gst_jpeg_dec_finalize), (gst_jpeg_dec_base_init),
(gst_jpeg_dec_class_init), (gst_jpeg_dec_fill_input_buffer),
(gst_jpeg_dec_init_source), (gst_jpeg_dec_skip_input_data),
(gst_jpeg_dec_resync_to_restart), (gst_jpeg_dec_term_source),
(gst_jpeg_dec_my_output_message), (gst_jpeg_dec_my_emit_message),
(gst_jpeg_dec_my_error_exit), (gst_jpeg_dec_init),
(is_jpeg_start_marker), (is_jpeg_end_marker),
(gst_jpeg_dec_find_jpeg_header), (gst_jpeg_dec_ensure_header),
(gst_jpeg_dec_have_end_marker),
(gst_jpeg_dec_parse_tag_has_entropy_segment),
(gst_jpeg_dec_parse_image_data), (gst_jpeg_dec_chain),
(gst_jpeg_dec_change_state):
* ext/jpeg/gstjpegdec.h:
Port jpegdec to 0.9; handles 'progressive loading' now, ie. input does
no longer need to be one single buffer.
2005-08-08 12:13:08 +00:00
Andy Wingo
284327da55 sys/oss/gstossaudio.c (plugin_init): Second-class citizen.
Original commit message from CVS:
2005-08-04  Andy Wingo  <wingo@pobox.com>

* sys/oss/gstossaudio.c (plugin_init): Second-class citizen.

* gst/videobox/gstvideobox.c (gst_video_box_get_size): Update for
API changes.

* configure.ac (DEFAULT_AUDIOSINK, DEFAULT_VIDEOSINK): Set to
autoaudiosink and autovideosink.
2005-08-04 20:05:51 +00:00
Edward Hervey
6af187c535 gst/avi/gstavidemux.c: You need to allocatate (len+1) characters to store a len size string.
Original commit message from CVS:
* gst/avi/gstavidemux.c: (gst_avi_demux_reset),
(gst_avi_demux_parse_stream), (gst_avi_demux_process_next_entry):
You need to allocatate (len+1) characters to store a len size string.
Also don't stop the processing task if the output pad is not linked.
2005-08-04 18:31:12 +00:00
Ronald S. Bultje
7e8df65cc2 Use new ghostpad API; now they actually work in Totem, also.
Original commit message from CVS:
* ext/gconf/gstgconfaudiosink.c: (gst_gconf_audio_sink_reset),
(gst_gconf_audio_sink_init), (do_toggle_element),
(cb_toggle_element), (gst_gconf_audio_sink_change_state):
* ext/gconf/gstgconfaudiosink.h:
* ext/gconf/gstgconfvideosink.c: (gst_gconf_video_sink_reset),
(gst_gconf_video_sink_init), (do_toggle_element),
(cb_toggle_element), (gst_gconf_video_sink_change_state):
* ext/gconf/gstgconfvideosink.h:
* gst/autodetect/gstautoaudiosink.c: (gst_auto_audio_sink_reset),
(gst_auto_audio_sink_init), (gst_auto_audio_sink_detect),
(gst_auto_audio_sink_change_state):
* gst/autodetect/gstautoaudiosink.h:
* gst/autodetect/gstautovideosink.c: (gst_auto_video_sink_reset),
(gst_auto_video_sink_init), (gst_auto_video_sink_detect),
(gst_auto_video_sink_change_state):
* gst/autodetect/gstautovideosink.h:
Use new ghostpad API; now they actually work in Totem, also.
2005-08-03 17:18:31 +00:00
Ronald S. Bultje
1b23cf61a8 ext/libpng/Makefile.am: Fix uninstalled build.
Original commit message from CVS:
* ext/libpng/Makefile.am:
Fix uninstalled build.
2005-08-03 14:49:06 +00:00
Edward Hervey
2fb546c971 Ported pngenc , still have to port pngdec...
Original commit message from CVS:
* configure.ac:
* ext/Makefile.am:
* ext/libpng/Makefile.am:
* ext/libpng/gstpng.c:
* ext/libpng/gstpngenc.c:
Ported pngenc , still have to port pngdec...
2005-08-02 11:42:33 +00:00
Stefan Kost
84371908c8 deactivate and remove dparams (libgstcontrol)
Original commit message from CVS:
deactivate and remove dparams (libgstcontrol)
2005-08-01 16:22:31 +00:00
Wim Taymans
ff9956239b ext/faad/gstfaad.c: Compile fixes.
Original commit message from CVS:
* ext/faad/gstfaad.c: (gst_faad_event):
Compile fixes.
2005-07-27 20:29:14 +00:00
Wim Taymans
c50893f784 Various event updates and cleanups.
Original commit message from CVS:
* ext/amrnb/amrnbparse.c: (gst_amrnbparse_event),
(gst_amrnbparse_loop):
* ext/dv/gstdvdec.c: (gst_dvdec_handle_sink_event),
(gst_dvdec_handle_src_event), (gst_dvdec_decode_frame):
* ext/mad/gstid3tag.c: (gst_id3_tag_src_event),
(gst_id3_tag_sink_event), (gst_id3_tag_chain):
* ext/mad/gstmad.c: (gst_mad_src_query), (index_seek),
(normal_seek), (gst_mad_sink_event), (gst_mad_chain):
* ext/mpeg2dec/gstmpeg2dec.c:
* ext/shout2/gstshout2.c: (gst_shout2send_event):
* ext/sidplay/gstsiddec.cc:
* gst/avi/gstavidemux.c: (gst_avi_demux_handle_src_event),
(gst_avi_demux_send_event), (gst_avi_demux_stream_header),
(gst_avi_demux_handle_seek), (gst_avi_demux_process_next_entry):
* gst/goom/gstgoom.c: (gst_goom_event):
* gst/realmedia/rmdemux.c: (gst_rmdemux_sink_event),
(gst_rmdemux_chain), (gst_rmdemux_send_event),
(gst_rmdemux_add_stream):
* gst/wavparse/gstwavparse.c: (gst_wavparse_handle_seek),
(gst_wavparse_stream_headers), (gst_wavparse_stream_data),
(gst_wavparse_loop), (gst_wavparse_srcpad_event):
Various event updates and cleanups.
2005-07-27 18:37:25 +00:00
Christian Schaller
6a20c8af5a update spec and add missing header file
Original commit message from CVS:
update spec and add missing header file
2005-07-25 15:23:43 +00:00
Thomas Vander Stichele
6c3ff34ee0 forward port from 0.9 and enable videoflip now that it works
Original commit message from CVS:
forward port from 0.9 and enable videoflip now that it works
2005-07-25 14:06:15 +00:00
Edward Hervey
29ddf89a5d Ported silence to 0.9 using GstBaseSrc ... 180 lines :)
Original commit message from CVS:
* configure.ac:
* gst/silence/Makefile.am:
* gst/silence/gstsilence.h:
* gst/silence/gstsilence.c:
Ported silence to 0.9 using GstBaseSrc ... 180 lines :)
2005-07-23 17:03:41 +00:00
Ronald S. Bultje
2a03e07b95 ext/mad/gstmad.c: First try forwarding events, makes seeking in AVI files with mp3 audio work again.
Original commit message from CVS:
* ext/mad/gstmad.c: (gst_mad_src_event):
First try forwarding events, makes seeking in AVI files with mp3
audio work again.
2005-07-22 08:53:19 +00:00
Edgard Lima
c3c2e4e569 configure.ac ext/Makefile.am ext/amrnb/amrnbdec.c ext/amrnb/amrnbenc.c ext/amrnb/amrnbparse.c ext/faad/gstfaad.c ext/...
Original commit message from CVS:
2005-07-19  Edgard N. A. G. Lima <edgard.lima@indt.org.br>

* configure.ac
* ext/Makefile.am
* ext/amrnb/amrnbdec.c
* ext/amrnb/amrnbenc.c
* ext/amrnb/amrnbparse.c
* ext/faad/gstfaad.c
* ext/mpeg2dec/gstmpeg2dec.c
Ported amrnb, faad, mpeg2dec to 0.9
2005-07-21 14:13:50 +00:00
Andy Wingo
5ab93d24ab ext/mpeg2dec/gstmpeg2dec.c (gst_mpeg2dec_sink_event): Signedness fix.
Original commit message from CVS:
2005-07-20  Andy Wingo  <wingo@pobox.com>

* ext/mpeg2dec/gstmpeg2dec.c (gst_mpeg2dec_sink_event): Signedness
fix.
2005-07-20 17:13:18 +00:00
Edward Hervey
d6a2d1aba1 Ported wavparse to 0.9 . Playing, seeking and state changes work.
Original commit message from CVS:
* configure.ac:
* gst/wavparse/gstwavparse.c:
* gst/wavparse/gstwavparse.h:
* gst/wavparse/Makefile.am:
Ported wavparse to 0.9 . Playing, seeking and state changes work.
Could need more loving on the headers though.
2005-07-20 11:26:05 +00:00
Ronald S. Bultje
961178077e Port auto/gconfsinks to 0.9. They actually appear to work here in
Original commit message from CVS:
* configure.ac:
* ext/Makefile.am:
* ext/gconf/Makefile.am:
* ext/gconf/gconf.c: (gst_bin_find_unconnected_pad),
(gst_gconf_render_bin_from_description),
(gst_gconf_get_default_video_sink):
* ext/gconf/gstgconfaudiosink.c: (gst_gconf_audio_sink_base_init),
(gst_gconf_audio_sink_class_init), (gst_gconf_audio_sink_dispose),
(cb_toggle_element), (gst_gconf_audio_sink_change_state):
* ext/gconf/gstgconfelements.h:
* ext/gconf/gstgconfvideosink.c: (gst_gconf_video_sink_base_init),
(gst_gconf_video_sink_class_init), (gst_gconf_video_sink_dispose),
(cb_toggle_element), (gst_gconf_video_sink_change_state):
* gst/autodetect/gstautoaudiosink.c:
(gst_auto_audio_sink_base_init), (gst_auto_audio_sink_class_init),
(gst_auto_audio_sink_detect), (gst_auto_audio_sink_change_state):
* gst/autodetect/gstautovideosink.c:
(gst_auto_video_sink_base_init), (gst_auto_video_sink_class_init),
(gst_auto_video_sink_find_best), (gst_auto_video_sink_detect):
Port auto/gconfsinks to 0.9. They actually appear to work here in
Totem as well, making them actually useful.
2005-07-20 10:07:10 +00:00
Ronald S. Bultje
f9c827fb64 ext/faad/Makefile.am: Fix uninstalled build.
Original commit message from CVS:
* ext/faad/Makefile.am:
Fix uninstalled build.
2005-07-20 08:34:18 +00:00
Wim Taymans
ecb294fb21 sys/oss/gstosssink.c: Parse spec to set correct oss values.
Original commit message from CVS:
* sys/oss/gstosssink.c: (gst_oss_sink_get_format),
(gst_oss_sink_open):
Parse spec to set correct oss values.
2005-07-19 19:03:26 +00:00
Andy Wingo
14a7cbe19e ext/dv/gstdvdec.c (gst_dvdec_decode_video): Set the proper framerate on the outbound buffer.
Original commit message from CVS:
2005-07-19  Andy Wingo  <wingo@pobox.com>

* ext/dv/gstdvdec.c (gst_dvdec_decode_video): Set the proper
framerate on the outbound buffer.
2005-07-19 16:08:18 +00:00
Andy Wingo
ee992ce60d ext/dv/gstdvdec.c (gst_dvdec_decode_video): Don't clobber alloc_buffer's return value.
Original commit message from CVS:
2005-07-19  Andy Wingo  <wingo@pobox.com>

* ext/dv/gstdvdec.c (gst_dvdec_decode_video): Don't clobber
alloc_buffer's return value.
(gst_dvdec_decode_frame): Handle unlinked pads with grace and
agility.
2005-07-19 15:29:08 +00:00
Andy Wingo
c2eac81daa ext/dv/gstdvdec.h: Fix signedness error.
Original commit message from CVS:
2005-07-19  Andy Wingo  <wingo@pobox.com>

* ext/dv/gstdvdec.h: Fix signedness error.
2005-07-19 13:14:07 +00:00
Wim Taymans
f4a4942329 ext/dv/gstdvdec.*: Implemented seeking in dvdec.
Original commit message from CVS:
* ext/dv/gstdvdec.c: (gst_dvdec_init), (gst_dvdec_src_convert),
(gst_dvdec_sink_convert), (gst_dvdec_get_src_query_types),
(gst_dvdec_src_query), (gst_dvdec_get_sink_query_types),
(gst_dvdec_sink_query), (gst_dvdec_send_event),
(gst_dvdec_handle_sink_event), (gst_dvdec_handle_src_event),
(gst_dvdec_decode_audio), (gst_dvdec_decode_video),
(gst_dvdec_decode_frame), (gst_dvdec_flush), (gst_dvdec_chain):
* ext/dv/gstdvdec.h:
Implemented seeking in dvdec.
2005-07-19 11:56:11 +00:00
Andy Wingo
527a4245b0 ext/Makefile.am: Enable dvdev and raw1394src.
Original commit message from CVS:
2005-07-19  Andy Wingo  <wingo@pobox.com>

* ext/Makefile.am: Enable dvdev and raw1394src.
2005-07-19 11:14:39 +00:00
Andy Wingo
19e2556d25 configure.ac: Use AS_LIBTOOL_TAGS. Fix crap gettext commit comment.
Original commit message from CVS:
2005-07-18  Andy Wingo  <wingo@pobox.com>

* configure.ac: Use AS_LIBTOOL_TAGS. Fix crap gettext commit
comment.
2005-07-18 15:47:11 +00:00
Wim Taymans
bae4e2ad4a gst/rtsp/gstrtspsrc.c: Fix for core changes.
Original commit message from CVS:
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_add_element),
(gst_rtspsrc_play):
Fix for core changes.
2005-07-18 15:40:36 +00:00
Jan Schmidt
a88aaf5b03 Pass on the discont event when returning to NORMAL mode after reading tags.
Original commit message from CVS:
Pass on the discont event when returning to NORMAL mode after reading tags.
2005-07-18 13:58:21 +00:00
Wim Taymans
f498026827 gst/realmedia/rmdemux.c: Send discont event before pushing first buffer.
Original commit message from CVS:
* gst/realmedia/rmdemux.c: (gst_rmdemux_sink_event),
(gst_rmdemux_change_state), (gst_rmdemux_chain),
(gst_rmdemux_get_stream_by_id), (gst_rmdemux_send_event),
(gst_rmdemux_add_stream):
Send discont event before pushing first buffer.
2005-07-18 10:33:19 +00:00
Philippe Kalaf
05d5253608 gst/fdsrc/gstfdsrc.c: Removed #include <gst_private.h>
Original commit message from CVS:
2005-07-17  Philippe Khalaf <burger@speedy.org>

* gst/fdsrc/gstfdsrc.c:
Removed #include <gst_private.h>
2005-07-18 09:59:38 +00:00
Philippe Kalaf
33fe616dc1 gst/fdsrc/: Moved fdsrc 0.9 port from gstreamer/gst/elements to here.
Original commit message from CVS:
2005-07-16  Philippe Khalaf <burger@speedy.org>

* gst/fdsrc/gstfdsrc.c:
* gst/fdsrc/gstfdsrc.h:
* gst/fdsrc/Makefile.am:
Moved fdsrc 0.9 port from gstreamer/gst/elements to here.
2005-07-16 19:27:54 +00:00
Wim Taymans
f6f3418b19 ext/mad/gstmad.c: Add convert function for proper timestamp calculations.
Original commit message from CVS:
* ext/mad/gstmad.c: (gst_mad_src_query), (gst_mad_sink_event),
(gst_mad_chain):
Add convert function for proper timestamp calculations.

* gst/avi/gstavidemux.c: (gst_avi_demux_send_event),
(gst_avi_demux_stream_header), (gst_avi_demux_handle_seek),
(gst_avi_demux_process_next_entry), (gst_avi_demux_loop):
Send out initial discont.
2005-07-16 16:43:53 +00:00
Wim Taymans
192edcbeb2 gst/: Port to new base class.
Original commit message from CVS:
* gst/level/gstlevel.c: (gst_level_transform):
* gst/videobox/gstvideobox.c: (gst_video_box_class_init),
(gst_video_box_get_size), (gst_video_box_transform):
Port to new base class.
2005-07-15 10:42:30 +00:00
Wim Taymans
baf665846a ext/raw1394/gstdv1394src.c: It's PUSH_SRC now.
Original commit message from CVS:
* ext/raw1394/gstdv1394src.c: (gst_dv1394src_get_type),
(gst_dv1394src_class_init), (gst_dv1394src_init),
(gst_dv1394src_iso_receive), (gst_dv1394src_create),
(gst_dv1394src_change_state), (gst_dv1394src_query):
It's PUSH_SRC now.
2005-07-14 18:24:31 +00:00
Thomas Vander Stichele
050df450ef more autistic cleanliness in functions/names/defines
Original commit message from CVS:
more autistic cleanliness in functions/names/defines
2005-07-14 09:35:10 +00:00
Thomas Vander Stichele
da8915bfc1 more macro splitting; fix po problem
Original commit message from CVS:
more macro splitting; fix po problem
2005-07-10 12:52:20 +00:00
Andy Wingo
6fc2023e8f sys/oss/: Port from THREADED+wim's fixes.
Original commit message from CVS:
2005-07-08  Andy Wingo  <wingo@pobox.com>

* sys/oss/: Port from THREADED+wim's fixes.
2005-07-08 11:19:19 +00:00
Andy Wingo
266b874436 gst/avi/Makefile.am (libgstavi_la_CFLAGS): No gettext hacks, the defines come from config.h.
Original commit message from CVS:
2005-07-08  Andy Wingo  <wingo@pobox.com>

* gst/avi/Makefile.am (libgstavi_la_CFLAGS): No gettext hacks, the
defines come from config.h.

* autogen.sh: Run autopoint, etc.

* Makefile.am (DIST_SUBDIRS, SUBDIRS): Go into po/.

* configure.ac: Add gettext stuff.
2005-07-08 10:47:30 +00:00
Wim Taymans
48eb68a1d9 gst/videobox/gstvideobox.c: Logic was reversed. Needs some more fixes in the transform function to include AYUV output.
Original commit message from CVS:
* gst/videobox/gstvideobox.c: (gst_video_box_init),
(gst_video_box_transform_caps), (gst_video_box_set_caps):
Logic was reversed. Needs some  more fixes in the transform
function to include AYUV output.
Moved AYUV as prefered format.
2005-07-07 18:38:54 +00:00
Wim Taymans
1970ac0fc7 Ported DVdec to 0.9.
Original commit message from CVS:
* configure.ac:
* ext/dv/Makefile.am:
* ext/dv/gstdvdec.c: (gst_dvdec_class_init), (gst_dvdec_init),
(gst_dvdec_get_src_query_types), (gst_dvdec_src_query),
(gst_dvdec_handle_sink_event), (gst_dvdec_handle_src_event),
(gst_dvdec_video_getcaps), (gst_dvdec_video_setcaps),
(gst_dvdec_decode_audio), (gst_dvdec_decode_video),
(gst_dvdec_decode_frame), (gst_dvdec_chain),
(gst_dvdec_change_state), (gst_dvdec_set_property),
(gst_dvdec_get_property), (plugin_init):
* ext/dv/gstdvdec.h:
* ext/esd/esdsink.c: (gst_esdsink_class_init):
Ported DVdec to 0.9.
Parent of esdsink is GstAudioSink.
2005-07-07 17:03:47 +00:00
Wim Taymans
eede6488fb Ported the 1394 source to 0.9.
Original commit message from CVS:
* configure.ac:
* ext/raw1394/Makefile.am:
* ext/raw1394/gstdv1394src.c: (gst_dv1394src_get_type),
(gst_dv1394src_class_init), (gst_dv1394src_init),
(gst_dv1394src_iso_receive), (gst_dv1394src_create),
(gst_dv1394src_change_state), (gst_dv1394src_convert),
(gst_dv1394src_get_query_types), (gst_dv1394src_query):
* ext/raw1394/gstdv1394src.h:
Ported the 1394 source to 0.9.
2005-07-07 08:34:11 +00:00
Wim Taymans
2d3657a1ba gst/base/gstbasesrc.c: Allow subclasses to implement their own negotiation.
Original commit message from CVS:
* gst/base/gstbasesrc.c: (gst_base_src_get_range),
(gst_base_src_default_negotiate), (gst_base_src_negotiate):
Allow subclasses to implement their own negotiation.
2005-07-07 08:21:41 +00:00
Edward Hervey
48508be7ec gst/udp/gstudpsrc.c: GST_BASESRC --> GST_BASE_SRC
Original commit message from CVS:
* gst/udp/gstudpsrc.c: (gst_udpsrc_init):
GST_BASESRC --> GST_BASE_SRC
2005-07-06 09:23:15 +00:00
Andy Wingo
377f5f2f87 gst/oneton: Removed (replaced by deinterleave).
Original commit message from CVS:
2005-07-05  Andy Wingo  <wingo@pobox.com>

* gst/oneton: Removed (replaced by deinterleave).
2005-07-05 14:20:07 +00:00
Andy Wingo
0244b8b3b5 gst/: Removed dirs that are now in gst-plugins-base.
Original commit message from CVS:
2005-07-05  Andy Wingo  <wingo@pobox.com>

* gst/adder:
* gst/audioconvert:
* gst/audiorate:
* gst/audioscale:
* gst/ffmpegcolorspace:
* gst/playback:
* gst/sine:
* gst/subparse:
* gst/tags:
* gst/tcp:
* gst/videoscale:
* gst/volume: Removed dirs that are now in gst-plugins-base.
2005-07-05 14:14:30 +00:00
Edward Hervey
8e1088fabb configure.ac: videofilter must be compiled first, since other plugins depend ont it.
Original commit message from CVS:
* configure.ac: (GST_PLUGINS_ALL):
videofilter must be compiled first, since other plugins depend ont it.
2005-07-05 11:23:17 +00:00
Andy Wingo
2e7864ccc2 changelog
Original commit message from CVS:
changelog
2005-07-05 11:12:22 +00:00
Andy Wingo
4fc0d55655 gst/videobox/gstvideobox.c: Clean up, port to 0.9, use
Original commit message from CVS:
2005-07-05  Andy Wingo  <wingo@pobox.com>

* gst/videobox/gstvideobox.c: Clean up, port to 0.9, use
BaseTransform.

* gst/videobox/Makefile.am: Link to base libs, include
plugins-base cflags, dist the README.

* configure.ac (GST_PLUGIN_ALL, AC_CONFIG_FILES): Add videobox to
the build.
2005-07-05 10:11:24 +00:00
Andy Wingo
77a7c4c8fb examples/level/: Examples moved out of the source dir. Not updated tho.
Original commit message from CVS:
2005-07-04  Andy Wingo  <wingo@pobox.com>

* examples/level/:
* examples/level/Makefile.am:
* examples/level/README:
* examples/level/demo.c:
* examples/level/plot.c: Examples moved out of the source dir. Not
updated tho.

* configure.ac: Add level to the build.

* gst/level/Makefile.am:
* gst/level/gstlevel.h:
* gst/level/gstlevel.c: Cleaned up, ported to 0.9.
2005-07-04 14:02:46 +00:00
Wim Taymans
d0516df78a gst/realmedia/rmdemux.c: I don't think that piece of changelog should go there.
Original commit message from CVS:
* gst/realmedia/rmdemux.c:
I don't think that piece of changelog should go there.
2005-07-04 09:35:11 +00:00
Andy Wingo
aedfb1663d ext/aalib/gstaasink.c (gst_aasink_fixate): Update for newer fixate prototype.
Original commit message from CVS:
2005-07-04  Andy Wingo  <wingo@pobox.com>

* ext/aalib/gstaasink.c (gst_aasink_fixate): Update for newer
fixate prototype.
2005-07-04 09:29:51 +00:00
Owen Fraser-Green
dc26238905 Added call to no_more_pads
Original commit message from CVS:
Added call to no_more_pads
2005-07-03 17:40:03 +00:00
Philippe Kalaf
c88ac33128 gst/udp/: (new)
Original commit message from CVS:
* gst/udp/Makefile.am:
* gst/udp/gstudp.c:
* gst/udp/gstdynudpsink.c: (new)
* gst/udp/gstdynudpsink.h: (new)
Added new element (udpdynsink) that receives GstNetBuffers and sends the
udp packets to the source given in the buffer. It's used by rtpsession
element for now.
* gst/udp/gstudpsrc.c:
Fixed memory leak.
2005-07-01 20:56:07 +00:00
Jan Schmidt
70274d9c82 Roll gstreamer-interfaces-0.9.pc into gstreamer-plugins-base-0.9.pc
Original commit message from CVS:
2005-07-01  Jan Schmidt  <thaytan@mad.scientist.com>

* configure.ac:
* ext/mad/Makefile.am:
* sys/oss/Makefile.am:
Roll gstreamer-interfaces-0.9.pc into gstreamer-plugins-base-0.9.pc
2005-07-01 09:25:58 +00:00
Jan Schmidt
53b2e78562 Replace GST_PLUGINS_LIBS_* with GST_PLUGINS_BASE_*
Original commit message from CVS:
2005-07-01  Jan Schmidt  <thaytan@mad.scientist.com>
* ext/libcaca/Makefile.am:
* ext/mad/Makefile.am:
* gst/effectv/Makefile.am:
* gst/udp/Makefile.am:
Replace GST_PLUGINS_LIBS_* with GST_PLUGINS_BASE_*

* ext/mad/gstid3tag.c: (gst_id3_tag_src_query),
(gst_id3_tag_src_event), (gst_id3_tag_sink_event),
(gst_id3_tag_chain), (plugin_init):
* ext/mad/gstmad.c: (gst_mad_src_query), (gst_mad_chain):
Signedness warning fix, use gst_pad_get_peer instead of GST_PAD_PEER
in querying and event handling, because we're not holding the pad
lock and the peer may disappear.
* gst/avi/gstavidemux.c: (gst_avi_demux_parse_subindex),
(gst_avi_demux_parse_index), (gst_avi_demux_massage_index):
Signedness warning fixes.

* gst/videofilter/gstvideotemplate.c: (plugin_init):
Remove gst_library_load
2005-07-01 08:10:56 +00:00
Edward Hervey
dc8cfd3f48 gst/avi/Makefile.am: Added linking to libgstriff-0.9
Original commit message from CVS:
* gst/avi/Makefile.am: (libgstavi_la_LIBADD):
Added linking to libgstriff-0.9
* ext/mad/gstmad.c: (gst_mad_src_query):
check the format of the upstream query and return query if it's the
same format as the requested one.
2005-06-30 16:29:38 +00:00
Ronald S. Bultje
db20692b12 gst/avi/gstavidemux.c: Compiler pains.
Original commit message from CVS:
* gst/avi/gstavidemux.c: (gst_avi_demux_handle_src_query):
Compiler pains.
2005-06-30 14:28:14 +00:00
Ronald S. Bultje
b87df5e460 And configure.ac, too
Original commit message from CVS:
And configure.ac, too
2005-06-30 09:04:43 +00:00
Ronald S. Bultje
aa254e4374 gst/avi/: Port from -THREADED to HEAD, and fix for latest API changes of the day. Keep avimux dead for now.
Original commit message from CVS:
* gst/avi/Makefile.am:
* gst/avi/gstavi.c: (plugin_init):
* gst/avi/gstavidemux.c: (gst_avi_demux_get_type),
(gst_avi_demux_class_init), (gst_avi_demux_init),
(gst_avi_demux_reset), (gst_avi_demux_index_next),
(gst_avi_demux_index_entry_for_time),
(gst_avi_demux_index_entry_for_byte),
(gst_avi_demux_index_entry_for_frame), (gst_avi_demux_src_convert),
(gst_avi_demux_handle_src_query), (gst_avi_demux_handle_src_event),
(gst_avi_demux_parse_file_header), (gst_avi_demux_stream_init),
(gst_avi_demux_parse_avih), (gst_avi_demux_parse_superindex),
(gst_avi_demux_parse_subindex), (gst_avi_demux_read_subindexes),
(gst_avi_demux_parse_stream), (gst_avi_demux_parse_odml),
(gst_avi_demux_parse_index), (gst_avi_demux_stream_index),
(gst_avi_demux_stream_scan), (gst_avi_demux_massage_index),
(gst_avi_demux_stream_header), (gst_avi_demux_handle_seek),
(gst_avi_demux_process_next_entry), (gst_avi_demux_stream_data),
(gst_avi_demux_loop), (gst_avi_demux_sink_activate),
(gst_avi_demux_sink_activate_pull):
* gst/avi/gstavidemux.h:
Port from -THREADED to HEAD, and fix for latest API changes of
the day. Keep avimux dead for now.
2005-06-30 09:00:36 +00:00
Wim Taymans
094d0b4794 ext/shout2/gstshout2.c: Fix build.
Original commit message from CVS:
* ext/shout2/gstshout2.c: (gst_shout2send_render):
Fix build.
2005-06-29 17:57:44 +00:00
Andy Wingo
4f6abe59e9 gst/videofilter/gstvideoexample.c: Removed gst_library_load, I think. Whatever this plugin actually does, that I don'...
Original commit message from CVS:
2005-06-29  Andy Wingo  <wingo@pobox.com>

* gst/videofilter/gstvideoexample.c: Removed gst_library_load, I
think. Whatever this plugin actually does, that I don't know.
2005-06-29 17:14:04 +00:00
Andy Wingo
90b8ff3487 changelog
Original commit message from CVS:
changelog
2005-06-29 16:39:28 +00:00
Andy Wingo
d9b7ddd426 gst/udp/gstudpsink.c (gst_udpsink_get_type): Actually add the
Original commit message from CVS:
2005-06-29  Andy Wingo  <wingo@pobox.com>

* gst/udp/gstudpsink.c (gst_udpsink_get_type): Actually add the
URI handler.

* gst/udp/gstudpsrc.c (gst_udpsrc_start):
(gst_udpsrc_create): Signedness.

* gst/rtsp/sdpmessage.c (sdp_message_parse_buffer): Thanks
compiler!
(sdp_parse_line): Signedness fix.
2005-06-29 16:27:27 +00:00
Andy Wingo
2d109a18fb configure.ac (GST_CFLAGS): GCC strikes back!!! Let the build breakage ensue!!!
Original commit message from CVS:
2005-06-29  Andy Wingo  <wingo@pobox.com>

* configure.ac (GST_CFLAGS): GCC strikes back!!! Let the build
breakage ensue!!!

* gst/rtsp/gstrtspsrc.c (gst_rtspsrc_loop, gst_rtspsrc_open):
Signedness, unused var fixes.
(gst_rtspsrc_close): Unused?

* gst/realmedia/rmdemux.c (re_hexdump_bytes): Unused.

* gst/law/mulaw-encode.c (gst_mulawenc_chain): Signeness fix.

* gst/law/alaw-encode.c (alawenc_getcaps): Remove unneeded
declarations. Typo (probably crasher) fix.

* gst/law/mulaw-encode.c (mulawdec_getcaps):
* gst/law/mulaw-encode.c (mulawenc_getcaps):
* gst/law/alaw-decode.c (alawdec_getcaps): Same crasher fix.

* gst/goom/gstgoom.c (gst_goom_init): Hook up the event function.

* gst/effectv/gstwarp.c (gst_warptv_setup): Signedness fix.

* gst/effectv/gstdice.c (gst_dicetv_draw): Um, deferencing
uninitialized pointer not good.

* gst/videofilter/gstvideoexample.c (plugin_init):
* gst/videofilter/Makefile.am (libgstvideoexample_la_LIBADD): Link
to libgstvideofilter instead of gst_library_load.

* gst/alpha/gstalpha.c (gst_alpha_chroma_key_i420)
(gst_alpha_chroma_key_ayuv): Signedness fixen.
2005-06-29 16:14:30 +00:00
Wim Taymans
8f2272a99d gst/rtsp/gstrtspsrc.c: Fix case where outpad could not be decided.
Original commit message from CVS:
* gst/rtsp/gstrtspsrc.c: (gst_rtsp_proto_get_type),
(gst_rtspsrc_class_init), (gst_rtspsrc_create_stream),
(gst_rtspsrc_add_element), (gst_rtspsrc_set_state),
(gst_rtspsrc_stream_setup_rtp),
(gst_rtspsrc_stream_configure_transport), (find_stream),
(gst_rtspsrc_loop), (gst_rtspsrc_open), (gst_rtspsrc_play),
(gst_rtspsrc_change_state):
Fix case where outpad could not be decided.
2005-06-29 16:09:55 +00:00
Andy Wingo
8a3ed1125f ext/Makefile.am (MAD_DIR): Add mad to the build.
Original commit message from CVS:
2005-06-29  Andy Wingo  <wingo@pobox.com>

* ext/Makefile.am (MAD_DIR): Add mad to the build.
2005-06-29 15:36:27 +00:00
Wim Taymans
59a7c5eeee Fix old RPAD macro. basesrc -> base_src
Original commit message from CVS:
* ext/mad/gstid3tag.c: (gst_id3_tag_src_link):
* gst/udp/gstudpsrc.c: (gst_udpsrc_init):
Fix old RPAD macro.
basesrc -> base_src
2005-06-28 15:45:41 +00:00
Wim Taymans
ca359a3c2e ext/mad/: RPAD_ -> PAD
Original commit message from CVS:
* ext/mad/gstid3tag.c: (gst_id3_tag_src_link):
* ext/mad/gstmad.c: (gst_mad_chain):
RPAD_ -> PAD
Fix args in bufferalloc function call.
Makes the mad plugin compile again
2005-06-27 09:25:19 +00:00
Owen Fraser-Green
d02513c4db Rewrote to use gstadapter and extract properties from header packets to pass downstream to decoders.
Original commit message from CVS:
Rewrote to use gstadapter and extract properties from header packets to pass downstream to decoders.
2005-06-27 09:16:09 +00:00
Wim Taymans
c51c1a4c38 gst/rtsp/: Make rtspsrc a live source.
Original commit message from CVS:
* gst/rtsp/gstrtspsrc.c: (gst_rtsp_proto_get_type),
(gst_rtspsrc_class_init), (gst_rtspsrc_create_stream),
(gst_rtspsrc_add_element), (gst_rtspsrc_set_state),
(gst_rtspsrc_stream_setup_rtp),
(gst_rtspsrc_stream_configure_transport), (find_stream),
(gst_rtspsrc_loop), (gst_rtspsrc_open), (gst_rtspsrc_play),
(gst_rtspsrc_change_state):
* gst/rtsp/rtspurl.c: (rtsp_url_parse):
Make rtspsrc a live source.
Don't try to parse NULL urls.
2005-06-23 14:30:13 +00:00
Wim Taymans
5f70cb8298 gst/udp/gstudpsrc.c: Make udpsrc a live source.
Original commit message from CVS:
* gst/udp/gstudpsrc.c: (gst_udpsrc_init):
Make udpsrc a live source.
2005-06-23 10:55:56 +00:00
Wim Taymans
9c4e915b9e gst/udp/Makefile.am: Use versioned net lib.
Original commit message from CVS:
* gst/udp/Makefile.am:
Use versioned net lib.
2005-06-02 14:02:29 +00:00
Wim Taymans
17748c3db1 gst/udp/Makefile.am: Fix hack in makefile.
Original commit message from CVS:
* gst/udp/Makefile.am:
Fix hack in makefile.
2005-06-02 13:49:08 +00:00
Andy Wingo
92bcdc6489 ext/mad/gstid3tag.c: Finish porting to 0.9: no more gstdata, check for link functions before calling them, give gst_m...
Original commit message from CVS:
2005-06-02  Andy Wingo  <wingo@pobox.com>

* ext/mad/gstid3tag.c: Finish porting to 0.9: no more gstdata,
check for link functions before calling them, give
gst_message_new_tag its own copy of the tag list, set the parser
state before sending the event (because in 0.9 events are
processed immediately), casting fixes.

* ext/mad/Makefile.am (libgstmad_la_LDFLAGS): Link with
gsttagedit.
2005-06-02 13:32:32 +00:00
Wim Taymans
8e61fd9230 gst/udp/: Use NetBuffer and small cleanups.
Original commit message from CVS:
* gst/udp/Makefile.am:
* gst/udp/gstmultiudpsink.c: (gst_multiudpsink_get_type),
(gst_multiudpsink_base_init), (gst_multiudpsink_class_init),
(gst_multiudpsink_init), (gst_multiudpsink_finalize),
(gst_multiudpsink_get_times), (gst_multiudpsink_render),
(gst_multiudpsink_set_property), (gst_multiudpsink_init_send),
(gst_multiudpsink_add), (client_compare), (free_client),
(gst_multiudpsink_remove), (gst_multiudpsink_clear),
(gst_multiudpsink_get_stats):
* gst/udp/gstudpsrc.c: (gst_udpsrc_get_type),
(gst_udpsrc_base_init), (gst_udpsrc_class_init),
(gst_udpsrc_create), (gst_udpsrc_set_uri), (gst_udpsrc_start),
(gst_udpsrc_unlock), (gst_udpsrc_stop):
Use NetBuffer and small cleanups.
Implement client removal in multiudpsink.
2005-06-02 13:28:46 +00:00
Wim Taymans
ca1f865eaa gst/rtsp/: RTSP cleanups.
Original commit message from CVS:
* gst/rtsp/README:
* gst/rtsp/gstrtspsrc.c: (gst_rtsp_proto_get_type),
(gst_rtspsrc_class_init), (gst_rtspsrc_create_stream),
(gst_rtspsrc_add_element), (gst_rtspsrc_set_state),
(gst_rtspsrc_stream_setup_rtp),
(gst_rtspsrc_stream_configure_transport), (find_stream),
(gst_rtspsrc_loop), (gst_rtspsrc_open), (gst_rtspsrc_play),
(gst_rtspsrc_change_state):
* gst/rtsp/rtsptransport.c: (rtsp_transport_new),
(rtsp_transport_init), (parse_mode), (parse_range),
(rtsp_transport_parse), (rtsp_transport_free):
RTSP cleanups.
2005-06-02 13:26:36 +00:00
Wim Taymans
9cc3258280 gst/: Bufferalloc changes.
Original commit message from CVS:
* gst/effectv/gstquark.c: (gst_quarktv_chain):
* gst/goom/gstgoom.c: (gst_goom_chain):
* gst/videobox/Makefile.am:
* gst/videobox/gstvideobox.c: (gst_video_box_class_init),
(gst_video_box_init), (gst_video_box_sink_setcaps),
(gst_video_box_chain):
* gst/videofilter/gstvideofilter.c: (gst_videofilter_chain):
* gst/videorate/gstvideorate.c: (gst_videorate_class_init),
(gst_videorate_getcaps), (gst_videorate_setcaps),
(gst_videorate_init), (gst_videorate_event), (gst_videorate_chain),
(gst_videorate_change_state):
Bufferalloc changes.
2005-06-02 10:03:23 +00:00
Wim Taymans
a5d8b514c5 No need to take the lock anymore, core already did that before calling us.
Original commit message from CVS:
* ext/mad/gstmad.c: (gst_mad_chain), (gst_mad_change_state):
* ext/sidplay/gstsiddec.cc:
* gst/alpha/gstalpha.c: (gst_alpha_chain):
* gst/goom/gstgoom.c: (gst_goom_chain):
No need to take the lock anymore,  core already did
that before calling us.
2005-05-25 12:58:23 +00:00
Wim Taymans
d9568ba355 ext/amrnb/: Core already took the lock.
Original commit message from CVS:
* ext/amrnb/amrnbdec.c: (gst_amrnbdec_init), (gst_amrnbdec_chain),
(gst_amrnbdec_state_change):
* ext/amrnb/amrnbenc.c: (gst_amrnbenc_base_init),
(gst_amrnbenc_finalize), (gst_amrnbenc_chain),
(gst_amrnbenc_state_change):
* ext/amrnb/amrnbparse.c: (gst_amrnbparse_init),
(gst_amrnbparse_query), (gst_amrnbparse_chain),
(gst_amrnbparse_read_header), (gst_amrnbparse_loop),
(gst_amrnbparse_sink_activate), (gst_amrnbparse_state_change):
Core already took the lock.
2005-05-25 12:55:50 +00:00
Ronald S. Bultje
75a6ddbf92 Disable tcp elements and esdmon (they don't compile).
Original commit message from CVS:
* configure.ac:
* ext/esd/Makefile.am:
Disable tcp elements and esdmon (they don't compile).
2005-05-19 13:42:12 +00:00
Jan Schmidt
b20d68a660 Make my automake version shut up about undefined variables
Original commit message from CVS:
* Makefile.am:
* ext/Makefile.am:
* sys/Makefile.am:
Make my automake version shut up about undefined variables
* gst/goom/gstgoom.c:
GstAdapter moved to base objects.
2005-05-19 09:51:03 +00:00
Wim Taymans
458fa02a5d ext/amrnb/: Ported AMR decoder/parse.
Original commit message from CVS:
* ext/amrnb/Makefile.am:
* ext/amrnb/amrnb.c: (plugin_init):
* ext/amrnb/amrnbdec.c: (gst_amrnbdec_init),
(gst_amrnbdec_setcaps), (gst_amrnbdec_chain),
(gst_amrnbdec_state_change):
* ext/amrnb/amrnbdec.h:
* ext/amrnb/amrnbenc.c: (gst_amrnbenc_get_type),
(gst_amrnbenc_base_init), (gst_amrnbenc_class_init),
(gst_amrnbenc_init), (gst_amrnbenc_finalize),
(gst_amrnbenc_setcaps), (gst_amrnbenc_chain),
(gst_amrnbenc_state_change):
* ext/amrnb/amrnbenc.h:
* ext/amrnb/amrnbparse.c: (gst_amrnbparse_init),
(gst_amrnbparse_query), (gst_amrnbparse_event),
(gst_amrnbparse_chain), (gst_amrnbparse_read_header),
(gst_amrnbparse_loop), (gst_amrnbparse_sink_activate),
(gst_amrnbparse_state_change):
* ext/amrnb/amrnbparse.h:
Ported AMR decoder/parse.
Added AMR encoder.
2005-05-18 16:51:45 +00:00
Wim Taymans
9a43a5236c Ported goom.
Original commit message from CVS:
* configure.ac:
* gst/goom/Makefile.am:
* gst/goom/gstgoom.c: (gst_goom_init), (gst_goom_sink_setcaps),
(gst_goom_src_setcaps), (gst_goom_src_negotiate), (gst_goom_event),
(gst_goom_chain), (gst_goom_change_state), (plugin_init):
Ported goom.
Added goom and alpha to build.
2005-05-18 09:58:13 +00:00
Wim Taymans
97f9bab6e8 Ported alpha, remove alphacolor as functionality is in ffmpegcolorspace.
Original commit message from CVS:
* configure.ac:
* gst/alpha/Makefile.am:
* gst/alpha/gstalpha.c: (gst_alpha_class_init), (gst_alpha_init),
(gst_alpha_sink_setcaps), (gst_alpha_chain):
Ported alpha,  remove alphacolor as functionality is in
ffmpegcolorspace.
2005-05-17 18:13:19 +00:00
Wim Taymans
d564e75b34 ext/libcaca/gstcacasink.*: Cleanups.
Original commit message from CVS:
* ext/libcaca/gstcacasink.c: (gst_cacasink_setcaps),
(gst_cacasink_render), (gst_cacasink_open), (gst_cacasink_close),
(gst_cacasink_change_state):
* ext/libcaca/gstcacasink.h:
Cleanups.
2005-05-17 17:44:58 +00:00
David Schleef
924a50450f Move core plugins out of core. I don't mind fdsrc/fdsink going back into the core; they were just disabled there, so
Original commit message from CVS:
Move core plugins out of core.  I don't mind fdsrc/fdsink
going back into the core; they were just disabled there, so
I moved them.  Some of this stuff could (should) be deleted.
* gst/oldcore/Makefile.am:
* gst/oldcore/gstaggregator.c:
* gst/oldcore/gstaggregator.h:
* gst/oldcore/gstelements.c:
* gst/oldcore/gstfdsink.c:
* gst/oldcore/gstfdsink.h:
* gst/oldcore/gstfdsrc.c:
* gst/oldcore/gstfdsrc.h:
* gst/oldcore/gstmd5sink.c:
* gst/oldcore/gstmd5sink.h:
* gst/oldcore/gstmultifilesrc.c:
* gst/oldcore/gstmultifilesrc.h:
* gst/oldcore/gstpipefilter.c:
* gst/oldcore/gstpipefilter.h:
* gst/oldcore/gstshaper.c:
* gst/oldcore/gstshaper.h:
* gst/oldcore/gststatistics.c:
* gst/oldcore/gststatistics.h:
2005-05-15 23:06:37 +00:00
Christian Schaller
3ad1774754 add rtsp and esd files to spec and fix some disting issues
Original commit message from CVS:
add rtsp and esd files to spec and fix some disting issues
2005-05-13 13:52:04 +00:00
Wim Taymans
45671a20ea Add working plugins to build.
Original commit message from CVS:
* configure.ac:
* ext/sidplay/gstsiddec.cc:
Add working plugins to build.
Make sidplay compile again.
2005-05-12 20:05:18 +00:00
Wim Taymans
c5239a6840 ext/mad/: Fix mad and id3tag compilation again.
Original commit message from CVS:
* ext/mad/gstid3tag.c: (gst_id3_tag_src_query):
* ext/mad/gstmad.c: (gst_mad_chain):
Fix mad and id3tag compilation again.
2005-05-12 19:48:44 +00:00
Wim Taymans
726c253c14 gst/udp/: Added multifdsink to send UDP to multiple addresses.
Original commit message from CVS:
* gst/udp/.cvsignore:
* gst/udp/Makefile.am:
* gst/udp/gstmultiudpsink.c: (gst_multiudpsink_get_type),
(gst_multiudpsink_base_init), (gst_multiudpsink_class_init),
(gst_multiudpsink_init), (gst_multiudpsink_finalize),
(gst_multiudpsink_get_times), (gst_multiudpsink_render),
(gst_multiudpsink_set_property), (gst_multiudpsink_get_property),
(gst_multiudpsink_init_send), (gst_multiudpsink_close),
(gst_multiudpsink_add), (gst_multiudpsink_remove),
(gst_multiudpsink_clear), (gst_multiudpsink_get_stats),
(gst_multiudpsink_change_state):
* gst/udp/gstmultiudpsink.h:
* gst/udp/gstudp-marshal.list:
* gst/udp/gstudp.c: (plugin_init):
* gst/udp/gstudp.h:
* gst/udp/gstudpsink.c: (gst_udpsink_get_type),
(gst_udpsink_base_init), (gst_udpsink_class_init),
(gst_udpsink_init), (gst_udpsink_set_uri),
(gst_udpsink_set_property), (gst_udpsink_get_property),
(gst_udpsink_uri_get_type), (gst_udpsink_uri_get_protocols),
(gst_udpsink_uri_get_uri), (gst_udpsink_uri_set_uri),
(gst_udpsink_uri_handler_init):
* gst/udp/gstudpsink.h:
* gst/udp/gstudpsrc.c: (gst_udpsrc_get_type),
(gst_udpsrc_base_init), (gst_udpsrc_class_init),
(gst_udpsrc_create), (gst_udpsrc_set_uri), (gst_udpsrc_start),
(gst_udpsrc_unlock), (gst_udpsrc_stop):
* gst/udp/gstudpsrc.h:
Added multifdsink to send UDP to multiple addresses.
Cleaned up UDP source/sink elements some more.
Make UDP sink extends from multiudpsink.
2005-05-12 15:32:51 +00:00
Tim-Philipp Müller
2d1475d582 ext/mad/gstmad.c: Make queries actually work (update core first).
Original commit message from CVS:
* ext/mad/gstmad.c: (gst_mad_src_query), (gst_mad_sink_event):
Make queries actually work (update core first).
2005-05-12 14:15:37 +00:00
Wim Taymans
943f0445a9 gst/: Make UDP and TCP elements use PushSrc.
Original commit message from CVS:
* gst/rtsp/README:
* gst/tcp/gsttcpclientsrc.c: (gst_tcpclientsrc_get_type),
(gst_tcpclientsrc_base_init), (gst_tcpclientsrc_class_init),
(gst_tcpclientsrc_init), (gst_tcpclientsrc_getcaps),
(gst_tcpclientsrc_stop), (gst_tcpclientsrc_eos),
(gst_tcpclientsrc_create), (gst_tcpclientsrc_start):
* gst/tcp/gsttcpclientsrc.h:
* gst/tcp/gsttcpserversrc.c: (gst_tcpserversrc_get_type),
(gst_tcpserversrc_base_init), (gst_tcpserversrc_class_init),
(gst_tcpserversrc_init), (gst_tcpserversrc_create),
(gst_tcpserversrc_start), (gst_tcpserversrc_stop):
* gst/tcp/gsttcpserversrc.h:
* gst/tcp/gsttcpsrc.c: (gst_tcpsrc_get_type),
(gst_tcpsrc_base_init), (gst_tcpsrc_class_init), (gst_tcpsrc_init),
(gst_tcpsrc_create), (gst_tcpsrc_start), (gst_tcpsrc_stop):
* gst/tcp/gsttcpsrc.h:
* gst/udp/gstudpsink.c: (gst_udpsink_base_init),
(gst_udpsink_init), (gst_udpsink_get_times), (gst_udpsink_render),
(gst_udpsink_set_property), (gst_udpsink_get_property),
(gst_udpsink_change_state):
* gst/udp/gstudpsink.h:
* gst/udp/gstudpsrc.c: (gst_udpsrc_get_type),
(gst_udpsrc_base_init), (gst_udpsrc_class_init), (gst_udpsrc_init),
(gst_udpsrc_create), (gst_udpsrc_set_uri), (gst_udpsrc_start),
(gst_udpsrc_stop):
* gst/udp/gstudpsrc.h:
Make UDP and TCP elements use PushSrc.
2005-05-12 10:45:25 +00:00
Tim-Philipp Müller
99283f6e38 ext/mad/gstmad.c: Port to new query API and replace gst_pad_convert() and gst_pad_get_formats() usage. gstid3tag look...
Original commit message from CVS:
* ext/mad/gstmad.c: (gst_mad_init), (gst_mad_src_query),
(index_seek), (normal_seek), (gst_mad_sink_event):
Port to new query API and replace gst_pad_convert()
and gst_pad_get_formats() usage. gstid3tag looks like
it needs some more love before it will work again, if
not a rewrite.
2005-05-11 22:42:46 +00:00
Zeeshan Ali
391baa2704 Fixed the effectv build again.
Original commit message from CVS:
Fixed the effectv build again.
2005-05-11 20:45:17 +00:00
Wim Taymans
c91b026ff3 gst/tcp/: Ported over some sink elements.
Original commit message from CVS:
* gst/tcp/Makefile.am:
* gst/tcp/gstmultifdsink.c: (gst_multifdsink_get_type),
(gst_multifdsink_base_init), (gst_multifdsink_class_init),
(gst_multifdsink_init), (gst_multifdsink_handle_client_write),
(gst_multifdsink_queue_buffer), (gst_multifdsink_render),
(gst_multifdsink_change_state):
* gst/tcp/gstmultifdsink.h:
* gst/tcp/gsttcp.c:
* gst/tcp/gsttcpclientsink.c: (gst_tcpclientsink_get_type),
(gst_tcpclientsink_base_init), (gst_tcpclientsink_class_init),
(gst_tcpclientsink_init), (gst_tcpclientsink_render),
(gst_tcpclientsink_set_property), (gst_tcpclientsink_get_property),
(gst_tcpclientsink_change_state):
* gst/tcp/gsttcpclientsink.h:
* gst/tcp/gsttcpclientsrc.c: (gst_tcpclientsrc_class_init),
(gst_tcpclientsrc_init_receive):
* gst/tcp/gsttcpplugin.c: (plugin_init):
* gst/tcp/gsttcpserversink.c: (gst_tcpserversink_class_init):
* gst/tcp/gsttcpserversink.h:
* gst/tcp/gsttcpserversrc.c: (gst_tcpserversrc_class_init):
* gst/tcp/gsttcpsink.c: (gst_tcpsink_get_type),
(gst_tcpsink_base_init), (gst_tcpsink_class_init),
(gst_tcpsink_setcaps), (gst_tcpsink_init), (gst_tcpsink_get_times),
(gst_tcpsink_render), (gst_tcpsink_set_property),
(gst_tcpsink_get_property):
* gst/tcp/gsttcpsink.h:
* gst/tcp/gsttcpsrc.c: (gst_tcpsrc_class_init), (gst_tcpsrc_get):
Ported over some sink elements.
Sources not ported yet as they require a PushSource base class.
2005-05-11 18:21:55 +00:00
Tim-Philipp Müller
4ca8c41b44 gst/: Turn videofilter into a library (private for now)
Original commit message from CVS:
* gst/effectv/Makefile.am:
* gst/videofilter/Makefile.am:
Turn videofilter into a library (private for now)
2005-05-11 16:38:30 +00:00
Wim Taymans
63177e0731 gst/rtsp/: Added README
Original commit message from CVS:
* gst/rtsp/README:
* gst/rtsp/gstrtspsrc.c: (gst_rtsp_proto_get_type),
(gst_rtspsrc_class_init), (gst_rtspsrc_create_stream),
(gst_rtspsrc_add_element), (gst_rtspsrc_set_state),
(gst_rtspsrc_stream_setup_rtp),
(gst_rtspsrc_stream_configure_transport), (find_stream),
(gst_rtspsrc_loop), (gst_rtspsrc_open), (gst_rtspsrc_play):
* gst/rtsp/rtsp.h:
* gst/rtsp/rtspconnection.c: (rtsp_connection_create),
(rtsp_connection_send), (read_line), (parse_request_line),
(parse_line), (read_body), (rtsp_connection_receive),
(rtsp_connection_free):
* gst/rtsp/rtspconnection.h:
* gst/rtsp/rtspdefs.c: (rtsp_find_method):
* gst/rtsp/rtspdefs.h:
* gst/rtsp/rtspmessage.c: (rtsp_message_set_body),
(rtsp_message_take_body):
* gst/rtsp/rtspmessage.h:
* gst/rtsp/rtspstream.h:
* gst/rtsp/sdpmessage.c: (sdp_parse_line):
Added README
Some cleanups.
2005-05-11 12:01:10 +00:00
Wim Taymans
91ce2b294e gst/rtsp/gstrtspsrc.*: Setup UDP sources correctly, receives raw data from RTSP compliant servers now.
Original commit message from CVS:
* gst/rtsp/gstrtspsrc.c: (gst_rtsp_proto_get_type),
(gst_rtspsrc_class_init), (gst_rtspsrc_init),
(gst_rtspsrc_create_stream), (gst_rtspsrc_add_element),
(gst_rtspsrc_set_state), (gst_rtspsrc_stream_setup_rtp),
(gst_rtspsrc_stream_configure_transport), (find_stream),
(gst_rtspsrc_loop), (gst_rtspsrc_open), (gst_rtspsrc_close),
(gst_rtspsrc_play), (gst_rtspsrc_change_state):
* gst/rtsp/gstrtspsrc.h:
Setup UDP sources correctly, receives raw data from RTSP
compliant servers now.
2005-05-11 09:18:25 +00:00
Wim Taymans
6f0ea35883 Ported to 0.9.
Original commit message from CVS:
Ported to 0.9.
Set up transports, init UDP ports, init RTP session managers.
2005-05-11 07:44:44 +00:00
Wim Taymans
6cacd6f649 gst/: UDP fixes, added uri handler.
Original commit message from CVS:
* gst/rtp/Makefile.am:
* gst/rtp/gstrtp.c: (plugin_init):
* gst/rtp/gstrtpdec.c: (gst_rtpdec_get_type),
(gst_rtpdec_class_init), (gst_rtpdec_init), (gst_rtpdec_chain_rtp),
(gst_rtpdec_chain_rtcp), (gst_rtpdec_set_property),
(gst_rtpdec_get_property), (gst_rtpdec_change_state),
(gst_rtpdec_plugin_init):
* gst/rtp/gstrtpdec.h:
* gst/udp/gstudpsink.c: (gst_udpsink_base_init),
(gst_udpsink_get_times), (gst_udpsink_render),
(gst_udpsink_change_state):
* gst/udp/gstudpsrc.c: (gst_udpsrc_get_type),
(gst_udpsrc_base_init), (gst_udpsrc_class_init), (gst_udpsrc_init),
(gst_udpsrc_loop), (gst_udpsrc_set_uri), (gst_udpsrc_set_property),
(gst_udpsrc_get_property), (gst_udpsrc_init_receive),
(gst_udpsrc_activate), (gst_udpsrc_change_state),
(gst_udpsrc_uri_get_type), (gst_udpsrc_uri_get_protocols),
(gst_udpsrc_uri_get_uri), (gst_udpsrc_uri_set_uri),
(gst_udpsrc_uri_handler_init):
* gst/udp/gstudpsrc.h:
UDP fixes, added uri handler.
Added rtpdec that will manage the RTP session in the future.
2005-05-11 07:31:22 +00:00
Arwed v. Merkatz
e4978ff8dc Ported esdsink plugin.
Original commit message from CVS:
Ported esdsink plugin.
2005-05-10 20:16:14 +00:00
Wim Taymans
4eb7e48ab1 gst/udp/: Ported udp src/sink.
Original commit message from CVS:
* gst/udp/Makefile.am:
* gst/udp/gstudpsink.c: (gst_udpsink_get_type),
(gst_udpsink_base_init), (gst_udpsink_class_init),
(gst_udpsink_init), (gst_udpsink_get_times), (gst_udpsink_render),
(gst_udpsink_set_property), (gst_udpsink_get_property),
(gst_udpsink_init_send), (gst_udpsink_close),
(gst_udpsink_change_state):
* gst/udp/gstudpsink.h:
* gst/udp/gstudpsrc.c: (gst_udpsrc_base_init),
(gst_udpsrc_class_init), (gst_udpsrc_init), (gst_udpsrc_loop),
(gst_udpsrc_set_property), (gst_udpsrc_get_property),
(gst_udpsrc_init_receive), (gst_udpsrc_close),
(gst_udpsrc_activate), (gst_udpsrc_change_state):
* gst/udp/gstudpsrc.h:
Ported udp src/sink.
2005-05-10 11:15:13 +00:00
Zaheer Abbas Merali
1987170ab6 Port shout2 plugin
Original commit message from CVS:
2005-05-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

* PORTED_09:
* configure.ac:
* ext/Makefile.am:
* ext/shout2/Makefile.am:
* ext/shout2/gstshout2.c: (gst_shout2send_get_type),
(gst_shout2send_base_init), (gst_shout2send_class_init),
(gst_shout2send_init), (gst_shout2send_event),
(gst_shout2send_render), (gst_shout2send_set_property),
(gst_shout2send_get_property), (gst_shout2send_setcaps),
(gst_shout2send_change_state):
* ext/shout2/gstshout2.h:

Port shout2 plugin
2005-05-09 20:09:44 +00:00
Zeeshan Ali
5db0509196 Ported the libcaca plugin.
Original commit message from CVS:
Ported the libcaca plugin.
2005-05-08 12:22:04 +00:00
Zeeshan Ali
48134a2370 Fixed a few things to enable the mad and effectv to be able to find the headers in the gst-plugins-base/gst-libs and ...
Original commit message from CVS:
Fixed a few things to enable the mad and effectv to be able to find the headers in the gst-plugins-base/gst-libs and to link against the libs in there.
2005-05-07 20:27:10 +00:00
Zeeshan Ali
98ebed4750 Fixed the build by fixing a small mistake of Wim.
Original commit message from CVS:
Fixed the build by fixing a small mistake of Wim.
2005-05-07 18:50:39 +00:00
Wim Taymans
556e8a6239 Ported 2 more plugins. usgly hack in the Makefile.am though, I'm sure someone will fix it.
Original commit message from CVS:
* configure.ac:
* ext/aalib/Makefile.am:
* ext/aalib/gstaasink.c: (gst_aasink_get_type),
(gst_aasink_class_init), (gst_aasink_fixate), (gst_aasink_setcaps),
(gst_aasink_init), (gst_aasink_get_times), (gst_aasink_render),
(gst_aasink_set_property), (gst_aasink_get_property),
(gst_aasink_open), (gst_aasink_close), (gst_aasink_change_state):
* ext/aalib/gstaasink.h:
* gst/smpte/Makefile.am:
* gst/smpte/gstsmpte.c: (gst_smpte_setcaps), (gst_smpte_init),
(gst_smpte_collected):
* gst/smpte/gstsmpte.h:
Ported 2 more plugins. usgly hack in the Makefile.am though, I'm
sure someone will fix it.
2005-05-06 19:55:22 +00:00
Christian Schaller
bc885a1aea some sidplay fixoring
Original commit message from CVS:
some sidplay fixoring
2005-05-06 19:11:14 +00:00
Christian Schaller
04b2afd5a3 add gst-plugins-libs
Original commit message from CVS:
add gst-plugins-libs
2005-05-06 18:00:56 +00:00
Wim Taymans
477088372f Ported sidplay.
Original commit message from CVS:
* configure.ac:
* ext/sidplay/gstsiddec.cc:
* ext/sidplay/gstsiddec.h:
Ported sidplay.
2005-05-06 17:24:44 +00:00
Christian Schaller
67802e8048 make mad and effectv work with gst-register
Original commit message from CVS:
make mad and effectv work with gst-register
2005-05-06 14:54:23 +00:00
Wim Taymans
781bc3309b gst/law/: Ported alaw and mulaw plugins to 0.9, fixed the negotiation as well.
Original commit message from CVS:
* gst/law/alaw-decode.c: (alawdec_getcaps), (alawdec_setcaps),
(gst_alawdec_init), (gst_alawdec_chain):
* gst/law/alaw-encode.c: (alawenc_getcaps), (alawenc_setcaps),
(gst_alawenc_init), (gst_alawenc_chain):
* gst/law/mulaw-decode.c: (mulawdec_getcaps), (mulawdec_setcaps),
(gst_mulawdec_init), (gst_mulawdec_chain):
* gst/law/mulaw-encode.c: (mulawenc_getcaps), (mulawenc_setcaps),
(gst_mulawenc_init), (gst_mulawenc_chain):
Ported alaw and mulaw plugins to 0.9, fixed the negotiation as
well.
2005-05-06 14:08:56 +00:00
Christian Schaller
731b91bbad remove plugins now in gst-plugins-base
Original commit message from CVS:
remove plugins now in gst-plugins-base
2005-05-06 11:52:04 +00:00
Christian Schaller
85d2a49a41 remove gst-libs from gst-plugins module as it is in gst-plugins-base now
Original commit message from CVS:
remove gst-libs from gst-plugins module as it is in gst-plugins-base now
2005-05-06 11:41:20 +00:00
Christian Schaller
012d4c6577 add ported videofilter to cvs head
Original commit message from CVS:
add ported videofilter to cvs head
2005-05-06 11:25:56 +00:00
Christian Schaller
08b451f17f add law plugin to build
Original commit message from CVS:
add law plugin to build
2005-05-06 11:12:18 +00:00
Christian Schaller
0751f73733 ported mad and effectv plugins
Original commit message from CVS:
ported mad and effectv plugins
2005-05-06 11:04:30 +00:00
Zaheer Abbas Merali
08616b7531 configure.ac: fix typo
Original commit message from CVS:
2005-05-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

* configure.ac:
fix typo
2005-05-06 10:28:49 +00:00
Christian Schaller
be52c709a4 make this module a bit more 0.9 friendly
Original commit message from CVS:
make this module a bit more 0.9 friendly
2005-05-05 09:10:38 +00:00
Thomas Vander Stichele
98d6f5e7af hunting season on 0.9 is now OPEN
Original commit message from CVS:
hunting season on 0.9 is now OPEN
2005-02-22 16:48:58 +00:00
Ronald S. Bultje
294f780cff sys/oss/gstosselement.c: Kick the hell out of gcc for not warning me about a symbol conflict.
Original commit message from CVS:
* sys/oss/gstosselement.c: (gst_osselement_class_probe_devices):
Kick the hell out of gcc for not warning me about a symbol conflict.
2005-02-22 15:23:05 +00:00
Tim-Philipp Müller
0c606747f1 ext/gdk_pixbuf/pixbufscale.c: Don't leak caps string (fixes #168134)
Original commit message from CVS:
* ext/gdk_pixbuf/pixbufscale.c: (gst_pixbufscale_link):
Don't leak caps string (fixes #168134)

* ext/jpeg/gstjpegenc.c: (gst_jpegenc_class_init),
(gst_jpegenc_init), (gst_jpegenc_finalize),
(gst_jpegenc_change_state):
Don't leak line buffers and context struct (fixes #168133).
2005-02-22 12:04:16 +00:00
Tim-Philipp Müller
c76c257f4a Since dirac 0.5.0 the framerate in dirac is expressed as a rational number. Fix build and up requirement to 0.5.0, an...
Original commit message from CVS:
Since dirac 0.5.0 the framerate in dirac is expressed as a rational number. Fix build and up requirement to 0.5.0, and also pass parameters to gst_diracdec_link in the right order. (fixes #167959)
2005-02-21 23:41:23 +00:00
Maciej Katafiasz
fab20b9337 Whoops.
Original commit message from CVS:
Whoops.
2005-02-21 19:01:58 +00:00
Maciej Katafiasz
f8eaf56320 Fix playback of certain invalid muxed streams. Partial fix for #149158
Original commit message from CVS:
Fix playback of certain invalid muxed streams. Partial fix for #149158
2005-02-21 18:58:46 +00:00
Jan Schmidt
66bd030823 gst/dvdlpcmdec/gstdvdlpcmdec.c: Make sure we only write to writable buffers
Original commit message from CVS:
* gst/dvdlpcmdec/gstdvdlpcmdec.c: (gst_dvdlpcmdec_chain):
Make sure we only write to writable buffers
2005-02-20 15:26:04 +00:00
Tim-Philipp Müller
7448ede81d gst-libs/gst/riff/riff-media.c: Do actually fix invalid RIFF fmt header values for alaw and mulaw audio instead of ju...
Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c:
(gst_riff_create_audio_caps_with_data):
Do actually fix invalid RIFF fmt header values for alaw
and mulaw audio instead of just saying so.

* gst/wavparse/gstwavparse.c: (gst_wavparse_fmt):
Give gst_riff_create_audio_caps_with_data() a chance to
fix up broken format header fields before extracting any
parameters from the header. (fixes #167633)
2005-02-20 12:49:19 +00:00
Tim-Philipp Müller
60dd9fbc4d Don't leak othercaps in link function (fixes #167878)
Original commit message from CVS:
Don't leak othercaps in link function (fixes #167878)
2005-02-19 20:01:36 +00:00
Arwed v. Merkatz
e3d01e9d19 support libvisual 0.2.0
Original commit message from CVS:
support libvisual 0.2.0
2005-02-19 17:08:27 +00:00
Tim-Philipp Müller
db93fd53ad Fix rowstrides
Original commit message from CVS:
Fix rowstrides
2005-02-18 10:38:34 +00:00
Gergely Nagy
ae541a6e16 gst/avi/gstavidemux.c: Declare variables at beginning of block and make gcc-2.95 happy
Original commit message from CVS:

* gst/avi/gstavidemux.c: (gst_avi_demux_invert):
Declare variables at beginning of block and make gcc-2.95 happy
(fixes # 167482, patch by Gergely Nagy).

* gst/tcp/gsttcpclientsrc.c:
* gst/tcp/gsttcpclientsrc.h:
Move some includes into the header, so that struct sockaddr_in is
defined when it should be defined on FreeBSD as well (fixes
#167483).

* gst/tcp/gsttcpserversrc.c: (gst_tcpserversrc_init_receive):
Don't pass uninitialised values to setsockopt() here either.
2005-02-17 19:21:42 +00:00
Tim-Philipp Müller
2ec02a4399 Do not pass uninitialised values to setsockopt(). (fixes #167704)
Original commit message from CVS:
Do not pass uninitialised values to setsockopt(). (fixes #167704)
2005-02-17 17:56:38 +00:00
Ronald S. Bultje
5ee26e2b8b gst/playback/gstplaybin.c: Invert bin_add/link order to workaround deadlock in opt.
Original commit message from CVS:
* gst/playback/gstplaybin.c: (add_sink):
Invert bin_add/link order to workaround deadlock in opt.
2005-02-16 13:33:12 +00:00
Ronald S. Bultje
f5827f801d gst/modplug/gstmodplug.cc: Add missing break causing position queries to fail.
Original commit message from CVS:
* gst/modplug/gstmodplug.cc:
Add missing break causing position queries to fail.
2005-02-15 16:25:48 +00:00
Ronald S. Bultje
12d09ef327 ext/ogg/gstoggdemux.c: Granpos can apparently be -1, which screws up calculations...
Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_populate):
Granpos can apparently be -1, which screws up calculations...
2005-02-15 15:58:14 +00:00
Jan Schmidt
eac54687f5 sys/: Use a mutex protected list to marshal navigation events into the stream thread from whichever thread sends them.
Original commit message from CVS:
* sys/ximage/ximagesink.c: (gst_ximagesink_chain),
(gst_ximagesink_send_pending_navigation),
(gst_ximagesink_navigation_send_event), (gst_ximagesink_finalize),
(gst_ximagesink_init):
* sys/ximage/ximagesink.h:
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_chain),
(gst_xvimagesink_send_pending_navigation),
(gst_xvimagesink_navigation_send_event),
(gst_xvimagesink_finalize), (gst_xvimagesink_init):
* sys/xvimage/xvimagesink.h:
Use a mutex protected list to marshal navigation
events into the stream thread from whichever thread
sends them.
2005-02-15 14:12:11 +00:00
Tim-Philipp Müller
e4c561d9ce Add query function to GstSpeed, so that the stream length and current position get adjusted when queried (note that c...
Original commit message from CVS:
Add query function to GstSpeed, so that the stream length and current position get adjusted when queried (note that current position queries may still be wrong if the audio sink returns values based on buffer timestamps instead of passing on the query
2005-02-15 11:05:34 +00:00
Benjamin Otte
27520b1e53 gst/audioconvert/gstaudioconvert.c: create channel conversion matrix when linking
Original commit message from CVS:
* gst/audioconvert/gstaudioconvert.c: (gst_audio_convert_link),
(gst_audio_convert_channels):
create channel conversion matrix when linking
* gst/audioconvert/.cvsignore:
* gst/audioconvert/Makefile.am:
* gst/audioconvert/channelmixtest.c: (main):
add (ugly) test that ensures stereo <=> mono conversion works
correctly
2005-02-13 17:39:22 +00:00
Benjamin Otte
2c2205e518 gst/audioconvert/gstchannelmix.h: include missing header file
Original commit message from CVS:
* gst/audioconvert/gstchannelmix.h:
include missing header file
* gst/audioconvert/gstchannelmix.c:
(gst_audio_convert_fill_compatible):
use same sign for both channels when converting to/from compatible
channel. Previously used different signs made the signals cancel
each other out and appear like silence. (fixes #167269)
2005-02-13 16:10:15 +00:00
Tim-Philipp Müller
1035891ecd Convert to and from YV12 (fixes #156379)
Original commit message from CVS:
Convert to and from YV12 (fixes #156379)
2005-02-12 22:28:58 +00:00
Julien Moutte
3d4ffeb6a2 sys/ximage/ximagesink.c: Protect interface methods from chain and negotiation and vice versa (Fixes #166142).
Original commit message from CVS:
2005-02-12  Julien MOUTTE  <julien@moutte.net>

* sys/ximage/ximagesink.c: (gst_ximagesink_xwindow_new),
(gst_ximagesink_sink_link), (gst_ximagesink_change_state),
(gst_ximagesink_chain), (gst_ximagesink_set_xwindow_id),
(gst_ximagesink_expose), (gst_ximagesink_set_property),
(gst_ximagesink_finalize), (gst_ximagesink_init): Protect interface
methods from chain and negotiation and vice versa (Fixes #166142).
* sys/ximage/ximagesink.h: Add stream_lock.
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_sink_link),
(gst_xvimagesink_chain), (gst_xvimagesink_buffer_free),
(gst_xvimagesink_buffer_alloc), (gst_xvimagesink_set_xwindow_id),
(gst_xvimagesink_expose): Check for xcontext before trying to link.
2005-02-12 18:41:48 +00:00
Tim-Philipp Müller
593c2a8f2d Don't send 'Hey! You gave me a NULL pointer yo naughty person' as error message when we can't open the DVD device; se...
Original commit message from CVS:
Don't send 'Hey! You gave me a NULL pointer yo naughty person' as error message when we can't open the DVD device; send something more useful instead (fixes #167117)
2005-02-12 17:37:37 +00:00
Julien Moutte
d9d764c0f3 sys/xvimage/xvimagesink.c: Protect interface methods from chain and negotiation and vice versa (Fixes #166142).
Original commit message from CVS:
2005-02-11  Julien MOUTTE  <julien@moutte.net>

* sys/xvimage/xvimagesink.c: (gst_xvimagesink_xvimage_put),
(gst_xvimagesink_sink_link), (gst_xvimagesink_change_state),
(gst_xvimagesink_chain), (gst_xvimagesink_buffer_free),
(gst_xvimagesink_buffer_alloc), (gst_xvimagesink_set_xwindow_id),
(gst_xvimagesink_expose), (gst_xvimagesink_set_property),
(gst_xvimagesink_finalize), (gst_xvimagesink_init): Protect interface
methods from chain and negotiation and vice versa (Fixes #166142).
Fix a possible bug of images in the buffer pool being discarded because
we are looking at the wrong geometry.
* sys/xvimage/xvimagesink.h: Add stream_lock.
2005-02-11 22:49:23 +00:00
David Schleef
b2717905eb ext/mpeg2dec/gstmpeg2dec.c: Change uint to unsigned int. (fixes #167128)
Original commit message from CVS:
* ext/mpeg2dec/gstmpeg2dec.c: (crop_buffer): Change uint to
unsigned int. (fixes #167128)
2005-02-11 22:25:33 +00:00
David Schleef
d40b9d8409 gst/librfb/Makefile.am: Testing stuff before committing is for wimps... and people with fast machines. Fix stupid mi...
Original commit message from CVS:
* gst/librfb/Makefile.am: Testing stuff before committing is
for wimps... and people with fast machines.  Fix stupid
mistake.
2005-02-11 22:16:02 +00:00
David Schleef
01c2c8923f configure.ac: Pull in librfb from my CVS tree, because it is too small and annoying to be separate. Move rfbsrc plug...
Original commit message from CVS:
* configure.ac: Pull in librfb from my CVS tree, because it is
too small and annoying to be separate.  Move rfbsrc plugin
to gst/.
* ext/Makefile.am:
* ext/librfb/Makefile.am:
* ext/librfb/gstrfbsrc.c:
* gst/librfb/Makefile.am:
* gst/librfb/gstrfbsrc.c:
* gst/librfb/rfb.c:
* gst/librfb/rfb.h:
* gst/librfb/rfbbuffer.c:
* gst/librfb/rfbbuffer.h:
* gst/librfb/rfbbytestream.c:
* gst/librfb/rfbbytestream.h:
* gst/librfb/rfbcontext.h:
* gst/librfb/rfbdecoder.c:
* gst/librfb/rfbdecoder.h:
* gst/librfb/rfbutil.h:
2005-02-11 22:01:19 +00:00
Tim-Philipp Müller
6acf284310 and make it handle more than one channel.
Original commit message from CVS:
Fix speed element and make it chain-based (fixes #156467), and make it handle more than one channel.
2005-02-10 15:06:12 +00:00
Jan Schmidt
074f554cd3 ext/dts/gstdtsdec.*: Don't clobber the stack constructing the channels array.
Original commit message from CVS:
* ext/dts/gstdtsdec.c: (gst_dtsdec_init), (gst_dtsdec_channels),
(gst_dtsdec_handle_event), (gst_dtsdec_handle_frame),
(gst_dtsdec_chain), (gst_dtsdec_change_state):
* ext/dts/gstdtsdec.h:
Don't clobber the stack constructing the channels array.
Make the element chain-based. DTS tracks can now be played.
2005-02-10 06:46:14 +00:00
Tim-Philipp Müller
81e9c23358 Add G_BEGIN_DECLS and G_END_DECLS around headers where missing, so that they work when included from C++ code
Original commit message from CVS:
Add G_BEGIN_DECLS and G_END_DECLS around headers where missing, so that they work when included from C++ code
2005-02-09 22:31:04 +00:00
David Schleef
9e291801e4 testsuite/gst-lint: Check for non-statically scoped parent_class variables. This won't be a problem once plugins are...
Original commit message from CVS:
* testsuite/gst-lint: Check for non-statically scoped
parent_class variables.  This won't be a problem once
plugins are loaded with RTLD_LOCAL.
2005-02-09 20:50:35 +00:00
Ronald S. Bultje
09d71ea0e5 ext/mplex/gstmplexibitstream.cc: gcc madness.
Original commit message from CVS:
* ext/mplex/gstmplexibitstream.cc:
gcc madness.
2005-02-09 14:27:08 +00:00
Ronald S. Bultje
2d3bd9471a Die, thou faulty symbol pollutors (non-static parent_class).
Original commit message from CVS:
* ext/ogg/gstogmparse.c:
* gst/debug/gstnavigationtest.c:
Die, thou faulty symbol pollutors (non-static parent_class).
2005-02-09 14:19:33 +00:00
Ronald S. Bultje
499a645766 ext/mplex/gstmplexibitstream.cc: Fix event handling (#165525).
Original commit message from CVS:
* ext/mplex/gstmplexibitstream.cc:
Fix event handling (#165525).
2005-02-08 18:51:24 +00:00
Ronald S. Bultje
8e9fce6095 Add missing endianness to template (fixes #165509).
Original commit message from CVS:
* ext/mikmod/gstmikmod.c:
* gst/modplug/gstmodplug.cc:
Add missing endianness to template (fixes #165509).
2005-02-08 15:03:41 +00:00
Ronald S. Bultje
b3f1498579 gst/asfdemux/gstasfdemux.c: Fix wrong order of reading of optional bytes (#165290).
Original commit message from CVS:
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_handle_data):
Fix wrong order of reading of optional bytes (#165290).
2005-02-08 13:38:11 +00:00
Ronald S. Bultje
b1699021f2 ext/alsa/gstalsasink.c: Implement FILLER event awareness.
Original commit message from CVS:
* ext/alsa/gstalsasink.c: (gst_alsa_sink_check_event):
Implement FILLER event awareness.
2005-02-08 13:06:40 +00:00
Ronald S. Bultje
d8c9dbb869 ext/cdparanoia/gstcdparanoia.c: Fix track calculations (#166208).
Original commit message from CVS:
* ext/cdparanoia/gstcdparanoia.c: (cdparanoia_convert):
Fix track calculations (#166208).
2005-02-08 11:28:53 +00:00
Ronald S. Bultje
840c55ebd1 ext/libpng/: Fix byte-order, use proper fixed caps. Fixes #164197.
Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* ext/libpng/gstpngdec.c: (gst_pngdec_init), (gst_pngdec_chain):
* ext/libpng/gstpngenc.c:
Fix byte-order, use proper fixed caps. Fixes #164197.
2005-02-08 11:11:21 +00:00
Jan Schmidt
5ab3df2846 configure.ac: Add dvdlpcmdec
Original commit message from CVS:

* configure.ac:
Add dvdlpcmdec

* ext/mpeg2dec/gstmpeg2dec.c: (gst_mpeg2dec_reset),
(free_all_buffers), (gst_mpeg2dec_alloc_buffer):
Don't push buffers if the src pad isn't negotiated yet.

* gst/audioconvert/gstaudioconvert.c:
(gst_audio_convert_buffer_to_default_format),
(gst_audio_convert_buffer_from_default_format):
Add support for 24-bit width.

* gst/dvdlpcmdec/.cvsignore:
* gst/dvdlpcmdec/Makefile.am:
* gst/dvdlpcmdec/gstdvdlpcmdec.c: (gst_dvdlpcmdec_get_type),
(gst_dvdlpcmdec_base_init), (gst_dvdlpcmdec_class_init),
(gst_dvdlpcm_reset), (gst_dvdlpcmdec_init), (gst_dvdlpcmdec_link),
(gst_dvdlpcmdec_chain), (gst_dvdlpcmdec_change_state),
(plugin_init):
* gst/dvdlpcmdec/gstdvdlpcmdec.h:
New decoder for rearranging DVD LPCM into our audio/x-raw-int
format. Needs support for the channels maps if someone can find
a DVD LPCM track with > 2 channels.

* gst/mpegstream/gstdvddemux.c: (gst_dvd_demux_handle_dvd_event),
(gst_dvd_demux_send_discont), (gst_dvd_demux_handle_discont),
(gst_dvd_demux_get_audio_stream), (gst_dvd_demux_process_private):
* gst/mpegstream/gstdvddemux.h:
* gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_send_discont),
(gst_mpeg_demux_new_output_pad), (gst_mpeg_demux_init_stream),
(gst_mpeg_demux_send_subbuffer), (gst_mpeg_demux_handle_src_query):
* gst/mpegstream/gstmpegdemux.h:
* gst/mpegstream/gstmpegparse.c: (gst_mpeg_parse_reset),
(gst_mpeg_parse_parse_packhead), (gst_mpeg_parse_loop),
(gst_mpeg_parse_get_rate), (gst_mpeg_parse_convert_src),
(gst_mpeg_parse_handle_src_query),
(gst_mpeg_parse_handle_src_event):
Use audio/x-dvd-lpcm for LPCM output.
Add DTS output.
2005-02-08 11:08:15 +00:00
Ronald S. Bultje
883da03b7c gst/alpha/gstalphacolor.c: Add BGRA handling (#165736).
Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* gst/alpha/gstalphacolor.c: (gst_alpha_color_sink_link),
(transform_rgb), (transform_bgr), (gst_alpha_color_chain):
Add BGRA handling (#165736).
2005-02-08 11:02:58 +00:00
Ronald S. Bultje
e23f9bb4e9 gst/law/: Fix caps memleaks (#166600).
Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* gst/law/alaw-decode.c: (alawdec_link):
* gst/law/alaw-encode.c: (alawenc_link):
* gst/law/mulaw-decode.c: (mulawdec_link):
* gst/law/mulaw-encode.c: (mulawenc_link):
Fix caps memleaks (#166600).
2005-02-08 10:58:13 +00:00
Tim-Philipp Müller
b2a741ec31 Include "_stdint.h" instead of <stdint.h>. Fixes build on systems that do not have stdint.h, like Solaris 9 (fixes #1...
Original commit message from CVS:
Include "_stdint.h" instead of <stdint.h>. Fixes build on systems that do not have stdint.h, like Solaris 9 (fixes #166631).
2005-02-08 10:37:43 +00:00
Ronald S. Bultje
3cd3a4269c sys/: Clear window on PAUSED->READY instead of READY->PAUSED. Stop
Original commit message from CVS:
* sys/ximage/ximagesink.c: (gst_ximagesink_change_state):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_xwindow_clear),
(gst_xvimagesink_change_state):
Clear window on PAUSED->READY instead of READY->PAUSED. Stop
Xv video (and thereby regenerate Xv colourkey) in clear() so
that PLAY -> READY -> PLAY works (fixes #162504).
2005-02-05 23:01:59 +00:00
Ronald S. Bultje
37541541d2 sys/v4l/gstv4lmjpegsrc.c: Switch to list instead of range, since MJPEG-devices really just support decimations, not a...
Original commit message from CVS:
* sys/v4l/gstv4lmjpegsrc.c: (gst_v4lmjpegsrc_getcaps):
Switch to list instead of range, since MJPEG-devices really just
support decimations, not any size.
2005-02-05 16:18:15 +00:00
Jan Schmidt
d255c23470 ext/mpeg2dec/gstmpeg2dec.*: The libmpeg2 user-allocated buffer management is awkward, to say the least. Hopefully thi...
Original commit message from CVS:
* ext/mpeg2dec/gstmpeg2dec.c: (gst_mpeg2dec_open_decoder),
(gst_mpeg2dec_reset), (free_all_buffers),
(gst_mpeg2dec_alloc_buffer), (handle_sequence):
* ext/mpeg2dec/gstmpeg2dec.h:
The libmpeg2 user-allocated buffer management is awkward,
to say the least. Hopefully this fixes things.
2005-02-05 07:36:01 +00:00
Andy Wingo
00e24dc560 gst/audioconvert/bufferframesconvert.c
Original commit message from CVS:
2005-02-04  Andy Wingo  <wingo@pobox.com>

* gst/audioconvert/bufferframesconvert.c
(buffer_frames_convert_fixate): New function, fixates to 256
frames per buffer by default. (Much better than 1.)
(buffer_frames_convert_init): Set the fixate function for both src
and sink pad.
(buffer_frames_convert_link): After success setting nonfixed caps,
get the negotiated caps so we can know how many buffer-frames it
will be. No idea how this worked at all before.
2005-02-04 15:40:37 +00:00
Jan Schmidt
7f2e88753b ext/mpeg2dec/gstmpeg2dec.*: Rearrange buffer tracking and refcounting and refactor a little for readability.
Original commit message from CVS:
* ext/mpeg2dec/gstmpeg2dec.c: (gst_mpeg2dec_init),
(gst_mpeg2dec_close_decoder), (put_buffer), (check_buffer),
(free_buffer), (free_all_buffers), (gst_mpeg2dec_alloc_buffer),
(handle_sequence), (handle_picture):
* ext/mpeg2dec/gstmpeg2dec.h:
Rearrange buffer tracking and refcounting and refactor
a little for readability.
2005-02-04 13:43:27 +00:00
Jan Schmidt
4a7ba44698 sys/v4l/: Add new v4ljpegsrc for handling the ov51x hacky "I'll give you jpeg inside rgb frames" driver.
Original commit message from CVS:
* sys/v4l/gstv4l.c: (plugin_init):
* sys/v4l/gstv4ljpegsrc.c: (gst_v4ljpegsrc_get_type),
(gst_v4ljpegsrc_base_init), (gst_v4ljpegsrc_class_init),
(gst_v4ljpegsrc_init), (gst_v4ljpegsrc_src_link),
(gst_v4ljpegsrc_getcaps), (gst_v4ljpegsrc_get):
* sys/v4l/gstv4ljpegsrc.h:
* sys/v4l/gstv4lsrc.c: (gst_v4lsrc_open), (gst_v4lsrc_src_link):
* sys/v4l/v4l_calls.h:
* sys/v4l/v4lsrc_calls.c: (gst_v4lsrc_palette_name),
(gst_v4lsrc_get_fps):
* sys/v4l/v4lsrc_calls.h:
Add new v4ljpegsrc for handling the ov51x hacky "I'll give
you jpeg inside rgb frames" driver.
Don't error in the v4lsrc link function, just return
REFUSED.
2005-02-03 18:23:17 +00:00
Ronald S. Bultje
8d98df04c3 sys/qcam/gstqcamsrc.c: Use GST_ELEMENT_ERROR, not g_warning, if open failed.
Original commit message from CVS:
* sys/qcam/gstqcamsrc.c: (gst_qcamsrc_change_state),
(gst_qcamsrc_open):
Use GST_ELEMENT_ERROR, not g_warning, if open failed.
2005-02-03 12:15:59 +00:00
Ronald S. Bultje
d99719d80a gst/qtdemux/qtdemux.c: Change caps on MJPEG-B so it doesn't interfere with MJPEG/JPEG.
Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (qtdemux_video_caps):
Change caps on MJPEG-B so it doesn't interfere with MJPEG/JPEG.
2005-02-02 17:22:59 +00:00
Ronald S. Bultje
4bcb2bcb29 ext/raw1394/gstdv1394src.c: Reset negotiated state on PAUSED->READY.
Original commit message from CVS:
* ext/raw1394/gstdv1394src.c: (gst_dv1394src_change_state):
Reset negotiated state on PAUSED->READY.
2005-02-02 16:59:24 +00:00
David Schleef
38253a1bc8 configure.ac: Put DEFAULT_AUDIOSINK in config.h and use whereever possible. (Fixes #165997)
Original commit message from CVS:
* configure.ac: Put DEFAULT_AUDIOSINK in config.h and use
whereever possible.  (Fixes #165997)
* examples/capsfilter/capsfilter1.c: (main):
* examples/dynparams/filter.c: (create_ui):
* examples/seeking/cdparanoia.c: (get_track_info), (main):
* examples/seeking/chained.c: (main):
* examples/seeking/seek.c: (make_mod_pipeline), (make_dv_pipeline),
(make_wav_pipeline), (make_flac_pipeline), (make_sid_pipeline),
(make_vorbis_pipeline), (make_mp3_pipeline), (make_avi_pipeline),
(make_mpeg_pipeline), (make_mpegnt_pipeline):
* examples/seeking/spider_seek.c: (make_spider_pipeline):
* examples/switch/switcher.c: (main):
* ext/dv/demo-play.c: (main):
* ext/faad/gstfaad.c: (gst_faad_change_state):
* ext/mad/gstmad.c: (gst_mad_chain):
* ext/smoothwave/demo-osssrc.c: (main):
* gst-libs/gst/gconf/gconf.c: (gst_gconf_set_string),
(gst_gconf_render_bin_from_description),
(gst_gconf_get_default_audio_sink),
(gst_gconf_get_default_video_sink),
(gst_gconf_get_default_audio_src),
(gst_gconf_get_default_video_src),
(gst_gconf_get_default_visualization_element):
* gst/level/demo.c: (main):
* gst/level/plot.c: (main):
* gst/playback/gstplaybin.c: (gen_video_element),
(gen_audio_element):
* gst/playback/test.c: (gen_video_element), (gen_audio_element):
* gst/playondemand/demo-mp3.c: (setup_pipeline):
* gst/sine/demo-dparams.c: (main):
* gst/spectrum/demo-osssrc.c: (main):
* gst/speed/demo-mp3.c: (main):
* gst/volume/demo.c: (main):
* testsuite/embed/embed.c: (main):
2005-02-02 08:14:01 +00:00
Jan Schmidt
a3f3f4d918 gst/tcp/: Don't leak the hostname when shutting down.
Original commit message from CVS:
* gst/tcp/gsttcpclientsink.c: (gst_tcpclientsink_class_init),
(gst_tcpclientsink_finalize):
* gst/tcp/gsttcpclientsrc.c: (gst_tcpclientsrc_class_init),
(gst_tcpclientsrc_finalize):
* gst/tcp/gsttcpserversink.c: (gst_tcpserversink_class_init),
(gst_tcpserversink_init), (gst_tcpserversink_finalize):
* gst/tcp/gsttcpserversrc.c: (gst_tcpserversrc_class_init),
(gst_tcpserversrc_init), (gst_tcpserversrc_finalize):
Don't leak the hostname when shutting down.
In tcpserversrc, take a copy of the default hostname.
2005-02-02 06:26:13 +00:00
Ronald S. Bultje
3e60f58e6e ext/raw1394/gstdv1394src.c: Set caps to systemstream=TRUE.
Original commit message from CVS:
* ext/raw1394/gstdv1394src.c: (gst_dv1394src_iso_receive):
Set caps to systemstream=TRUE.
2005-02-01 22:06:17 +00:00
Ronald S. Bultje
519dea0028 testsuite/Makefile.am: Fix more OSX buildbots.
Original commit message from CVS:
* testsuite/Makefile.am:
Fix more OSX buildbots.
2005-02-01 18:13:20 +00:00
Jan Schmidt
832c7d31f0 ext/mpeg2dec/gstmpeg2dec.c: Don't send things to NULL PAD_PEERs
Original commit message from CVS:
* ext/mpeg2dec/gstmpeg2dec.c:
Don't send things to NULL PAD_PEERs

* gst/deinterlace/gstdeinterlace.c: (gst_deinterlace_chain):
Copy-on-write the incoming buffer.

* gst/mpegstream/gstdvddemux.h:
* gst/mpegstream/gstmpegclock.h:
* gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_parse_syshead),
(normal_seek), (gst_mpeg_demux_handle_src_event):
* gst/mpegstream/gstmpegdemux.h:
* gst/mpegstream/gstmpegpacketize.h:
* gst/mpegstream/gstmpegparse.c:
(gst_mpeg_parse_update_streaminfo), (gst_mpeg_parse_reset),
(gst_mpeg_parse_handle_discont), (gst_mpeg_parse_parse_packhead),
(gst_mpeg_parse_loop), (gst_mpeg_parse_get_rate),
(gst_mpeg_parse_convert_src), (gst_mpeg_parse_handle_src_query),
(gst_mpeg_parse_handle_src_event), (gst_mpeg_parse_change_state):
* gst/mpegstream/gstmpegparse.h:
* gst/mpegstream/gstrfc2250enc.h:
Various changes to the way time is computed that make seeking and
total time estimation much better here.
Use G_BEGIN/END_DECLS instead of __cplusplus

* gst/videocrop/gstvideocrop.c: (gst_video_crop_chain):
Use gst_buffer_stamp instead of only copying the TIMESTAMP
2005-02-01 16:40:10 +00:00
Ronald S. Bultje
fec5b44956 gst/subparse/gstsubparse.c: Fix OSX buildbot.
Original commit message from CVS:
* gst/subparse/gstsubparse.c:
Fix OSX buildbot.
2005-02-01 15:04:07 +00:00
Tim-Philipp Müller
13871abd33 Set granulepos and timestamp correctly for streams not starting at 0, taking into account the initial delay
Original commit message from CVS:
Set granulepos and timestamp correctly for streams not starting at 0, taking into account the initial delay
2005-01-31 19:23:08 +00:00
Tim-Philipp Müller
897455ceff Add audio/x-dts to audio pad template caps
Original commit message from CVS:
Add audio/x-dts to audio pad template caps
2005-01-31 18:39:32 +00:00
David Schleef
7c47d12e0c ext/polyp/polypsink.c: Fix silly endianness bug. Add some debugging. Remove float from caps; it doesn't work. Atte...
Original commit message from CVS:
* ext/polyp/polypsink.c: (gst_polypsink_base_init),
(create_context), (gst_polypsink_link): Fix silly endianness
bug.  Add some debugging.  Remove float from caps; it doesn't
work.  Attempt to get remote audio working.
2005-01-31 01:55:03 +00:00
Ronald S. Bultje
a344cdce4d gst/qtdemux/qtdemux.c: Add 3IV2 fourcc.
Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (qtdemux_video_caps):
Add 3IV2 fourcc.
2005-01-29 20:31:47 +00:00
Ronald S. Bultje
aa4bcc482b gst/avi/gstavidemux.*: Invert DIB images. Fixes #132341.
Original commit message from CVS:
* gst/avi/gstavidemux.c: (gst_avi_demux_add_stream), (swap_line),
(gst_avi_demux_invert), (gst_avi_demux_process_next_entry),
(gst_avi_demux_stream_data):
* gst/avi/gstavidemux.h:
Invert DIB images. Fixes #132341.
2005-01-29 15:47:18 +00:00
Ronald S. Bultje
ad740f4293 gst/ffmpegcolorspace/gstffmpegcolorspace.c: D'oh, reference the palette data, not the palette structure.
Original commit message from CVS:
* gst/ffmpegcolorspace/gstffmpegcolorspace.c:
(gst_ffmpegcsp_chain):
D'oh, reference the palette data, not the palette structure.
Fixes color distortion in #132341.
2005-01-29 15:24:38 +00:00
Ronald S. Bultje
df667f284d gst/videoscale/gstvideoscale.c: PAR can be non-fixed when not provided as argument (#162626).
Original commit message from CVS:
* gst/videoscale/gstvideoscale.c: (gst_videoscale_link):
PAR can be non-fixed when not provided as argument (#162626).
2005-01-29 13:24:33 +00:00
Ronald S. Bultje
0e5276ed14 gst/qtdemux/qtdemux.c: Re-apply patch from #142272 that allows non-seekable sources,
Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* gst/qtdemux/qtdemux.c: (gst_qtdemux_change_state),
(gst_qtdemux_loop_header):
Re-apply patch from #142272 that allows non-seekable sources,
re-proposed by Daniel Drake <dsd@gentoo.org>.
2005-01-29 12:55:18 +00:00
Ronald S. Bultje
698037c1f6 gst/rtp/gstrtpgsmenc.c: Use the src template for creating the src pad (#162330).
Original commit message from CVS:
* gst/rtp/gstrtpgsmenc.c: (gst_rtpgsmenc_init):
Use the src template for creating the src pad (#162330).
2005-01-29 12:43:55 +00:00
Ronald S. Bultje
62f918a93b Update to 1.1 API (#165446).
Original commit message from CVS:
* configure.ac:
* ext/musepack/Makefile.am:
* ext/musepack/gstmusepackdec.c: (gst_musepackdec_class_init),
(gst_musepackdec_init), (gst_musepackdec_dispose),
(gst_musepackdec_src_query), (gst_musepackdec_src_convert),
(gst_musepack_stream_init), (gst_musepackdec_loop),
(gst_musepackdec_change_state):
* ext/musepack/gstmusepackdec.cpp:
* ext/musepack/gstmusepackdec.h:
* ext/musepack/gstmusepackreader.c: (gst_musepack_reader_peek),
(gst_musepack_reader_read), (gst_musepack_reader_seek),
(gst_musepack_reader_tell), (gst_musepack_reader_get_size),
(gst_musepack_reader_canseek), (gst_musepack_init_reader):
* ext/musepack/gstmusepackreader.cpp:
* ext/musepack/gstmusepackreader.h:
Update to 1.1 API (#165446).
2005-01-29 01:28:34 +00:00
Ronald S. Bultje
e7f71e5021 ext/Makefile.am: Unbreak buildbot.
Original commit message from CVS:
* ext/Makefile.am:
Unbreak buildbot.
2005-01-28 19:59:40 +00:00
Andy Wingo
7fb19363a6 ext/dv/gstdvdec.c: Change the pixel aspect ratio of dvdec output to reflect a different dubious internet source. Add ...
Original commit message from CVS:
2005-01-28  Andy Wingo  <wingo@pobox.com>

* ext/dv/gstdvdec.c: Change the pixel aspect ratio of dvdec output
to reflect a different dubious internet source. Add a reference
and some commentary.
2005-01-28 17:35:13 +00:00
Ronald S. Bultje
057004e7e3 gst/playback/gststreamselector.*: Be more selective when we're redoing caps negotiation from within the chain functio...
Original commit message from CVS:
* gst/playback/gststreamselector.c: (gst_stream_selector_init),
(gst_stream_selector_get_caps), (gst_stream_selector_chain):
* gst/playback/gststreamselector.h:
Be more selective when we're redoing caps negotiation from
within the chain function on a stream change.
2005-01-28 13:44:04 +00:00
Ronald S. Bultje
d1fc8e9747 Add support for AMR-NB (mobile phone audio format; #155163, #163286).
Original commit message from CVS:
* configure.ac:
* ext/Makefile.am:
* ext/amrnb/Makefile.am:
* ext/amrnb/amrnb.c: (plugin_init):
* ext/amrnb/amrnbdec.c: (gst_amrnbdec_get_type),
(gst_amrnbdec_base_init), (gst_amrnbdec_class_init),
(gst_amrnbdec_init), (gst_amrnbdec_link), (gst_amrnbdec_chain),
(gst_amrnbdec_state_change):
* ext/amrnb/amrnbdec.h:
* ext/amrnb/amrnbparse.c: (gst_amrnbparse_get_type),
(gst_amrnbparse_base_init), (gst_amrnbparse_class_init),
(gst_amrnbparse_init), (gst_amrnbparse_formats),
(gst_amrnbparse_querytypes), (gst_amrnbparse_query),
(gst_amrnbparse_handle_event), (gst_amrnbparse_reserve),
(gst_amrnbparse_loop), (gst_amrnbparse_state_change):
* ext/amrnb/amrnbparse.h:
Add support for AMR-NB (mobile phone audio format; #155163, #163286).
* gst/typefind/gsttypefindfunctions.c: (plugin_init):
Add AMR-NB/-WB raw formats.
* ext/alsa/gstalsa.c: (gst_alsa_link):
Keep valid time when changing format.
* gst/qtdemux/qtdemux.c: (gst_qtdemux_loop_header),
(qtdemux_parse_trak):
Add some more format-specific options (#140141, #143555, #155163).
2005-01-28 10:36:12 +00:00
Ronald S. Bultje
6532344da9 gst/matroska/matroska-demux.c: Fix logic error in timing of subtitle stream synchronization.
Original commit message from CVS:
* gst/matroska/matroska-demux.c:
(gst_matroska_demux_parse_blockgroup):
Fix logic error in timing of subtitle stream synchronization.
* gst/typefind/gsttypefindfunctions.c: (qt_type_find):
Add skip-chunk, which is found in kodak-camera streams.
2005-01-27 23:30:17 +00:00
Thomas Vander Stichele
4a7e49c78a adding vietnamese translation
Original commit message from CVS:
adding vietnamese translation
2005-01-27 16:44:02 +00:00
Ronald S. Bultje
0429bf337b gst/playback/gstdecodebin.c: Use realpad for signal.
Original commit message from CVS:
* gst/playback/gstdecodebin.c: (try_to_link_1):
Use realpad for signal.
2005-01-27 14:32:33 +00:00
Ronald S. Bultje
112dc666fd ext/mad/gstid3demuxbin.c: Fix category so decodebin picks it up.
Original commit message from CVS:
* ext/mad/gstid3demuxbin.c: (gst_id3demux_bin_base_init):
Fix category so decodebin picks it up.
2005-01-27 13:37:38 +00:00
Ronald S. Bultje
369821f539 ext/mad/: Add id3demuxbin (which is a simple bin consisting of id3demux and typefind), take over rank from id3demux, ...
Original commit message from CVS:
* ext/mad/Makefile.am:
* ext/mad/gstid3demuxbin.c: (gst_id3demux_bin_get_type),
(gst_id3demux_bin_base_init), (gst_id3demux_bin_class_init),
(gst_id3demux_bin_init), (gst_id3demux_bin_remove_pad),
(found_type), (gst_id3demux_bin_change_state):
* ext/mad/gstid3tag.c: (gst_id3_tag_add_src_pad),
(gst_id3_tag_init), (gst_id3_tag_handle_event),
(gst_id3_tag_src_link), (gst_id3_tag_chain),
(gst_id3_tag_change_state), (plugin_init):
* ext/mad/gstmad.h:
Add id3demuxbin (which is a simple bin consisting of id3demux
and typefind), take over rank from id3demux, remove typefind
code from id3demux. Makes all broken mp3s that I know of work,
and thereby fixes #152688.
2005-01-27 10:29:19 +00:00
Ronald S. Bultje
413da5f277 Allow seeks on audio pad, make mad forward those (#164826).
Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* ext/mad/gstmad.c: (gst_mad_src_event):
* gst/avi/gstavidemux.c: (gst_avi_demux_handle_src_event):
Allow seeks on audio pad, make mad forward those (#164826).
* gst/audioscale/gstaudioscale.c: (gst_audioscale_chain):
Set duration (#165335).
2005-01-27 10:14:22 +00:00
Ronald S. Bultje
701d980f2a gst/asfdemux/gstasfdemux.*: Improve metadata display, e.g. if the metadata comes before the streams are loaded (which...
Original commit message from CVS:
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_init),
(gst_asf_demux_commit_taglist), (gst_asf_demux_process_comment),
(gst_asf_demux_process_ext_content_desc),
(gst_asf_demux_change_state), (gst_asf_demux_add_audio_stream),
(gst_asf_demux_add_video_stream), (gst_asf_demux_setup_pad):
* gst/asfdemux/gstasfdemux.h:
Improve metadata display, e.g. if the metadata comes before the
streams are loaded (which is perfectly valid).
2005-01-27 00:56:10 +00:00
Ronald S. Bultje
808d824104 tools/gst-launch-ext-m.m: Fix AVI/ASF pipelines (#165340).
Original commit message from CVS:
* tools/gst-launch-ext-m.m:
Fix AVI/ASF pipelines (#165340).
2005-01-26 23:08:23 +00:00
Amaury Jacquot
b1aef77489 ext/cairo/gsttextoverlay.c: include string.h and strings.h to fix build failure on amd64
Original commit message from CVS:
2005-01-26  Amaury Jacquot  <sxpert@esitcom.org>
* ext/cairo/gsttextoverlay.c: include  string.h and strings.h to fix
build failure on amd64
2005-01-26 14:12:35 +00:00
Tim-Philipp Müller
31d584add9 Check environment variables GST_ID3V2_TAG_ENCODING,
Original commit message from CVS:
Check environment variables GST_ID3V2_TAG_ENCODING,
GST_ID3_TAG_ENCODING and GST_TAG_ENCODING for a colon-separated
list of character encodings to force interpretation of non-unicode
strings stored in an ID3v2 tag to a particular encoding. If none
is specified, try to use current locale's encoding, then fall back
to ISO-8859-1 (which will always succeed). (Resolves #149274)

Check environment variables GST_ID3V1_TAG_ENCODING,
GST_ID3_TAG_ENCODING and GST_TAG_ENCODING for a colon-separated
list of character encodings to use in case a string encountered
in an ID3v1 tag is not valid UTF-8 already. If no encoding is
specified, try to use the current locale's encoding, then fall
back to ISO-8859-1 (which will always succeed).
2005-01-26 12:38:01 +00:00
Benjamin Otte
68068b7c8c ext/mad/gstmad.c: - on half framerate, compute the rate in advance so the comparisons don't compare wrong values
Original commit message from CVS:
* ext/mad/gstmad.c: (gst_mad_check_caps_reset), (gst_mad_chain):
- on half framerate, compute the rate in advance so the comparisons
don't compare wrong values
- don't use mad_synth/frame_mute anymore, this mirrors mad_decoder
behaviour
- don't use mad_header_decode anymore, mad_frame_decode does that
automatically
- when getting rid of consumed bytes, reset the stream's skiplen
(fixes #163867)
2005-01-25 21:48:46 +00:00
Jan Schmidt
9944285e7a gst/mpegstream/gstmpegparse.c: (gst_mpeg_parse_class_init)
Original commit message from CVS:

* gst/mpegstream/gstmpegparse.c: (gst_mpeg_parse_class_init)
Use 1/2 a second for default max_discont, as PES streams from DVB
seem to have larger spacings in the SCR.
Fix a typo.
2005-01-25 18:26:45 +00:00
Ronald S. Bultje
0c9d577f94 gst/playback/gstplaybasebin.c: Notify delayed stream-info availability.
Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (group_commit):
Notify delayed stream-info availability.
2005-01-25 16:10:33 +00:00
Jan Schmidt
848cd97ed6 ext/a52dec/gsta52dec.c: Add some debug output. Check that a discont has a valid time associated.
Original commit message from CVS:
* ext/a52dec/gsta52dec.c: (gst_a52dec_push),
(gst_a52dec_handle_event), (gst_a52dec_chain):
Add some debug output. Check that a discont has a valid
time associated.
* ext/alsa/gstalsasink.c: (gst_alsa_sink_check_event),
(gst_alsa_sink_loop):
Ignore TAG events. A little extra debug for broken timestamps.
* ext/dvdnav/dvdnavsrc.c: (dvdnavsrc_init), (dvdnavsrc_loop),
(dvdnavsrc_change_state):
Ensure we send a discont to engage the link before we send any
other events.
* ext/dvdread/dvdreadsrc.c: (dvdreadsrc_init),
(dvdreadsrc_finalize), (_close), (_open), (_seek_title),
(_seek_chapter), (seek_sector), (dvdreadsrc_get),
(dvdreadsrc_uri_get_uri), (dvdreadsrc_uri_set_uri):
Handle URI of the form dvd://title[,chapter[,angle]]. Currently only
dvd://title works in totem because typefinding sends a seek that ends
up going back to chapter 1 regardless.
* ext/mpeg2dec/gstmpeg2dec.c:
* ext/mpeg2dec/gstmpeg2dec.h:
Output correct timestamps and handle disconts.
* ext/ogg/gstoggdemux.c: (get_relative):
Small guard against a null dereference.
* ext/pango/gsttextoverlay.c: (gst_textoverlay_finalize),
(gst_textoverlay_set_property):
Free memory when done. Don't call gst_event_filler_get_duration on
EOS events. Use GST_LOG and GST_WARNING instead of g_message and
g_warning.
* ext/smoothwave/gstsmoothwave.c: (gst_smoothwave_init),
(draw_line), (gst_smoothwave_dispose), (gst_sw_sinklink),
(gst_sw_srclink), (gst_smoothwave_chain):
Draw solid lines, prettier colours.
* gst/mpeg2sub/gstmpeg2subt.c: (gst_mpeg2subt_init):
Add a default palette that'll work for some movies.
* gst/mpegstream/gstdvddemux.c: (gst_dvd_demux_init),
(gst_dvd_demux_handle_dvd_event), (gst_dvd_demux_send_discont),
(gst_dvd_demux_send_subbuffer), (gst_dvd_demux_reset):
* gst/mpegstream/gstdvddemux.h:
* gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_send_discont),
(gst_mpeg_demux_parse_syshead), (gst_mpeg_demux_parse_pes):
* gst/mpegstream/gstmpegparse.c: (gst_mpeg_parse_init),
(gst_mpeg_parse_handle_discont), (gst_mpeg_parse_parse_packhead):
* gst/mpegstream/gstmpegparse.h:
Use PTM/NAV events when for timestamp adjustment when connected to
dvdnavsrc. Don't use many discont events where one suffices.
* gst/playback/gstplaybasebin.c: (group_destroy),
(gen_preroll_element), (gst_play_base_bin_add_element):
* gst/playback/gstplaybasebin.h:
Make sure we remove subtitles from the same bin we put them in.
* gst/subparse/gstsubparse.c: (convert_encoding), (parse_subrip),
(gst_subparse_buffer_format_autodetect),
(gst_subparse_change_state):
Fix some memleaks and invalid accesses.
* gst/typefind/gsttypefindfunctions.c: (ogganx_type_find),
(oggskel_type_find), (cmml_type_find), (plugin_init):
Some typefind functions for Annodex v3.0 files
* gst/wavparse/gstwavparse.h:
GstRiffReadClass is the correct parent class.
2005-01-25 15:34:09 +00:00
Ronald S. Bultje
43ab537af5 gst-libs/gst/riff/riff-media.c: Add extradata to huffyuv (fixes #165013).
Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c:
(gst_riff_create_video_caps_with_data):
Add extradata to huffyuv (fixes #165013).
* gst-libs/gst/riff/riff-read.c:
(gst_riff_read_strf_vids_with_data):
Fix extradata extraction if it is in the chunk size.
2005-01-25 15:17:23 +00:00
Ronald S. Bultje
3a3a26e7f0 gst/effectv/gstquark.c: Memory free'ing location fix (#164708).
Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* gst/effectv/gstquark.c: (gst_quarktv_class_init),
(gst_quarktv_change_state), (gst_quarktv_dispose):
Memory free'ing location fix (#164708).
2005-01-25 12:17:15 +00:00
Ronald S. Bultje
936a11849b gst/playback/gstplaybasebin.c: Don't block for streams.
Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (group_commit),
(gen_preroll_element), (probe_triggered), (gen_source_element),
(setup_source), (gst_play_base_bin_change_state),
(gst_play_base_bin_add_element):
Don't block for streams.
* gst/playback/gststreaminfo.c: (stream_info_change_state),
(gst_stream_info_set_mute):
Use gst_pad_set_active_recursive.
2005-01-25 10:51:48 +00:00
Andy Wingo
e334e1c1b0 sys/v4l/gstv4lelement.c (gst_v4l_iface_supported): Fix compile for #ifndef HAVE_XVIDEO.
Original commit message from CVS:
2005-01-25  Andy Wingo  <wingo@pobox.com>

* sys/v4l/gstv4lelement.c (gst_v4l_iface_supported): Fix compile
for #ifndef HAVE_XVIDEO.
2005-01-25 09:06:18 +00:00
Maciej Katafiasz
d0325ff746 Apply patch from Jeffrey C. Ollie. Fixes rate (now always 8kHz) and adds timestamps
Original commit message from CVS:
Apply patch from Jeffrey C. Ollie. Fixes rate (now always 8kHz) and
adds timestamps
2005-01-24 21:57:15 +00:00
Ronald S. Bultje
b54df47c3f gst-libs/gst/riff/riff-media.c: Audio can be <8000Hz.
Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c:
(gst_riff_create_audio_caps_with_data):
Audio can be <8000Hz.
2005-01-24 18:41:18 +00:00
Ronald S. Bultje
7db8441b1c gst/playback/gstplaybasebin.c: Explicit state change to workaround refcount bugs.
Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (gst_play_base_bin_change_state):
Explicit state change to workaround refcount bugs.
2005-01-22 17:26:05 +00:00
Ronald S. Bultje
1c3dc42d55 gst/avi/gstavimux.c: Fix...
Original commit message from CVS:
* gst/avi/gstavimux.c: (gst_avimux_write_tag),
(gst_avimux_riff_get_avi_header):
Fix...
2005-01-22 10:54:07 +00:00
Ronald S. Bultje
44e0ac6e5e gst-libs/gst/riff/riff-read.*: Add _peek version (req'ed in CDXA).
Original commit message from CVS:
* gst-libs/gst/riff/riff-read.c: (gst_riff_peek_element_data),
(gst_riff_read_element_data):
* gst-libs/gst/riff/riff-read.h:
Add _peek version (req'ed in CDXA).
* gst/cdxaparse/gstcdxaparse.c: (gst_cdxaparse_init),
(gst_cdxaparse_loop):
Fix parsing in playbin.
* gst/playback/gstdecodebin.c: (close_pad_link):
Ignore current_ pads, they cause major annoyance.
2005-01-19 22:42:21 +00:00
Ronald S. Bultje
d5af6db052 ext/alsa/gstalsasink.c: Safety guard.
Original commit message from CVS:
* ext/alsa/gstalsasink.c: (gst_alsa_sink_loop):
Safety guard.
2005-01-19 21:43:54 +00:00
Ronald S. Bultje
5006606231 gst/avi/gstavimux.c: Fix padding...
Original commit message from CVS:
* gst/avi/gstavimux.c: (gst_avimux_write_tag):
Fix padding...
2005-01-19 20:25:26 +00:00
Ronald S. Bultje
2b6207564c gst/matroska/ebml-read.c: Allow for 0-sized buffers. Fixes length query problems in starwars.mkv from the testsuite.
Original commit message from CVS:
* gst/matroska/ebml-read.c: (gst_ebml_read_buffer):
Allow for 0-sized buffers. Fixes length query problems in
starwars.mkv from the testsuite.
2005-01-19 19:31:54 +00:00
Tim-Philipp Müller
b43e960650 Fix row strides for I420 (fixes #163159)
Original commit message from CVS:
Fix row strides for I420 (fixes #163159)
2005-01-19 17:09:57 +00:00
Ronald S. Bultje
02af9df0f7 gst/mpegstream/gstmpegparse.c: MPEG2 has a useful rate property, so we can actually use that.
Original commit message from CVS:
* gst/mpegstream/gstmpegparse.c: (gst_mpeg_parse_parse_packhead):
MPEG2 has a useful rate property, so we can actually use that.
For MPEG-1, continue using the bytes/time properties.
2005-01-19 15:06:01 +00:00
Ronald S. Bultje
9de370d4ca gst-libs/gst/riff/riff-media.c: Add intel-h263.
Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c:
(gst_riff_create_video_caps_with_data),
(gst_riff_create_video_template_caps):
Add intel-h263.
2005-01-19 12:47:20 +00:00
Ronald S. Bultje
471c844eb5 ext/mad/gstmad.c: Fail if caps negotiation fails. Should fix #162184, and should definately be in there regardless of...
Original commit message from CVS:
* ext/mad/gstmad.c: (gst_mad_check_caps_reset), (gst_mad_chain):
Fail if caps negotiation fails. Should fix #162184, and should
definately be in there regardless of it fixing the actual bug.
* gst/avi/gstavimux.c: (gst_avimux_get_type), (gst_avimux_init),
(gst_avimux_write_tag), (gst_avimux_riff_get_avi_header),
(gst_avimux_riff_get_avix_header),
(gst_avimux_riff_get_video_header),
(gst_avimux_riff_get_audio_header), (gst_avimux_write_index),
(gst_avimux_start_file), (gst_avimux_handle_event),
(gst_avimux_change_state):
* gst/avi/gstavimux.h:
Refactor structure writing to use GST_WRITE_UINT macros, add
metadata writing support.
2005-01-19 11:01:09 +00:00
Ronald S. Bultje
079805f0c9 gst/playback/gststreaminfo.c: Elements may already be destroyed when this function is called.
Original commit message from CVS:
* gst/playback/gststreaminfo.c: (gst_stream_info_dispose):
Elements may already be destroyed when this function is called.
2005-01-18 15:08:22 +00:00
Ronald S. Bultje
20a14f8b13 gst/qtdemux/qtdemux.c: More memory leak fixes (#149162).
Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (gst_qtdemux_change_state),
(gst_qtdemux_loop_header), (gst_qtdemux_handle_esds):
More memory leak fixes (#149162).
2005-01-18 12:30:05 +00:00
Ronald S. Bultje
28215a31c1 gst/qtdemux/qtdemux.c: Fix two memleaks.
Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (gst_qtdemux_change_state),
(gst_qtdemux_add_stream):
Fix two memleaks.
2005-01-17 23:44:06 +00:00
Ronald S. Bultje
04e02014d7 ext/faad/gstfaad.c: Argh...
Original commit message from CVS:
* ext/faad/gstfaad.c: (gst_faad_srcgetcaps):
Argh...
2005-01-17 23:34:45 +00:00
Ronald S. Bultje
06ff075246 ext/faad/gstfaad.c: Fix off-by-one bug. Fixes warnings during playback of sincity.mp4 when fixating to six channels i...
Original commit message from CVS:
* ext/faad/gstfaad.c: (gst_faad_srcgetcaps):
Fix off-by-one bug. Fixes warnings during playback of sincity.mp4
when fixating to six channels in Totem.
2005-01-17 23:01:43 +00:00
Tim-Philipp Müller
e32b0e0b0a Fix compile warnings on Solaris 10 buildbot
Original commit message from CVS:
Fix compile warnings on Solaris 10 buildbot
2005-01-17 16:57:46 +00:00
Tim-Philipp Müller
5ffcdc57be Don't read beyond the last cell in a chapter (fixes invalid memory access)
Original commit message from CVS:
Don't read beyond the last cell in a chapter (fixes invalid memory access)
2005-01-17 16:17:26 +00:00
Tim-Philipp Müller
605dea6ddf Use NULL for an empty GList instead of g_list_alloc(); fix memory leaks; s/LCPM/LPCM/; use g_strdup_printf() instead ...
Original commit message from CVS:
Use NULL for an empty GList instead of g_list_alloc(); fix memory leaks; s/LCPM/LPCM/; use g_strdup_printf() instead of GString (easier to bulk free later)
2005-01-17 14:46:22 +00:00
Ronald S. Bultje
6c9090bf75 gst/ffmpegcolorspace/gstffmpegcodecmap.c: Fix BGRA32 caps (#164209).
Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* gst/ffmpegcolorspace/gstffmpegcodecmap.c:
(gst_ffmpeg_pixfmt_to_caps):
Fix BGRA32 caps (#164209).
2005-01-17 14:12:08 +00:00
Ronald S. Bultje
651ec0597f gst/ffmpegcolorspace/gstffmpegcodecmap.c: alpha_mask can be RGBA/ABGR. Fixes #164265.
Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* gst/ffmpegcolorspace/gstffmpegcodecmap.c:
(gst_ffmpeg_caps_to_pixfmt):
alpha_mask can be RGBA/ABGR. Fixes #164265.
2005-01-17 14:08:18 +00:00
Ronald S. Bultje
119cac0497 ext/mpeg2dec/gstmpeg2dec.*: Crop if decoding size is not the actual image size (#163676).
Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* ext/mpeg2dec/gstmpeg2dec.c: (crop_buffer),
(gst_mpeg2dec_alloc_buffer):
* ext/mpeg2dec/gstmpeg2dec.h:
Crop if decoding size is not the actual image size (#163676).
2005-01-17 13:54:30 +00:00
Ronald S. Bultje
5ec6448751 gst/typefind/gsttypefindfunctions.c: Add libsndfile typefind functions (#163309).
Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* gst/typefind/gsttypefindfunctions.c: (aiff_type_find),
(svx_type_find), (sds_type_find), (ircam_type_find), (plugin_init):
Add libsndfile typefind functions (#163309).
2005-01-17 13:46:15 +00:00
Ronald S. Bultje
b6fe907fbb tools/gst-launch-ext-m.m: Add .aac, fix .m1v/.m2v (#163891).
Original commit message from CVS:
* tools/gst-launch-ext-m.m:
Add .aac, fix .m1v/.m2v (#163891).
2005-01-17 13:41:14 +00:00
Ronald S. Bultje
9aea8e646d ext/alsa/gstalsaclock.c: Sanity check, don't wait endlessly since the clock might not actually run at this point (whi...
Original commit message from CVS:
* ext/alsa/gstalsaclock.c: (gst_alsa_clock_wait):
Sanity check, don't wait endlessly since the clock might not
actually run at this point (which is a deadlock). Fixes #164069.
2005-01-17 12:45:26 +00:00
Ronald S. Bultje
2aca75210f gst/playback/gstplaybasebin.c: Of course, only pause if group is done...
Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (probe_triggered):
Of course, only pause if group is done...
2005-01-16 15:06:27 +00:00
Ronald S. Bultje
ff4e23a922 gst/playback/gstplaybasebin.c: Thread safety.
Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (probe_triggered):
Thread safety.
2005-01-16 14:38:39 +00:00
Jan Schmidt
badd867e64 Don't return SUCCESS from the state change when the parent call fails
Original commit message from CVS:
Don't return SUCCESS from the state change when the parent call fails
2005-01-16 11:07:45 +00:00
Ronald S. Bultje
46ed1fae90 gst/avi/gstavimux.c: Free events (fix memleak in #162905).
Original commit message from CVS:
* gst/avi/gstavimux.c: (gst_avimux_handle_event):
Free events (fix memleak in #162905).
2005-01-16 10:08:12 +00:00
Ronald S. Bultje
3723e72500 gst/ffmpegcolorspace/gstffmpegcodecmap.c: Fix for depth = 15. Fixes #161675.
Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* gst/ffmpegcolorspace/gstffmpegcodecmap.c:
(gst_ffmpeg_caps_to_pixfmt):
Fix for depth = 15. Fixes #161675.
2005-01-15 17:58:38 +00:00
Ronald S. Bultje
c2c9bd6f82 sys/v4l/gstv4lsrc.c: Set FPS correctly, even for webcams and the like.
Original commit message from CVS:
* sys/v4l/gstv4lsrc.c: (gst_v4lsrc_getcaps):
Set FPS correctly, even for webcams and the like.
* sys/v4l/v4l_calls.c: (gst_v4l_set_chan_norm):
Don error on setting while capturing.
2005-01-14 22:39:37 +00:00
Stéphane Loeuillet
c1097dfe75 I'm a bad boy. using /1001. to force C to do float division and not integer division (as it did in my last commit)
Original commit message from CVS:
* ext/dv/gstdvdec.c:
* gst/subparse/gstsubparse.c: (parse_mdvdsub):
* gst/y4m/gsty4mencode.c: (gst_y4mencode_sinkconnect):
I'm a bad boy. using /1001. to force C to do float division
and not integer division (as it did in my last commit)
Thanks to David I. Lehn for pointing this mistake.
2005-01-14 18:36:42 +00:00
Ronald S. Bultje
7129081f33 sys/v4l/gstv4lelement.c: Revert Johan´s 1.35->1.36 since it breaks compat.
Original commit message from CVS:
* sys/v4l/gstv4lelement.c: (gst_v4l_iface_supported):
Revert Johan´s 1.35->1.36 since it breaks compat.
2005-01-14 18:12:22 +00:00
Stéphane Loeuillet
d88e750c2a replace framerate aproximations by their real value (24000/1001, 30000/1001, 60000/1001)
Original commit message from CVS:
* ext/dv/gstdvdec.c:
* ext/libfame/gstlibfame.c:
* gst/subparse/gstsubparse.c: (parse_mdvdsub):
* gst/y4m/gsty4mencode.c: (gst_y4mencode_sinkconnect):
replace framerate aproximations by their real value
(24000/1001, 30000/1001, 60000/1001)
Finish fixing bug #164049
2005-01-14 12:27:22 +00:00
Thomas Vander Stichele
509eeefd28 ext/ogg/gstoggmux.c: eos/bos debugging
Original commit message from CVS:

* ext/ogg/gstoggmux.c:
eos/bos debugging
* gst/tcp/gstmultifdsink.c:
* gst/tcp/gstmultifdsink.h:
* gst/tcp/gsttcp.c:
* gst/tcp/gsttcp.h:
* gst/tcp/gsttcpclientsink.c:
* gst/tcp/gsttcpclientsrc.c:
* gst/tcp/gsttcpserversink.c:
* gst/tcp/gsttcpserversrc.c:
improve reusability of elements after state changes and errors
make multifdsink throw away streamheaders when receiving new ones
2005-01-13 17:13:51 +00:00
Ronald S. Bultje
bd5f8c0e15 ext/alsa/gstalsa.c: Fix for if items are already in list...
Original commit message from CVS:
* ext/alsa/gstalsa.c: (gst_alsa_rates_probe):
Fix for if items are already in list...
2005-01-13 11:46:19 +00:00
Benjamin Otte
43cb8cb242 gst/adder/gstadder.c: fix adder a bit so it doesn't screw up with events as much anymore
Original commit message from CVS:
* gst/adder/gstadder.c: (gst_adder_loop):
fix adder a bit so it doesn't screw up with events as much anymore
2005-01-12 18:30:39 +00:00
Jan Schmidt
b1ca5dd2e2 ext/gdk_pixbuf/pixbufscale.*: to ensure rowstrides are calculated the same way as ffmpegcolorspace.
Original commit message from CVS:
* ext/gdk_pixbuf/pixbufscale.c: (gst_pixbufscale_link),
(pixbufscale_scale), (gst_pixbufscale_chain):
* ext/gdk_pixbuf/pixbufscale.h:
Incorporate changes from Tim-Philipp Mueller <t.i.m@orange.net>
to ensure rowstrides are calculated the same way as
ffmpegcolorspace.
Use gst_buffer_stamp instead of copying timestamps manually, so
that we pick up duration and offset also.
2005-01-12 05:53:46 +00:00
Ronald S. Bultje
3b12894436 gst/avi/gstavimux.c: Reusability fixes.
Original commit message from CVS:
* gst/avi/gstavimux.c: (gst_avimux_class_init),
(gst_avimux_pad_unlink), (gst_avimux_release_pad):
Reusability fixes.
2005-01-11 16:52:47 +00:00
Ronald S. Bultje
1f66f30574 ext/alsa/gstalsamixer.c: Update flags when requested.
Original commit message from CVS:
* ext/alsa/gstalsamixer.c: (gst_alsa_mixer_update),
(gst_alsa_mixer_get_volume), (gst_alsa_mixer_set_volume),
(gst_alsa_mixer_set_mute), (gst_alsa_mixer_set_record),
(gst_alsa_mixer_set_option), (gst_alsa_mixer_get_option):
Update flags when requested.
2005-01-11 15:11:26 +00:00
Ronald S. Bultje
0359e25836 ext/alsa/gstalsa.c: Fix dmix.
Original commit message from CVS:
* ext/alsa/gstalsa.c: (gst_alsa_rates_probe):
Fix dmix.
2005-01-11 12:36:22 +00:00
Ronald S. Bultje
848cce929d gst/playback/: Implement group-switch signal for use in apps to clear metadata cache, clean up subtitle, add suburi p...
Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (gst_play_base_bin_class_init),
(gst_play_base_bin_init), (gst_play_base_bin_dispose),
(probe_triggered), (new_decoded_pad), (gen_source_element),
(gst_play_base_bin_set_property), (gst_play_base_bin_get_property):
* gst/playback/gstplaybasebin.h:
* gst/playback/gstplaybin.c: (gst_play_bin_class_init),
(gst_play_bin_init), (group_switch), (remove_sinks), (setup_sinks),
(gst_play_bin_change_state):
Implement group-switch signal for use in apps to clear metadata
cache, clean up subtitle, add suburi property instead of # hack,
some error-out fixes.
2005-01-11 12:03:23 +00:00
Ronald S. Bultje
b7e6f69b1d ext/vorbis/vorbisdec.c: Debug.
Original commit message from CVS:
* ext/vorbis/vorbisdec.c: (vorbis_dec_chain):
Debug.
* sys/v4l/v4lsrc_calls.c: (gst_v4lsrc_grab_frame):
If we got a state change in the _get handler, don't return success.
2005-01-11 00:26:13 +00:00
Stéphane Loeuillet
71b765c44b ext/jpeg/gstjpegdec.c: Make jpegdec quiet on MJPEG decoding
Original commit message from CVS:
* ext/jpeg/gstjpegdec.c: (gst_jpegdec_my_output_message),
(gst_jpegdec_my_emit_message), (gst_jpegdec_init):
Make jpegdec quiet on MJPEG decoding
* gst/asfdemux/README:
Fix mimetypes for MJPEG and H263
2005-01-10 22:00:15 +00:00
Ronald S. Bultje
256fb48cf7 ext/theora/theoradec.c: Fix broken code generation by gcc by swapping arguments.
Original commit message from CVS:
* ext/theora/theoradec.c: (theora_dec_chain):
Fix broken code generation by gcc by swapping arguments.
* ext/vorbis/vorbisdec.c: (vorbis_dec_src_query):
Fix \n in debug.
2005-01-10 18:45:53 +00:00
Stéphane Loeuillet
7f243042ec oops, forgot to commit changelog
Original commit message from CVS:
oops, forgot to commit changelog
2005-01-10 17:09:01 +00:00
Ronald S. Bultje
411aa88295 gst/audioscale/gstaudioscale.c: Don't crash, biatch! :).
Original commit message from CVS:
* gst/audioscale/gstaudioscale.c: (gst_audioscale_chain):
Don't crash, biatch! :).
2005-01-10 16:51:44 +00:00
Ronald S. Bultje
12367df231 Some work on tags - still doesn't work in playbin...
Original commit message from CVS:
* ext/musepack/gstmusepackreader.cpp:
* gst/apetag/apedemux.c: (gst_ape_demux_stream_data):
Some work on tags - still doesn't work in playbin...
* gst/audioscale/gstaudioscale.c: (gst_audioscale_chain):
Handle events...
2005-01-10 16:42:26 +00:00
Ronald S. Bultje
b3f034287c gst/qtdemux/qtdemux.c: Also shove tags on kid pads.
Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (qtdemux_parse_tree):
Also shove tags on kid pads.
2005-01-10 16:24:14 +00:00
Ronald S. Bultje
5024a7c5b6 gst-libs/gst/riff/riff-read.c: Don't bail on unknown events.
Original commit message from CVS:
* gst-libs/gst/riff/riff-read.c: (gst_riff_read_use_event):
Don't bail on unknown events.
* gst/audioscale/gstaudioscale.c: (gst_audioscale_chain):
Don't crash on events before negotiation.
* gst/avi/gstavidemux.c: (gst_avi_demux_add_stream):
Send tags on pads, too.
* gst/playback/gststreamselector.c:
(gst_stream_selector_request_new_pad):
Forward events on first pad if no input was selected yet.
2005-01-10 16:09:25 +00:00
Ronald S. Bultje
b92d30f44d gst/playback/gstplaybasebin.c: Don't disable streamtype if the stream doesn't exist, since then playing a video after...
Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (setup_substreams):
Don't disable streamtype if the stream doesn't exist, since
then playing a video after audio will disable both and nothing
will happen. Fixes the testsuite.
2005-01-10 13:15:11 +00:00
Ronald S. Bultje
1b2a3e6984 sys/: Add debug categories, fix overlay disabling.
Original commit message from CVS:
* sys/v4l/gstv4lxoverlay.c: (gst_v4l_xoverlay_interface_init),
(gst_v4l_xoverlay_set_xwindow_id):
* sys/v4l2/gstv4l2xoverlay.c: (gst_v4l2_xoverlay_interface_init),
(gst_v4l2_xoverlay_set_xwindow_id):
Add debug categories, fix overlay disabling.
2005-01-10 11:16:13 +00:00
Stéphane Loeuillet
94bd7dde98 ext/alsa/gstalsa.*: Add HW probing for period_count/size and buffer_size MIX/MAX
Original commit message from CVS:
* ext/alsa/gstalsa.c: (gst_alsa_class_init), (gst_alsa_get_caps):
* ext/alsa/gstalsa.h:
Add HW probing for period_count/size and buffer_size MIX/MAX
Adjust default/user defined value if out of bounds
Should fix bug #162024
2005-01-10 04:09:43 +00:00
Ronald S. Bultje
73fdfd3298 gst/qtdemux/qtdemux.c: Fix warning (#161191).
Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (gst_qtdemux_handle_sink_event):
Fix warning (#161191).
2005-01-09 20:51:18 +00:00
Stéphane Loeuillet
eeeff5df84 fix warning : wrong variable initialised in second switch default
Original commit message from CVS:
fix warning : wrong variable initialised in second switch default
2005-01-09 20:25:46 +00:00
Ronald S. Bultje
fe98ac2db9 gst/tta/gstttaparse.c: Fix gcc-2.95 compile (#163485).
Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* gst/tta/gstttaparse.c: (gst_tta_src_event):
Fix gcc-2.95 compile (#163485).
2005-01-09 20:08:45 +00:00
Ronald S. Bultje
3fc57b4be5 Update for API change in flac-1.1.1. Update requirement in configure.ac. Fixes #162974.
Original commit message from CVS:
* configure.ac:
* ext/flac/gstflacenc.c: (gst_flacenc_init),
(gst_flacenc_seek_callback), (gst_flacenc_write_callback),
(gst_flacenc_tell_callback), (gst_flacenc_chain),
(gst_flacenc_change_state):
* ext/flac/gstflacenc.h:
Update for API change in flac-1.1.1. Update requirement in
configure.ac. Fixes #162974.
2005-01-09 20:01:59 +00:00
Ronald S. Bultje
b7e606f7a0 gst/playback/gstplaybasebin.c: Remove hack to get rid of assert and get rid of unlinked signals properly.
Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (group_destroy):
Remove hack to get rid of assert and get rid of unlinked
signals properly.
2005-01-09 19:41:07 +00:00
Ronald S. Bultje
bd47052dd7 gst/playback/gstplaybasebin.c: Set source to NULL so that resources are free'ed. Fixes issues with playback of CDDA a...
Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (setup_source):
Set source to NULL so that resources are free'ed. Fixes issues
with playback of CDDA and similar device-accessing things.
2005-01-09 19:29:06 +00:00
Ronald S. Bultje
778752dc92 testsuite/embed/Makefile.am: test->noinst, fix make test in buildbot.
Original commit message from CVS:
* testsuite/embed/Makefile.am:
test->noinst, fix make test in buildbot.
2005-01-09 19:02:31 +00:00
Stéphane Loeuillet
a7e5e6ee1b ext/dvdread/stream_labels.c: new file
Original commit message from CVS:
* ext/dvdread/stream_labels.c: new file
* ext/dvdread/stream_labels.h: new file
* ext/dvdread/Makefile.am:
* ext/dvdread/dvdreadsrc.c: (_seek_title):
Extract audio stream label from DVD IFO files.
It only dump them on the console for now, still have to
make playbin aware of them.
2005-01-09 19:00:29 +00:00
Ronald S. Bultje
0ce21a9a66 gst/playback/gstplaybasebin.c: Fix hanging subs.
Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (setup_source):
Fix hanging subs.
2005-01-09 18:33:37 +00:00
Ronald S. Bultje
e7142bda68 typo
Original commit message from CVS:
typo
2005-01-09 18:13:57 +00:00
Ronald S. Bultje
104503830b gst/playback/gstplaybasebin.*: Multiple .sub files is just a stupid idea... Fix some threading mistakes. Interestingl...
Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (gst_play_base_bin_init),
(gen_preroll_element), (remove_groups), (setup_subtitle),
(gen_source_element), (setup_source):
* gst/playback/gstplaybasebin.h:
Multiple .sub files is just a stupid idea... Fix some threading
mistakes. Interestingly, external .sub files cause playbin to
hang, I don't know why... Parsing fixes contributed by Felix
Kooman <fkooman@tuxed.net>.
2005-01-09 18:03:40 +00:00
Ronald S. Bultje
2c373be53c testsuite/embed/Makefile.am: Fix buildbot.
Original commit message from CVS:
* testsuite/embed/Makefile.am:
Fix buildbot.
2005-01-09 16:32:06 +00:00
Ronald S. Bultje
1f19f8e63c ext/libpng/gstpngenc.*: Add compression level property (#163323).
Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* ext/libpng/gstpngenc.c: (gst_pngenc_class_init),
(gst_pngenc_init), (gst_pngenc_chain), (gst_pngenc_get_property),
(gst_pngenc_set_property):
* ext/libpng/gstpngenc.h:
Add compression level property (#163323).
2005-01-09 16:30:15 +00:00
Ronald S. Bultje
741360c638 Remove all references to xvideosink, fix examples (#140845).
Original commit message from CVS:
* configure.ac:
* examples/capsfilter/capsfilter1.c: (main):
* examples/seeking/spider_seek.c: (make_spider_pipeline):
* ext/dvdread/Makefile.am:
* ext/dvdread/demo-play:
* ext/dvdread/demo-play.c:
* gconf/gstreamer.schemas.in:
* gst-libs/gst/gconf/gconf.c:
* sys/v4l/TODO:
* testsuite/Makefile.am:
* testsuite/embed/Makefile.am:
* testsuite/embed/embed.c: (cb_expose), (main):
Remove all references to xvideosink, fix examples (#140845).
* gst/playback/gstplaybasebin.c: (group_destroy):
Apparently, disposal does not unlink - so do explicitely.
* ext/alsa/gstalsasink.c: (gst_alsa_sink_check_event):
Add debug.
2005-01-09 14:53:58 +00:00
Maciej Katafiasz
4d12b04a01 Update README to give valid PKG_CONFIG_PATH instructions
Original commit message from CVS:
Update README to give valid PKG_CONFIG_PATH instructions
2005-01-09 13:50:36 +00:00
Ronald S. Bultje
45650b0c82 gst/audioscale/gstaudioscale.c: %#^@^#@^@#^#@^#@^@#^@#^@#^@#^#@^#@^#@^@#^#@ fix seeking when resampling - how the ^@$...
Original commit message from CVS:
* gst/audioscale/gstaudioscale.c: (gst_audioscale_init),
(gst_audioscale_chain):
%#^@^#@^@#^#@^#@^@#^@#^@#^@#^#@^#@^#@^@#^#@ fix seeking
when resampling - how the ^@$^!@^! is this possible?!?
2005-01-09 12:22:56 +00:00
Ronald S. Bultje
0f37f59441 ext/alsa/gstalsa.c: Reset variables on READY.
Original commit message from CVS:
* ext/alsa/gstalsa.c: (gst_alsa_change_state):
Reset variables on READY.
* gst/matroska/matroska-mux.c: (gst_matroska_mux_request_new_pad),
(gst_matroska_mux_loop):
Require data before writing header.
2005-01-09 10:30:59 +00:00
Ronald S. Bultje
cb8b8a6b6c ext/mad/gstmad.c: Don't call mad_stream_sync() directly after recovering sync.
Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* ext/mad/gstmad.c: (gst_mad_chain):
Don't call mad_stream_sync() directly after recovering sync.
Fixes #151661.
2005-01-09 01:58:04 +00:00
Ronald S. Bultje
420c00b789 ext/snapshot/gstsnapshot.c: Allocate resources when required, fix recursive signal emission and fix caps. Fixes #161667.
Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* ext/snapshot/gstsnapshot.c: (gst_snapshot_class_init),
(snapshot_handler), (gst_snapshot_sinkconnect),
(gst_snapshot_chain):
Allocate resources when required, fix recursive signal emission
and fix caps. Fixes #161667.
2005-01-09 01:44:08 +00:00
Ronald S. Bultje
25dcc61a62 ext/libpng/gstpngdec.c: Handle only 8-bppc (bits-per-pixel-component) images, better error handling and correct strid...
Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* ext/libpng/gstpngdec.c: (gst_pngdec_src_getcaps),
(gst_pngdec_chain):
Handle only 8-bppc (bits-per-pixel-component) images, better
error handling and correct strides. Fixes #163177.
* ext/libpng/gstpngenc.c: (gst_pngenc_sinklink),
(gst_pngenc_chain):
Better error handling. Fixes #163348.
2005-01-09 01:40:14 +00:00
Ronald S. Bultje
ab79962fe5 ext/dvdnav/dvdnavsrc.c: Add DVD-nav URI (dvdnav://) for Totem testing purposes.
Original commit message from CVS:
* ext/dvdnav/dvdnavsrc.c: (dvdnavsrc_get_type),
(dvdnavsrc_uri_get_type), (dvdnavsrc_uri_get_protocols),
(dvdnavsrc_uri_get_uri), (dvdnavsrc_uri_set_uri),
(dvdnavsrc_uri_handler_init):
Add DVD-nav URI (dvdnav://) for Totem testing purposes.
* gst/playback/gstplaybasebin.c: (gen_source_element):
Add MMS to streaming URIs.
2005-01-09 00:43:08 +00:00
Ronald S. Bultje
8b154b2a77 sys/: Check for pad availability before sending event.
Original commit message from CVS:
* sys/ximage/ximagesink.c: (gst_ximagesink_navigation_send_event):
* sys/xvimage/xvimagesink.c:
(gst_xvimagesink_navigation_send_event):
Check for pad availability before sending event.
2005-01-09 00:07:30 +00:00
Ronald S. Bultje
5a534b076b gst-plugins.spec.in: Add subparse.
Original commit message from CVS:
* gst-plugins.spec.in:
Add subparse.
2005-01-08 19:03:02 +00:00
Ronald S. Bultje
8891a9b983 configure.ac: Since we use functions from CVS, up requirement.
Original commit message from CVS:
* configure.ac:
Since we use functions from CVS, up requirement.
2005-01-08 18:47:23 +00:00
Ronald S. Bultje
45b5967d7a gst/playback/: Adding stream selection support plus required properties for applications to use this. Fully fixes #10...
Original commit message from CVS:
* gst/playback/Makefile.am:
* gst/playback/gstplaybasebin.c: (gst_play_base_bin_class_init),
(group_destroy), (group_commit), (group_is_muted),
(gen_preroll_element), (add_stream), (unknown_type),
(probe_triggered), (preroll_unlinked), (mute_stream),
(silence_stream), (new_decoded_pad), (setup_substreams),
(setup_source), (get_active_source), (mute_group_type),
(muted_group_change_state), (set_active_source),
(gst_play_base_bin_set_property), (gst_play_base_bin_get_property),
(play_base_eos), (gst_play_base_bin_change_state):
* gst/playback/gstplaybasebin.h:
* gst/playback/gstplaybin.c: (add_sink), (setup_sinks):
* gst/playback/gststreaminfo.c: (gst_stream_info_class_init),
(gst_stream_info_dispose), (stream_info_mute_pad),
(stream_info_change_state), (gst_stream_info_set_mute):
* gst/playback/gststreamselector.c: (gst_stream_selector_get_type),
(gst_stream_selector_base_init), (gst_stream_selector_class_init),
(gst_stream_selector_init), (gst_stream_selector_dispose),
(gst_stream_selector_get_linked_pad),
(gst_stream_selector_get_caps), (gst_stream_selector_link),
(gst_stream_selector_get_linked_pads),
(gst_stream_selector_request_new_pad), (gst_stream_selector_chain):
* gst/playback/gststreamselector.h:
Adding stream selection support plus required properties for
applications to use this. Fully fixes #100931.
2005-01-08 18:31:22 +00:00
Benjamin Otte
6f672311cd gst/games/gstpuzzle.c: - handle nav events differently: forward every event no matter if it was handled or not.
Original commit message from CVS:
* gst/games/gstpuzzle.c: (nav_event_handler):
- handle nav events differently: forward every event no matter if it
was handled or not.
- translate events
You can now cheat by using navigationtest ! puzzle and moving the
mouse close to the edge of a tile. ;)
2005-01-08 18:27:07 +00:00
Ronald S. Bultje
65262fe081 OGM text support, Matroska UTF-8 text support, deadlock fixes all over the place, subtitle awareness in decodebin/pla...
Original commit message from CVS:
* configure.ac:
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_new):
* ext/ogg/gstogmparse.c: (gst_ogm_text_parse_get_type),
(gst_ogm_text_parse_base_init), (gst_ogm_text_parse_init),
(gst_ogm_parse_get_sink_querytypes), (gst_ogm_parse_sink_convert),
(gst_ogm_parse_sink_query), (gst_ogm_parse_chain),
(gst_ogm_parse_plugin_init):
* ext/pango/gsttextoverlay.c: (gst_textoverlay_linkedpads),
(gst_textoverlay_link), (gst_textoverlay_getcaps),
(gst_textoverlay_event), (gst_textoverlay_video_chain),
(gst_textoverlay_loop), (gst_textoverlay_init), (plugin_init):
* ext/pango/gsttextoverlay.h:
* gst/matroska/matroska-demux.c: (gst_matroska_demux_add_stream),
(gst_matroska_demux_handle_seek_event),
(gst_matroska_demux_sync_streams),
(gst_matroska_demux_parse_blockgroup),
(gst_matroska_demux_subtitle_caps),
(gst_matroska_demux_plugin_init):
* gst/matroska/matroska-ids.h:
* gst/playback/gstdecodebin.c: (close_pad_link):
* gst/playback/gstplaybasebin.c: (gst_play_base_bin_init),
(gen_preroll_element), (remove_groups), (add_stream),
(new_decoded_pad), (setup_subtitles), (gen_source_element),
(setup_source):
* gst/playback/gstplaybasebin.h:
* gst/playback/gstplaybin.c: (gen_text_element), (setup_sinks):
* gst/subparse/Makefile.am:
* gst/subparse/gstsubparse.c: (gst_subparse_get_type),
(gst_subparse_base_init), (gst_subparse_class_init),
(gst_subparse_init), (gst_subparse_formats),
(gst_subparse_eventmask), (gst_subparse_event),
(gst_subparse_handle_event), (convert_encoding), (get_next_line),
(parse_mdvdsub), (parse_mdvdsub_init), (parse_subrip),
(parse_subrip_deinit), (parse_subrip_init), (parse_mpsub),
(parse_mpsub_deinit), (parse_mpsub_init),
(gst_subparse_buffer_format_autodetect),
(gst_subparse_format_autodetect), (gst_subparse_loop),
(gst_subparse_change_state), (gst_subparse_type_find),
(plugin_init):
* gst/subparse/gstsubparse.h:
* gst/typefind/gsttypefindfunctions.c: (ogmtext_type_find),
(plugin_init):
Add subtitle support, .sub parser (supports SRT and MPsub),
OGM text support, Matroska UTF-8 text support, deadlock fixes
all over the place, subtitle awareness in decodebin/playbin
and some fixes to textoverlay to handle subtitles in a stream
correctly. Fixes #100931.
2005-01-08 18:22:41 +00:00
Ronald S. Bultje
978b6a577f ext/vorbis/vorbisdec.c: Check for pad availability before doing a query on it.
Original commit message from CVS:
* ext/vorbis/vorbisdec.c: (vorbis_dec_src_query):
Check for pad availability before doing a query on it.
2005-01-08 18:14:16 +00:00
Stéphane Loeuillet
7772f7981d ext/dv/gstdvdec.c: really fix bpp24/32 dvdec caps (classic rgba indeed)
Original commit message from CVS:
* ext/dv/gstdvdec.c:
really fix bpp24/32 dvdec caps (classic rgba indeed)
* gst/asfdemux/gstasfdemux.c:
(gst_asf_demux_process_ext_content_desc):
don't send text tags if they are empty (bis repetita)
2005-01-08 15:30:33 +00:00
Stéphane Loeuillet
f51790b89d ext/dv/gstdvdec.c: remove unneeded comment from dvdec (related to DV 4CC codes in AVI files) moved them in gstreamer/...
Original commit message from CVS:
* ext/dv/gstdvdec.c:
remove unneeded comment from dvdec
(related to DV 4CC codes in AVI files)
moved them in gstreamer/docs/random/mimetypes
* gst/asfdemux/gstasfdemux.c:
(gst_asf_demux_process_ext_content_desc):
don't send text tags if they are empty
fix mem leak on error path
* gst/ffmpegcolorspace/avcodec.h:
* gst/ffmpegcolorspace/gstffmpegcodecmap.c:
(gst_ffmpeg_pixfmt_to_caps), (gst_ffmpeg_caps_to_pixfmt),
(gst_ffmpegcsp_avpicture_fill):
* gst/ffmpegcolorspace/imgconvert.c: (img_get_alpha_info):
* gst/ffmpegcolorspace/imgconvert_template.h:
adds BGR32 and BGRA32 to ffmpegcolorspace
(still bad colors, fixing it on next commit)
helps with dvdec outputing BGR32
2005-01-08 12:25:26 +00:00
Stéphane Loeuillet
c838dd54c4 ext/dv/gstdvdec.c: Fix audio caps i just broke (missing ',')
Original commit message from CVS:
* ext/dv/gstdvdec.c:
Fix audio caps i just broke (missing ',')
* gst/matroska/matroska-mux.c: (gst_matroska_mux_get_type),
(gst_matroska_mux_reset):
Fix typo + add FIXME about old "x-gst-metadata" crap
2005-01-07 23:46:23 +00:00
Stéphane Loeuillet
3a37a6bc0d ext/dv/demo-play.c: xvideosink -> xvimagesink
Original commit message from CVS:
* ext/dv/demo-play.c: (main):
xvideosink -> xvimagesink
* ext/dv/gstdvdec.c:
change rgb 32/32 caps to 24/32 (no alpha)
change nb of channels to be a list (2 or 4, not 2)
change sample rate to be a list (32, 44.1, 48 kHz) not a range
* gst/asfdemux/gstasfdemux.c:
(gst_asf_demux_process_ext_content_desc):
Add 'date/year' to extracted metadata list
2005-01-07 22:42:32 +00:00
Ronald S. Bultje
ae84e29ad1 gst/audioconvert/gstaudioconvert.c: The return value of fixate_to does not imply that the requested value was set, so...
Original commit message from CVS:
* gst/audioconvert/gstaudioconvert.c: (gst_audio_convert_fixate):
The return value of fixate_to does not imply that the requested
value was set, so don't assume.
2005-01-07 18:17:52 +00:00
Ronald S. Bultje
536f3d6c43 ext/libpng/: mime fixage.
Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* ext/libpng/gstpngdec.c:
* ext/libpng/gstpngenc.c: (gst_pngenc_base_init),
(gst_pngenc_sinklink), (gst_pngenc_init), (gst_pngenc_chain):
* ext/libpng/gstpngenc.h:
Alpha support (encoder; #163161), mime fixage.
2005-01-07 10:27:20 +00:00
Ronald S. Bultje
0715626523 ext/faac/gstfaac.*: Allow for ADTS output (#153434).
Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* ext/faac/gstfaac.c: (gst_faac_outputformat_get_type),
(gst_faac_class_init), (gst_faac_init), (gst_faac_srcconnect),
(gst_faac_set_property), (gst_faac_get_property):
* ext/faac/gstfaac.h:
Allow for ADTS output (#153434).
2005-01-07 10:15:20 +00:00
Ronald S. Bultje
c4a1368ee2 sys/v4l2/gstv4l2src.c: Fix against template (#150576).
Original commit message from CVS:
* sys/v4l2/gstv4l2src.c: (gst_v4l2src_getcaps):
Fix against template (#150576).
2005-01-07 10:12:11 +00:00
Benjamin Otte
fe26f230a7 gst/games/gstpuzzle.c: don't draw a puzzle if either width or height of tiles would be 0.
Original commit message from CVS:
* gst/games/gstpuzzle.c: (draw_puzzle):
don't draw a puzzle if either width or height of tiles would be 0.
2005-01-06 20:19:04 +00:00
Benjamin Otte
9e2f18edba gst/games/gstpuzzle.c: no memleaks, please change initialization code around so we don't reshuffle on resize fix anot...
Original commit message from CVS:
* gst/games/gstpuzzle.c: (gst_puzzle_get_type),
(gst_puzzle_class_init), (gst_puzzle_finalize):
no memleaks, please
(gst_puzzle_create), (gst_puzzle_init),
(gst_puzzle_set_property), (gst_puzzle_setup):
change initialization code around so we don't reshuffle on resize
(draw_puzzle):
fix another stupid typo
2005-01-06 18:44:08 +00:00
Benjamin Otte
718cfae388 gst/games/gstvideoimage.c: fix stupid typo that borked copying on YUY2
Original commit message from CVS:
* gst/games/gstvideoimage.c: (copy_hline_YUY2):
fix stupid typo that borked copying on YUY2
2005-01-06 18:17:35 +00:00
Benjamin Otte
8a64fd92cc gst/games/gstpuzzle.c: fix edges when image sizes aren't multiples of tile sizes
Original commit message from CVS:
* gst/games/gstpuzzle.c: (draw_puzzle):
fix edges when image sizes aren't multiples of tile sizes
2005-01-06 16:37:30 +00:00
Benjamin Otte
1f647813d0 gst/games/gstpuzzle.c: make RGB endianness work correctly refactor and fix race with initial shuffling allow using th...
Original commit message from CVS:
* gst/games/gstpuzzle.c: (gst_puzzle_base_init):
make RGB endianness work correctly
(gst_puzzle_show), (gst_puzzle_swap), (gst_puzzle_move):
refactor and fix race with initial shuffling
(nav_event_handler):
allow using the mouse to puzzle
(draw_puzzle):
insist on tiles having width and height as multiples of 4 to get
clean YUV image handling
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_xvimage_new),
(gst_xvimagesink_handle_xevents), (gst_xvimagesink_buffer_alloc):
s/DEBUG/LOG/ for common messages
(gst_xvimagesink_navigation_send_event):
fix mouse event translation to not include screen PAR
* sys/ximage/ximagesink.c: (gst_ximagesink_navigation_send_event):
fix mouse event translation to actually work
2005-01-06 16:08:11 +00:00
Stéphane Loeuillet
73ac4ea892 gst/asfdemux/gstasfdemux.c: Extract TrackNumber metadata + clean up code
Original commit message from CVS:
* gst/asfdemux/gstasfdemux.c:
(gst_asf_demux_process_ext_content_desc):
Extract TrackNumber metadata + clean up code

* gst/games/gstvideoimage.c: (gst_video_image_draw_rectangle):
Hope this is the good fix (var used unitialised)
2005-01-06 12:41:13 +00:00
Ronald S. Bultje
88b1b1dd2e ext/faad/gstfaad.c: Only increment timestamp if it's valid. Fixes raw AAC streams.
Original commit message from CVS:
* ext/faad/gstfaad.c: (gst_faad_chain):
Only increment timestamp if it's valid. Fixes raw AAC streams.
2005-01-06 10:34:40 +00:00
Benjamin Otte
12669065ce add a puzzle game with...
Original commit message from CVS:
* configure.ac:
* gst/games/Makefile.am:
* gst/games/gstpuzzle.c:
add a puzzle game with...
* gst/games/gstvideoimage.c:
* gst/games/gstvideoimage.h:
... full colorspace support (that includes YUV9 and RGB16)) stolen
from videotestsrc and made into something that would be a nice
library for a lot of other plugins.
2005-01-06 06:48:01 +00:00
Stéphane Loeuillet
ba73605055 small addition to last changelog's entry (fixes #155346)
Original commit message from CVS:
small addition to last changelog's entry (fixes #155346)
2005-01-06 01:53:20 +00:00
Stéphane Loeuillet
1db79514b4 configure.ac: don't compile faad plugin if a RC of 2.0 is found
Original commit message from CVS:

* configure.ac:
don't compile faad plugin if a RC of 2.0 is found

* gst/asfdemux/gstasfdemux.c:
(gst_asf_demux_process_ext_content_desc):
try to make Solaris compiler happier
2005-01-05 23:38:23 +00:00
Ronald S. Bultje
c664ff5cac ext/snapshot/gstsnapshot.c: Fix segfault (#161667).
Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* ext/snapshot/gstsnapshot.c: (gst_snapshot_class_init):
Fix segfault (#161667).
2005-01-05 23:27:43 +00:00
Ronald S. Bultje
56942cdd8e sys/v4l/gstv4lsrc.c: Fix framerate reporting.
Original commit message from CVS:
* sys/v4l/gstv4lsrc.c: (gst_v4lsrc_getcaps):
Fix framerate reporting.
2005-01-05 22:31:26 +00:00
Stéphane Loeuillet
74cf60cca5 gst/: Add AMR (VBR and CBR) ids to riff.h audio codec list
Original commit message from CVS:
* gst-libs/gst/riff/riff-ids.h:
* gst/wavenc/riff.h:
Add AMR (VBR and CBR) ids to riff.h audio codec list

* gst/asfdemux/gstasfdemux.c:
(gst_asf_demux_process_ext_content_desc),
(gst_asf_demux_process_object):
Retrieve more tags from ASF files (Genre, AlbumTitle, Artist)
2005-01-05 21:46:19 +00:00
Ronald S. Bultje
528428db80 gst/mpegstream/: Recreate pads on new-media (#160730).
Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* gst/mpegstream/gstdvddemux.c: (gst_dvd_demux_class_init),
(gst_dvd_demux_handle_discont):
* gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_class_init),
(gst_mpeg_demux_handle_discont):
Recreate pads on new-media (#160730).
* gst/mpegstream/gstmpegparse.c: (gst_mpeg_parse_new_pad):
Send discont even if manager changes timestamps (#161929).
2005-01-05 17:03:27 +00:00
Ronald S. Bultje
b12f16b67a gst-libs/gst/resample/resample.c: Fix invalid memory access (#159211).
Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* gst-libs/gst/resample/resample.c: (gst_resample_sinc_ft_s16):
Fix invalid memory access (#159211).
2005-01-05 15:04:02 +00:00
Ronald S. Bultje
eef19db944 examples/gstplay/player.c: Don't iterate.
Original commit message from CVS:
* examples/gstplay/player.c: (main):
Don't iterate.
* examples/seeking/seek.c: (fixate), (make_playerbin_pipeline):
Add visualizations.
* ext/a52dec/gsta52dec.c: (gst_a52dec_push),
(gst_a52dec_handle_frame):
Set duration.
* ext/dvdnav/gst-dvd:
Add audioconvert. Fixes #161325.
* ext/dvdread/dvdreadsrc.c: (dvdreadsrc_get):
Explicitely case to gint64. Possible valgrind error.
* gst-libs/gst/play/play.c: (caps_set), (setup_size),
(gst_play_tick_callback), (gst_play_change_state),
(gst_play_dispose), (gst_play_init), (gst_play_class_init),
(gst_play_set_location), (gst_play_get_location),
(gst_play_seek_to_time), (gst_play_set_data_src),
(gst_play_set_video_sink), (gst_play_set_audio_sink),
(gst_play_set_visualization), (gst_play_connect_visualization),
(gst_play_get_framerate), (gst_play_get_all_by_interface),
(gst_play_new):
Use playbin. Fixes #139749 and #147744.
* gst/apetag/apedemux.c: (gst_ape_demux_parse_tags):
Add genre tag.
* gst/audioscale/gstaudioscale.c: (gst_audioscale_method_get_type),
(audioscale_get_type), (gst_audioscale_base_init),
(gst_audioscale_class_init), (gst_audioscale_expand_caps),
(gst_audioscale_getcaps), (gst_audioscale_fixate),
(gst_audioscale_link), (gst_audioscale_get_buffer),
(gst_audioscale_decrease_rate), (gst_audioscale_increase_rate),
(gst_audioscale_init), (gst_audioscale_dispose),
(gst_audioscale_chain), (gst_audioscale_set_property),
(gst_audioscale_get_property), (plugin_init):
Indent properly.
* gst/mpegstream/gstdvddemux.c: (gst_dvd_demux_process_private):
Fix LPCM.
* gst/qtdemux/qtdemux.c: (qtdemux_parse_udta),
(qtdemux_tag_add_str), (qtdemux_tag_add_num),
(qtdemux_tag_add_gnre), (qtdemux_video_caps):
Add more metadata (fixes #162656).
2005-01-05 14:56:27 +00:00
Thomas Vander Stichele
b1a2ec15cc back to cvs
Original commit message from CVS:
back to cvs
2005-01-05 13:18:43 +00:00
Thomas Vander Stichele
c8bbf2371c releasing
Original commit message from CVS:
releasing
2005-01-05 12:19:52 +00:00
Tim-Philipp Müller
ee8f077fbb gst/playback/gstplaybasebin.c: Fix for #162924 - free caps after use, not before
Original commit message from CVS:

patch by: Tim-Philipp Müller  <t.i.m@zen.co.uk>

* gst/playback/gstplaybasebin.c:
Fix for #162924 - free caps after use, not before
2005-01-05 10:11:23 +00:00
Thomas Vander Stichele
bb6c6585c8 Fix for #154773 - fixes playback of small .wav files
Original commit message from CVS:
Fix for #154773 - fixes playback of small .wav files
2005-01-04 11:09:19 +00:00
Ronald Bultje
9de0a0af10 gst/audioscale/gstaudioscale.c: Fix for #162819 - make audioscale reusable
Original commit message from CVS:

patch by: Ronald Bultje <rbultje@ronald.bitfreak.net>

* gst/audioscale/gstaudioscale.c:
Fix for #162819 - make audioscale reusable
Fixes playback of more than one file with playbin/totem
2005-01-03 16:19:03 +00:00
Thomas Vander Stichele
ed2c2dc5e2 clean up the mess that made me cry and avoid needless duplication
Original commit message from CVS:
clean up the mess that made me cry and avoid needless duplication
2004-12-29 16:04:00 +00:00
Thomas Vander Stichele
9138a60c48 give indication of why we segfault
Original commit message from CVS:
give indication of why we segfault
2004-12-29 14:57:44 +00:00
Ronald S. Bultje
8f56dce24d configure.ac: Fix indentation, fix v4l2 plugin detection.
Original commit message from CVS:
* configure.ac:
Fix indentation, fix v4l2 plugin detection.
* ext/Makefile.am:
Fix libmms location (Maciej, use diff -u!).
* ext/alsa/gstalsa.c: (gst_alsa_init):
Initialize caps cache to NULL.
* gst/playback/gstplaybin.c: (gst_play_bin_change_state):
Only change state on audiosink if it exists.
2004-12-29 13:27:45 +00:00
Maciej Katafiasz
70e3dd069c I'm too lazy to comment this
Original commit message from CVS:
*** empty log message ***
2004-12-28 18:04:58 +00:00
Ronald
cf81f02e10 Merge patch from Ronald fixing problems with streaming text.
Original commit message from CVS:
Merge patch from Ronald fixing problems with streaming
text.
* ext/cairo/gstcairo.c: (plugin_init):
* ext/cairo/gsttextoverlay.c: (gst_textoverlay_render_text),
(gst_text_overlay_blit_1), (gst_text_overlay_blit_sub2x2),
(gst_textoverlay_video_chain), (gst_textoverlay_loop),
(gst_textoverlay_font_init), (gst_textoverlay_init),
(gst_textoverlay_set_property):
* ext/cairo/gsttextoverlay.h:
2004-12-28 09:26:32 +00:00
David Schleef
3065ec53ca ext/cairo/gsttextoverlay.c: Improvements to actually render text as white on black outline on video, including font s...
Original commit message from CVS:
* ext/cairo/gsttextoverlay.c: (gst_textoverlay_render_text),
(gst_text_overlay_blit_1), (gst_text_overlay_blit_sub2x2),
(gst_textoverlay_video_chain), (gst_textoverlay_loop),
(gst_textoverlay_font_init), (gst_textoverlay_init),
(gst_textoverlay_set_property): Improvements to actually
render text as white on black outline on video, including
font selection and horizontal/vertical alignment.  (Ronald's
christmas present)
* ext/cairo/gsttextoverlay.h:
2004-12-28 05:52:03 +00:00
Stéphane Loeuillet
257f1aa294 fix ogm[audio/video]parse plugin registration (riff won't load if bytestream is already loaded)
Original commit message from CVS:
fix ogm[audio/video]parse plugin registration
(riff won't load if bytestream is already loaded)
2004-12-26 19:00:21 +00:00
Thomas Vander Stichele
039ab62473 fix for glib < 2.4
Original commit message from CVS:
fix for glib < 2.4
2004-12-24 15:12:56 +00:00
Thomas Vander Stichele
5a643b5e72 disable docs again until it passes make distcheck
Original commit message from CVS:
disable docs again until it passes make distcheck
2004-12-24 13:09:48 +00:00
Ronald S. Bultje
a0f3fb2a36 gst/: Add 3GP (variables name Q3GP because they can't start with a decoder is work in progress. Also do a GST_WARNING...
Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (qtdemux_type_get), (qtdemux_audio_caps):
* gst/typefind/gsttypefindfunctions.c: (q3gp_type_find),
(plugin_init):
Add 3GP (variables name Q3GP because they can't start with a
number). Add samr audio fourcc (used in .3gp files), decoder
is work in progress. Also do a GST_WARNING instead of ERROR
in case of unknown nodes, to decrease output.
2004-12-24 12:58:17 +00:00
Thomas Vander Stichele
20372318d9 really fix dist
Original commit message from CVS:
really fix dist
2004-12-24 11:01:24 +00:00
Thomas Vander Stichele
5701e846db Fixes #158382. Make speex plugin compatible with both 1.0 and 1.1.
Original commit message from CVS:

* configure.ac:
* ext/speex/gstspeexdec.h:
* ext/speex/gstspeexenc.h:
Fixes #158382.  Make speex plugin compatible with both 1.0 and 1.1.
Fix detection code in configure.ac
2004-12-23 14:45:25 +00:00
Ronald S. Bultje
3b494824c0 gst/matroska/matroska-demux.c: Save position, so that queries give proper return values. Don't know how this could ev...
Original commit message from CVS:
* gst/matroska/matroska-demux.c:
(gst_matroska_demux_parse_blockgroup):
Save position, so that queries give proper return values. Don't
know how this could ever have worked before...
2004-12-23 13:14:24 +00:00
Thomas Vander Stichele
83b681f127 configure.ac: Put additional LAME check inside the conditional. Fixes #152339
Original commit message from CVS:
* configure.ac:
Put additional LAME check inside the conditional.  Fixes #152339
2004-12-23 12:43:31 +00:00
Ronald S. Bultje
889e28ef62 gst/avi/gstavidemux.c: Add some more debug. Fix logic error when setting movi offset while reading index.
Original commit message from CVS:
* gst/avi/gstavidemux.c: (gst_avi_demux_stream_index),
(gst_avi_demux_stream_scan):
Add some more debug. Fix logic error when setting movi offset
while reading index.
2004-12-23 11:44:03 +00:00
Ronald S. Bultje
f0def31bea gst/avi/gstavidemux.c: Add some debugging. Better detection of broken indexes and the accompanying index recovery. No...
Original commit message from CVS:
* gst/avi/gstavidemux.c: (gst_avi_demux_stream_index),
(gst_avi_demux_stream_scan), (gst_avi_demux_handle_seek),
(gst_avi_demux_process_next_entry):
Add some debugging. Better detection of broken indexes and the
accompanying index recovery. No infinite loops on state changes
when we're still in our loopfunction.
2004-12-23 10:53:27 +00:00
Ronald S. Bultje
9635fb8dc8 configure.ac: Fix up.
Original commit message from CVS:
* configure.ac:
Fix up.
2004-12-22 19:53:26 +00:00
Ronald S. Bultje
837437be40 sys/sunaudio/gstsunmixer.c: Normalizing the value before setting
Original commit message from CVS:
Reviewed by:  Ronald S. Bultje <rbultje@ronald.bitfreak.net>
* sys/sunaudio/gstsunmixer.c: (gst_sunaudiomixer_set_volume):
Normalizing the value before setting
(gst_sunaudiomixer_get_volume):
Normalizing the value after getting. Fixes bug# 161980
2004-12-22 14:49:06 +00:00
Christian Schaller
da9fc3e616 fix build/disting
Original commit message from CVS:
fix build/disting
2004-12-22 10:48:12 +00:00
Wim Taymans
28a7b67757 gst/playback/gstplaybasebin.c: Revert patch 1.38 as clock distribution over schedulers does not work correcly in the ...
Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (gst_play_base_bin_add_element):
Revert patch 1.38 as clock distribution over schedulers does
not work correcly in the core yet.
2004-12-22 10:06:02 +00:00
Stéphane Loeuillet
c8c7968af1 remove outdated README file of oss directory
Original commit message from CVS:
remove outdated README file of oss directory
2004-12-21 10:33:57 +00:00
Stefan Kost
87f2c8b770 Added boilerplate gtk-doc files for plugin-libs documentation.
Original commit message from CVS:
Added boilerplate gtk-doc files for plugin-libs documentation.
2004-12-20 16:29:05 +00:00
Stéphane Loeuillet
8f66306a15 fix int and float audio caps in auparse, partially fixes bug #142812
Original commit message from CVS:
fix int and float audio caps in auparse, partially fixes bug #142812
2004-12-19 16:54:46 +00:00
Ronald S. Bultje
328abe52c4 sys/: g_assert() can be a macro, don't use #ifdef inside it.
Original commit message from CVS:
* sys/v4l/gstv4lelement.c: (gst_v4l_iface_supported):
* sys/v4l2/gstv4l2element.c: (gst_v4l2_iface_supported):
g_assert() can be a macro, don't use #ifdef inside it.
2004-12-19 16:46:21 +00:00
Ronald S. Bultje
736bcb6ff7 gst/videorate/gstvideorate.c: Event handling (fixes #159986).
Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* gst/videorate/gstvideorate.c: (gst_videorate_blank_data),
(gst_videorate_init), (gst_videorate_chain),
(gst_videorate_change_state):
Event handling (fixes #159986).
2004-12-19 13:16:24 +00:00
Ronald S. Bultje
0f283b0c8c gst-libs/gst/riff/riff-media.c: Add BLZ0 (Blizzard's version of DivX) fourcc.
Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c:
(gst_riff_create_video_caps_with_data):
Add BLZ0 (Blizzard's version of DivX) fourcc.
2004-12-19 11:10:31 +00:00
David Schleef
fe741f7702 gst/tta/gstttadec.c: And yet another portability fix.
Original commit message from CVS:
* gst/tta/gstttadec.c: (gst_tta_dec_link): And yet another
portability fix.
2004-12-19 03:51:12 +00:00
David Schleef
ab3ae6f389 gst/tta/ttadec.h: Disable some header code that isn't used and clearly isn't portable.
Original commit message from CVS:
* gst/tta/ttadec.h: Disable some header code that isn't used
and clearly isn't portable.
2004-12-19 03:47:48 +00:00
David Schleef
c1108bea40 gst/ffmpegcolorspace/imgconvert.c: Fix code to not use GCC extensions (and c99 extensions that
Original commit message from CVS:
* gst/ffmpegcolorspace/imgconvert.c: (get_pix_fmt_info),
(avcodec_get_chroma_sub_sample), (avcodec_get_pix_fmt_name),
(avcodec_get_pix_fmt), (avpicture_layout),
(avcodec_get_pix_fmt_loss), (avg_bits_per_pixel), (img_copy),
(get_convert_table_entry), (img_convert), (img_get_alpha_info):
Fix code to not use GCC extensions (and c99 extensions that
Forte does not like.)
2004-12-19 03:20:26 +00:00
Ronald S. Bultje
54752ea6e0 gst/deinterlace/gstdeinterlace.c: Rowstride fixes. Fixes #161039.
Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* gst/deinterlace/gstdeinterlace.c: (gst_deinterlace_link),
(gst_deinterlace_chain):
Rowstride fixes. Fixes #161039.
* gst/videocrop/gstvideocrop.c: (gst_video_crop_init),
(gst_video_crop_get_property), (gst_video_crop_add_to_struct_val),
(gst_video_crop_getcaps), (gst_video_crop_link),
(gst_video_crop_i420), (gst_video_crop_chain),
(gst_video_crop_change_state):
Rework of negotiation. Actually works now. Fixes #158650.
2004-12-18 23:43:47 +00:00
Ronald S. Bultje
f16a6fa764 gst/matroska/matroska-demux.c: That was very stupid.
Original commit message from CVS:
* gst/matroska/matroska-demux.c: (gst_matroska_ebmlnum_sint):
That was very stupid.
2004-12-18 22:53:29 +00:00
Ronald S. Bultje
d209b3de10 gst/matroska/matroska-demux.c: Fix possible crasher.
Original commit message from CVS:
* gst/matroska/matroska-demux.c:
(gst_matroska_demux_parse_blockgroup):
Fix possible crasher.
2004-12-18 22:47:47 +00:00
Ronald S. Bultje
59726ae2df gst/matroska/matroska-demux.c: Lace sizes can be zero.
Original commit message from CVS:
* gst/matroska/matroska-demux.c: (gst_matroska_ebmlnum_uint),
(gst_matroska_ebmlnum_sint), (gst_matroska_demux_parse_blockgroup):
Lace sizes can be zero.
2004-12-18 22:40:24 +00:00
Ronald S. Bultje
5297ba1a22 ext/musepack/gstmusepackdec.cpp: Fetch error return values. Fixes #161624.
Original commit message from CVS:
* ext/musepack/gstmusepackdec.cpp:
Fetch error return values. Fixes #161624.
* gst/apetag/apedemux.c: (gst_ape_demux_stream_data):
Really EOS.
2004-12-18 21:56:46 +00:00
Ronald S. Bultje
a4bf155817 gst/avi/gstavidemux.c: Work for truncated (unfinished download etc.) files. Fixes #160514.
Original commit message from CVS:
* gst/avi/gstavidemux.c: (gst_avi_demux_stream_index):
Work for truncated (unfinished download etc.) files. Fixes #160514.
2004-12-18 19:36:59 +00:00
Ronald S. Bultje
9d418cd3b9 ext/alsa/gstalsasink.c: Fix for integer overflow. Makes #156001 not crash. Probably masks the real bug.
Original commit message from CVS:
* ext/alsa/gstalsasink.c: (gst_alsa_sink_loop):
Fix for integer overflow. Makes #156001 not crash. Probably masks
the real bug.
2004-12-18 15:09:27 +00:00
Ronald S. Bultje
33fd94402e gst/ac3parse/gstac3parse.c: Parsers never have ranks. Fixes #159651.
Original commit message from CVS:
* gst/ac3parse/gstac3parse.c: (plugin_init):
Parsers never have ranks. Fixes #159651.
2004-12-17 17:09:24 +00:00
Benjamin Otte
a593e140fc gst/playback/gstdecodebin.c: make sure the facotries are ordered the same every time even if they have the same rank ...
Original commit message from CVS:
* gst/playback/gstdecodebin.c: (compare_ranks):
make sure the facotries are ordered the same every time even if they
have the same rank by using the name
* gst/playback/gstdecodebin.c: (find_compatibles):
make sure we don't add factories to the list twice
2004-12-17 17:02:53 +00:00
David Schleef
4426ebf5e2 configure.ac: look for musepack headers as musepack/*.h (fixes #159847)
Original commit message from CVS:
* configure.ac: look for musepack headers as musepack/*.h
(fixes #159847)
* ext/musepack/gstmusepackdec.h: use <musepack/*.h>
* ext/musepack/gstmusepackreader.h: same
2004-12-17 01:10:30 +00:00
Ronald S. Bultje
2654874a19 gst-libs/gst/riff/riff-read.c: Read extradata correctly (fixes #155879).
Original commit message from CVS:
* gst-libs/gst/riff/riff-read.c:
(gst_riff_read_strf_auds_with_data):
Read extradata correctly (fixes #155879).
2004-12-16 23:57:25 +00:00
David Schleef
66b090da87 gst/audioscale/gstaudioscale.c: allow passthru of >2 channel audio. does _not_ attempt or allow conversion unless ch...
Original commit message from CVS:
* gst/audioscale/gstaudioscale.c: allow passthru of >2 channel
audio.  does _not_ attempt or allow conversion unless channels
is 1 or 2.
2004-12-16 23:44:38 +00:00
Christian Schaller
59ada9bc12 fix mpeg and vob pipelines, others are still borked though
Original commit message from CVS:
fix mpeg and vob pipelines, others are still borked though
2004-12-16 22:37:31 +00:00
David Schleef
3eeb053468 gst/audioscale/gstaudioscale.c: the resample library only handles 1 or 2 channels. Change caps to compensate.
Original commit message from CVS:
* gst/audioscale/gstaudioscale.c: the resample library only
handles 1 or 2 channels.  Change caps to compensate.
2004-12-16 22:33:53 +00:00
Ronald S. Bultje
b76bb4154e gst/matroska/matroska-demux.c: Some MPEG-AAC hacks, because else it doesn't work...
Original commit message from CVS:
* gst/matroska/matroska-demux.c: (aac_rate_idx), (aac_profile_idx),
(gst_matroska_demux_audio_caps):
Some MPEG-AAC hacks, because else it doesn't work...
2004-12-16 22:16:02 +00:00
Ronald S. Bultje
7e322d1230 gst-libs/gst/riff/riff-media.c: Add h264.
Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c:
(gst_riff_create_video_caps_with_data),
(gst_riff_create_video_template_caps):
Add h264.
2004-12-16 20:29:59 +00:00
Ronald S. Bultje
57c6a6ea32 gst-libs/gst/audio/Makefile.am: Try to fix buildbot.
Original commit message from CVS:
* gst-libs/gst/audio/Makefile.am:
Try to fix buildbot.
2004-12-16 19:45:32 +00:00
Thomas Vander Stichele
b76924711b cleanup and uniformize debugging
Original commit message from CVS:
cleanup and uniformize debugging
2004-12-16 19:41:28 +00:00
Ronald S. Bultje
cb2d771bbe gst/mpegstream/: Reset on ready. Fixes 160276.
Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* gst/mpegstream/gstdvddemux.c: (gst_dvd_demux_class_init),
(gst_dvd_demux_reset), (gst_dvd_demux_change_state):
* gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_reset),
(gst_mpeg_demux_change_state):
Reset on ready. Fixes 160276.
2004-12-16 12:54:04 +00:00
Ronald S. Bultje
53ef20bc7c gst/ffmpegcolorspace/gstffmpegcolorspace.c: Fix memleak (#154815).
Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* gst/ffmpegcolorspace/gstffmpegcolorspace.c:
(gst_ffmpegcsp_pad_link):
Fix memleak (#154815).
2004-12-16 12:27:05 +00:00
Ronald S. Bultje
52c1b0ca0a ext/musicbrainz/gsttrm.*: Add support for using a proxy server when getting a trm id from the MusicBrainz database (#...
Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* ext/musicbrainz/gsttrm.c: (gst_musicbrainz_class_init),
(gst_musicbrainz_init), (gst_musicbrainz_chain),
(gst_musicbrainz_set_property), (gst_musicbrainz_get_property):
* ext/musicbrainz/gsttrm.h:
Add support for using a proxy server when getting a trm id from
the MusicBrainz database (#149613).
2004-12-16 12:03:06 +00:00
Ronald S. Bultje
8a29a5fd36 gst/playback/: Fix memleaks (#157233).
Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* gst/playback/gstdecodebin.c: (new_pad), (close_link):
* gst/playback/gstplaybasebin.c: (new_decoded_pad):
Fix memleaks (#157233).
2004-12-16 11:54:53 +00:00
Ronald S. Bultje
2d4574837a gst/: Fix memleak (#159215).
Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* gst-libs/gst/resample/resample.c: (gst_resample_close):
* gst-libs/gst/resample/resample.h:
* gst/audioscale/gstaudioscale.c:
Fix memleak (#159215).
2004-12-16 11:39:00 +00:00
Ronald S. Bultje
64ed8f9735 sys/oss/: fixes #159433. Also add missing copyright header to oss_probe.c.
Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* sys/oss/gstosselement.c: (gst_osselement_probe_caps):
* sys/oss/oss_probe.c: (main):
Check for mono/stereo support (similar to samplerate probing),
fixes #159433. Also add missing copyright header to oss_probe.c.
2004-12-16 11:34:54 +00:00
David Schleef
0163a876c0 configure.ac: add audioresample and cairo plugins. Remove
Original commit message from CVS:
* configure.ac: add audioresample and cairo plugins.  Remove
HAVE_MMX stuff, because it's not used.
* ext/Makefile.am: same
* ext/audioresample/Makefile.am: You are not ready for an
audio resampling element based on audioresample.
* ext/audioresample/gstaudioresample.c:
* ext/audioresample/gstaudioresample.h:
* ext/cairo/Makefile.am: You are not ready for overlay elements
based on cairo.  Don't look too closely, these elements kinda
suck right now.
* ext/cairo/gstcairo.c: new
* ext/cairo/gsttextoverlay.c: new
* ext/cairo/gsttextoverlay.h: new
* ext/cairo/gsttimeoverlay.c: new
* ext/cairo/gsttimeoverlay.h: new
* gst-libs/gst/media-info/media-info-priv.h: fix compile
problem with compilers that don't support variadic macros.
2004-12-16 05:32:07 +00:00
David Schleef
4c750ac965 sys/sunaudio/gstsunaudio.c: Apply patch from and cleaning up code a bit. Also ran indent-gst.
Original commit message from CVS:
Reviewed by:  David Schleef  <ds@schleef.org>
* sys/sunaudio/gstsunaudio.c: (plugin_init):  Apply patch from
Bala, registering sunaudiosrc (oops!), and cleaning up code a
bit.  Also ran indent-gst.
* sys/sunaudio/gstsunaudiosrc.c: (gst_sunaudiosrc_init),
(gst_sunaudiosrc_change_state), (gst_sunaudiosrc_get),
(gst_sunaudiosrc_setparams):
2004-12-15 18:23:31 +00:00
David Schleef
ed4d0d3524 gst/festival/gstfestival.c: Set the output rate to 16000. Should fix #160235.
Original commit message from CVS:
* gst/festival/gstfestival.c: (gst_festival_chain): Set the
output rate to 16000.  Should fix #160235.
2004-12-15 03:59:26 +00:00
Zaheer Abbas Merali
628695abe4 gst/typefind/gsttypefindfunctions.c: Add typefinding for mpeg2 pes streams
Original commit message from CVS:
2004-12-14  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

* gst/typefind/gsttypefindfunctions.c: (mpeg2_sys_type_find):
Add typefinding for mpeg2 pes streams
2004-12-14 16:34:44 +00:00
David Schleef
058d9f42b3 configure.ac: Applied patch from bug #143659, making default and added code for OS/X.
Original commit message from CVS:
* configure.ac:  Applied patch from bug #143659, making default
sources and sinks OS-dependent (for Solaris), and added code
for OS/X.
* gconf/gstreamer.schemas.in: use OS-dependent sinks in gconf.
2004-12-14 06:43:30 +00:00
Stéphane Loeuillet
e627a17b61 forgot to add H264 to avidemux template caps
Original commit message from CVS:
forgot to add H264 to avidemux template caps
2004-12-13 18:09:34 +00:00
Stéphane Loeuillet
6bb25dba0b forgot to add h264 to avidemux caps
Original commit message from CVS:
forgot to add h264 to avidemux caps
2004-12-13 12:18:07 +00:00
Stéphane Loeuillet
2a5d5ee911 add VSSH (VideoSoft h264) and remove s323 (h323) from riff-lib because s323 is quicktime specific
Original commit message from CVS:
add VSSH (VideoSoft h264) and remove s323 (h323) from riff-lib
because s323 is quicktime specific
2004-12-13 12:11:57 +00:00
Stéphane Loeuillet
77f52f2943 add s263 4CC code to qtdemux too
Original commit message from CVS:
add s263 4CC code to qtdemux too
2004-12-13 00:54:14 +00:00
Stéphane Loeuillet
13cba6bffe gst/asfdemux/README gst/wavenc/riff.h gst-libs/gst/riff/riff-ids.h gst-libs/gst/riff/riff-media.c add new 4CC codes f...
Original commit message from CVS:
* gst/asfdemux/README
* gst/wavenc/riff.h
* gst-libs/gst/riff/riff-ids.h
* gst-libs/gst/riff/riff-media.c
add new 4CC codes for h263 related codecs
fixes partially bug #155163
2004-12-13 00:47:20 +00:00
Christian Schaller
fd1a08e15f merge patch from 158258
Original commit message from CVS:
merge patch from 158258
2004-12-12 12:05:38 +00:00
Zaheer Abbas Merali
056c1be37a gst/interleave/deinterleave.c: fix my name's spelling! :)
Original commit message from CVS:
2004-12-11  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

* gst/interleave/deinterleave.c:
fix my name's spelling! :)
2004-12-11 17:48:18 +00:00
Stéphane Loeuillet
c2fb1758ce put the same mail for Zaheer Merali everywhere (missing changelog entry from last commit)
Original commit message from CVS:
put the same mail for Zaheer Merali everywhere
(missing changelog entry from last commit)
2004-12-11 14:58:45 +00:00
Stéphane Loeuillet
e822442495 put the same mail for Zaheer Merali everywhere
Original commit message from CVS:
put the same mail for Zaheer Merali everywhere
2004-12-11 13:43:19 +00:00
Ronald S. Bultje
d51b48bd6e gst/asfdemux/gstasfdemux.c: Align by packetsize, and assert that we a packet available before playing. The first make...
Original commit message from CVS:
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_loop):
Align by packetsize, and assert that we a packet available before
playing. The first makes webstreams work (they often include
trailing padding data in a packet), the second allows pausing a
ASF stream in totem without getting demux errors afterwards.
2004-12-10 21:11:33 +00:00
Ronald S. Bultje
a24e4fb8e8 ext/ogg/gstoggdemux.c: Check for non-NULL before accessing member (end-of-chain).
Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (get_relative):
Check for non-NULL before accessing member (end-of-chain).
2004-12-09 15:57:39 +00:00
Ronald S. Bultje
b9666035a0 Synchronize property names where not yet the case. Devices are now device=X, other versions are deprecated (but still...
Original commit message from CVS:
* ext/cdparanoia/gstcdparanoia.c: (cdparanoia_class_init),
(cdparanoia_set_property), (cdparanoia_get_property):
* ext/dvdnav/dvdnavsrc.c: (dvdnavsrc_class_init),
(dvdnavsrc_set_property), (dvdnavsrc_get_property):
* ext/dvdread/dvdreadsrc.c: (dvdreadsrc_class_init),
(dvdreadsrc_init), (dvdreadsrc_set_property),
(dvdreadsrc_get_property):
* sys/vcd/vcdsrc.c: (gst_vcdsrc_class_init),
(gst_vcdsrc_set_property), (gst_vcdsrc_get_property):
Synchronize property names where not yet the case. Devices are
now device=X, other versions are deprecated (but still exist).
Also use g_free() unconditionally.
* gst/playback/gstplaybasebin.c: (gst_play_base_bin_class_init),
(setup_source), (gst_play_base_bin_get_property):
Expose source.
2004-12-09 12:57:28 +00:00
Thomas Vander Stichele
cc1acabb93 configure.ac: move GCONF macro outside conditional for the am conditional. Fixes #160439
Original commit message from CVS:
2004-12-09  Thomas Vander Stichele  <thomas at apestaart dot org>

* configure.ac: move GCONF macro outside conditional for the am
conditional. Fixes #160439
2004-12-09 11:54:10 +00:00
David Schleef
10cdb486f1 tools/gst-visualise-m.m: Switch to elements that currently exist.
Original commit message from CVS:
* tools/gst-visualise-m.m: Switch to elements that currently
exist.
2004-12-08 22:43:08 +00:00
Ronald S. Bultje
30bf8bbf9b ext/ogg/gstogmparse.c: We love wrong commas.
Original commit message from CVS:
* ext/ogg/gstogmparse.c: (gst_ogm_parse_chain):
We love wrong commas.
2004-12-08 22:20:25 +00:00
Ronald S. Bultje
66b58bd6bb gst/matroska/matroska-demux.c: Don't set DEFAULT, unsupported - makes length display incorrectly in some cases.
Original commit message from CVS:
* gst/matroska/matroska-demux.c:
(gst_matroska_demux_handle_src_query):
Don't set DEFAULT, unsupported - makes length display incorrectly
in some cases.
2004-12-08 22:12:13 +00:00
Christian Schaller
fdbea2d6a7 fix licensing of monoscope
Original commit message from CVS:
fix licensing of monoscope
2004-12-07 17:22:19 +00:00
Christian Schaller
e08a835a4a fix licensing information for monoscope plugin
Original commit message from CVS:
fix licensing information for monoscope plugin
2004-12-07 10:32:11 +00:00
Arwed v. Merkatz
a9d5e7b74f set correct buffer durations in mp3parse, set default_duration in matroskamux for mpeg1 audio
Original commit message from CVS:
set correct buffer durations in mp3parse, set default_duration in matroskamux for mpeg1 audio
2004-12-06 19:32:33 +00:00
Benjamin Otte
cffd87dc29 ext/alsa/gstalsa.*: refactor big chunks of the core caps negotiation code to make it a lot faster, because people cla...
Original commit message from CVS:
* ext/alsa/gstalsa.c: (gst_alsa_get_caps), (gst_alsa_close_audio):
* ext/alsa/gstalsa.h:
refactor big chunks of the core caps negotiation code to make it
a lot faster, because people claim it's really slow
(actually, just cache the getcaps when the device is opened)
2004-12-06 16:10:06 +00:00
Ronald S. Bultje
fd2b4713a6 ext/a52dec/gsta52dec.*: Do something useful with timestamps. Make chain-based (since there's really no reason to be l...
Original commit message from CVS:
* ext/a52dec/gsta52dec.c: (gst_a52dec_init),
(gst_a52dec_handle_event), (gst_a52dec_update_streaminfo),
(gst_a52dec_handle_frame), (gst_a52dec_chain),
(gst_a52dec_change_state), (plugin_init):
* ext/a52dec/gsta52dec.h:
Do something useful with timestamps. Make chain-based (since
there's really no reason to be loopbased).
* gst/avi/gstavidemux.c: (gst_avi_demux_process_next_entry):
Update current_byte/frame correctly.
2004-12-06 10:28:13 +00:00
Ronald S. Bultje
d5e45b823d gst/apetag/apedemux.c: Forward tags, too.
Original commit message from CVS:
* gst/apetag/apedemux.c: (gst_ape_demux_parse_tags),
(gst_ape_demux_stream_init):
Forward tags, too.
2004-12-04 12:05:33 +00:00
Ronald S. Bultje
586b84acac gst/apetag/apedemux.c: Let's make sure we're done typefinding when detecting tags.
Original commit message from CVS:
* gst/apetag/apedemux.c: (gst_ape_demux_stream_init):
Let's make sure we're done typefinding when detecting tags.
2004-12-04 11:44:47 +00:00
Ronald S. Bultje
75ff7535dd gst/matroska/: Disgustingly evil hack for working around INTERRUPT events and their extremely annoying habit of being...
Original commit message from CVS:
* gst/matroska/ebml-read.c: (gst_ebml_read_class_init),
(gst_ebml_read_init), (gst_ebml_read_use_event),
(gst_ebml_read_element_id), (gst_ebml_peek_id),
(gst_ebml_read_seek), (gst_ebml_read_skip),
(gst_ebml_read_reserve), (gst_ebml_read_buffer),
(gst_ebml_read_master):
* gst/matroska/ebml-read.h:
* gst/matroska/matroska-demux.c:
(gst_matroska_demux_parse_contents),
(gst_matroska_demux_loop_stream), (gst_matroska_demux_audio_caps):
Disgustingly evil hack for working around INTERRUPT events and
their extremely annoying habit of being a pain in the ass. We
simply peek a cluster before reading any of it.
2004-12-03 21:08:17 +00:00
Ronald S. Bultje
5d986b1772 ext/musepack/gstmusepackdec.cpp: There's also floating point libmusepacks.
Original commit message from CVS:
* ext/musepack/gstmusepackdec.cpp:
There's also floating point libmusepacks.
2004-12-03 18:13:43 +00:00
Ronald S. Bultje
9163c899fd ext/faad/gstfaad.c: Set DURATION even if source buffer didn't. Also use increasing timestamps.
Original commit message from CVS:
* ext/faad/gstfaad.c: (gst_faad_chanpos_from_gst),
(gst_faad_chanpos_to_gst), (gst_faad_chain):
Set DURATION even if source buffer didn't. Also use increasing
timestamps.
* gst-libs/gst/riff/riff-media.c:
(gst_riff_create_audio_caps_with_data):
Block_align can have larger values than 8192.
2004-12-03 15:34:19 +00:00
Ronald S. Bultje
9743f9532f gst/law/: Fix caps.
Original commit message from CVS:
* gst/law/alaw-decode.c: (alawdec_getcaps), (alawdec_link):
* gst/law/alaw-encode.c: (alawenc_getcaps), (alawenc_link):
* gst/law/mulaw-decode.c: (mulawdec_getcaps), (mulawdec_link):
* gst/law/mulaw-encode.c: (mulawenc_getcaps), (mulawenc_link):
Fix caps.
2004-12-02 17:38:59 +00:00
Ronald S. Bultje
d5b99dda83 sys/v4l/v4l_calls.c: Fix logic bug.
Original commit message from CVS:
* sys/v4l/v4l_calls.c: (gst_v4l_get_chan_names):
Fix logic bug.
2004-12-01 22:47:41 +00:00
Ronald S. Bultje
d7b00dac70 ext/ogg/gstoggdemux.c: Yay, another one.
Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_type_find):
Yay, another one.
2004-12-01 21:45:27 +00:00
Ronald S. Bultje
95737cb47c ext/esd/esdsink.c: Make error actually say something useful (fixes #156798).
Original commit message from CVS:
* ext/esd/esdsink.c: (gst_esdsink_chain):
Make error actually say something useful (fixes #156798).
* gst-libs/gst/riff/riff-media.c:
(gst_riff_create_video_caps_with_data),
(gst_riff_create_video_template_caps):
Add Intel Video 5.0 fourcc (IV50).
2004-12-01 20:42:01 +00:00
Christophe Fergeau
8ffc3a840a ext/mad/gstmad.c: fix xing header detection on mono and stereo mp3 files.
Original commit message from CVS:
2004-12-01  Christophe Fergeau  <teuf@gnome.org>

* ext/mad/gstmad.c: (mpg123_parse_xing_header): fix xing header
detection on mono and stereo mp3 files.
2004-12-01 20:07:24 +00:00
Ronald S. Bultje
b12ee94342 gst/playback/gstplaybasebin.c: Don't crash on EMPTY caps (e.g. when the demuxer didn't recognize the contained stream).
Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (gst_play_base_bin_change_state):
Don't crash on EMPTY caps (e.g. when the demuxer didn't recognize
the contained stream).
2004-12-01 17:58:19 +00:00
Ronald S. Bultje
cd584f477d ext/faad/gstfaad.c: Oops, remove debug.
Original commit message from CVS:
* ext/faad/gstfaad.c: (gst_faad_srcconnect), (gst_faad_chain):
Oops, remove debug.
2004-12-01 16:07:43 +00:00
Ronald S. Bultje
c30aaaef6b gst/law/: Prevent warnings when negotiating caps (fixes #159338).
Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* gst/law/alaw-decode.c: (alawdec_getcaps):
* gst/law/mulaw-decode.c: (mulawdec_getcaps):
Prevent warnings when negotiating caps (fixes #159338).
2004-12-01 15:18:35 +00:00
Ronald S. Bultje
40bbfd958c gst/ffmpegcolorspace/gstffmpegcolorspace.c: Remove old leftover that shouldn't be there...
Original commit message from CVS:
* gst/ffmpegcolorspace/gstffmpegcolorspace.c:
(gst_ffmpegcsp_chain):
Remove old leftover that shouldn't be there...
2004-12-01 15:13:46 +00:00
Ronald S. Bultje
156fb78614 gst-libs/gst/riff/riff-read.c: Don't forward DISCONT events (fixes #159684).
Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* gst-libs/gst/riff/riff-read.c: (gst_riff_read_use_event):
Don't forward DISCONT events (fixes #159684).
2004-12-01 13:23:39 +00:00
Ronald S. Bultje
ee619560a0 gst/playback/gstplaybin.c: Unlink manually since sometimes bin disposal (and therefore pad unlinking) is delayed, whi...
Original commit message from CVS:
* gst/playback/gstplaybin.c: (remove_sinks), (setup_sinks):
Unlink manually since sometimes bin disposal (and therefore
pad unlinking) is delayed, which will cause a new media file
to not be able to start playing instantly.
2004-12-01 13:14:56 +00:00
Ronald S. Bultje
24f345647d gst/playback/gststreaminfo.c: On mute of an unlinked stream, check for pad availability so we don't crash on unlinked...
Original commit message from CVS:
* gst/playback/gststreaminfo.c: (stream_info_mute_pad):
On mute of an unlinked stream, check for pad availability so
we don't crash on unlinked pad.
2004-11-29 17:01:34 +00:00
Ronald S. Bultje
9506620fe2 gst/avi/gstavidemux.c: Fix quite humiliating bug in omitting 0-sized index chunks but forgetting to count them for ti...
Original commit message from CVS:
* gst/avi/gstavidemux.c: (gst_avi_demux_stream_index),
(gst_avi_demux_massage_index):
Fix quite humiliating bug in omitting 0-sized index chunks but
forgetting to count them for timestamps.
2004-11-29 12:41:03 +00:00
Ronald S. Bultje
1b3995f5c2 ext/a52dec/gsta52dec.c: Actually leave the loop if we failed to sync. Don't crash.
Original commit message from CVS:
* ext/a52dec/gsta52dec.c: (gst_a52dec_loop):
Actually leave the loop if we failed to sync. Don't crash.
2004-11-29 11:16:47 +00:00
Ronald S. Bultje
dc1c02d631 gst/mpegstream/gstdvddemux.*: Fix crash (#159759). Doesn't work, though. :-(.
Original commit message from CVS:
* gst/mpegstream/gstdvddemux.c: (gst_dvd_demux_get_audio_stream),
(gst_dvd_demux_process_private):
* gst/mpegstream/gstdvddemux.h:
Fix crash (#159759). Doesn't work, though. :-(.
2004-11-28 21:18:18 +00:00
Benjamin Otte
697fd440b3 gst/audioconvert/gstchannelmix.c: more overwriting protection due to modifying channels one by one instead of all at ...
Original commit message from CVS:
* gst/audioconvert/gstchannelmix.c: (gst_audio_convert_mix):
more overwriting protection due to modifying channels one by one
instead of all at once
2004-11-28 20:41:23 +00:00
Ronald S. Bultje
747ca84063 gst/audioconvert/gstchannelmix.c: Normalize using absolute values.
Original commit message from CVS:
* gst/audioconvert/gstchannelmix.c:
(gst_audio_convert_fill_normalize):
Normalize using absolute values.
2004-11-28 19:22:07 +00:00
Julien Moutte
29ae3ce678 Adding a first version of directfbvideosink.
Original commit message from CVS:
2004-11-28  Julien MOUTTE  <julien@moutte.net>

* configure.ac:
* ext/Makefile.am:
* ext/directfb/Makefile.am:
* ext/directfb/directfbvideosink.c: (gst_directfbvideosink_create),
(gst_directfbvideosink_get_pixel_format),
(gst_directfbvideosink_get_format_from_fourcc),
(gst_directfbvideosink_fixate), (gst_directfbvideosink_getcaps),
(gst_directfbvideosink_sink_link),
(gst_directfbvideosink_change_state),
(gst_directfbvideosink_chain), (gst_directfbvideosink_buffer_free),
(gst_directfbvideosink_buffer_alloc),
(gst_directfbvideosink_interface_supported),
(gst_directfbvideosink_interface_init),
(gst_directfbvideosink_navigation_send_event),
(gst_directfbvideosink_navigation_init),
(gst_directfbvideosink_set_property),
(gst_directfbvideosink_get_property),
(gst_directfbvideosink_finalize), (gst_directfbvideosink_init),
(gst_directfbvideosink_base_init),
(gst_directfbvideosink_class_init),
(gst_directfbvideosink_get_type), (plugin_init):
* ext/directfb/directfbvideosink.h: Adding a first version of
directfbvideosink.
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_init): Initializing some
more.
2004-11-28 19:08:44 +00:00
Benjamin Otte
d1f4213160 gst/audioconvert/gstchannelmix.c: walk the samples backwards if out_channels > in_channels so we don't overwrite data
Original commit message from CVS:
* gst/audioconvert/gstchannelmix.c: (gst_audio_convert_mix):
walk the samples backwards if out_channels > in_channels so we don't
overwrite data
2004-11-28 18:26:36 +00:00
Ronald S. Bultje
7ef236f009 gst/audioconvert/: Implement a channel mixer.
Original commit message from CVS:
* gst/audioconvert/Makefile.am:
* gst/audioconvert/gstaudioconvert.c: (gst_audio_convert_init),
(gst_audio_convert_link), (gst_audio_convert_change_state),
(gst_audio_convert_channels):
* gst/audioconvert/gstchannelmix.c:
(gst_audio_convert_unset_matrix),
(gst_audio_convert_fill_identical),
(gst_audio_convert_fill_compatible),
(gst_audio_convert_detect_pos), (gst_audio_convert_fill_one_other),
(gst_audio_convert_fill_others),
(gst_audio_convert_fill_normalize),
(gst_audio_convert_fill_matrix), (gst_audio_convert_setup_matrix),
(gst_audio_convert_passthrough), (gst_audio_convert_mix):
* gst/audioconvert/gstchannelmix.h:
Implement a channel mixer.
2004-11-28 16:09:13 +00:00
Martin Soto
90570450af ext/alsa/: Make alsasink actually honor gst_element_set_clock and use that clock instead of ist internal one.
Original commit message from CVS:
2004-11-28  Martin Soto  <martinsoto@users.sourceforge.net>

* ext/alsa/gstalsasink.c (gst_alsa_sink_loop):
* ext/alsa/gstalsa.h:
* ext/alsa/gstalsa.c (gst_alsa_set_clock):
Make alsasink actually honor gst_element_set_clock and use that
clock instead of ist internal one.
2004-11-28 13:35:43 +00:00
Christophe Fergeau
d43b3b4573 gst/playback/gstplaybasebin.c: fixed a caps leak nullify source and decoder when going from READY to NULL so that we ...
Original commit message from CVS:
2004-11-27  Christophe Fergeau  <teuf@gnome.org>

* gst/playback/gstplaybasebin.c: (setup_source): fixed a caps leak
(gst_play_base_bin_change_state): nullify source and decoder when
going from READY to NULL so that we don't try to do weird stuff with
them when going from NULL to READY
* gst/playback/gstplaybin.c: (gst_play_bin_init): use gst_object_unref
instead of g_object_unref
(gen_video_element), (gen_audio_element): more refcounting fixes, now
it should be correct
(gst_play_bin_change_state): don't call remove_sinks if we are
currently disposing the object
2004-11-27 20:28:27 +00:00
Ronald S. Bultje
c991d4dbfd ext/a52dec/gsta52dec.c: Don't forget bass if it's there. Else left channel is silent...
Original commit message from CVS:
* ext/a52dec/gsta52dec.c: (gst_a52dec_loop):
Don't forget bass if it's there. Else left channel is silent...
2004-11-27 20:27:18 +00:00
Ronald S. Bultje
077382dd30 ext/a52dec/gsta52dec.c: Don't do sample adjusting anymore, we use float audio now.
Original commit message from CVS:
* ext/a52dec/gsta52dec.c: (gst_a52dec_loop),
(gst_a52dec_change_state):
Don't do sample adjusting anymore, we use float audio now.
* gst/audioconvert/gstaudioconvert.c: (gst_audio_convert_fixate):
Don't fixate to non-existing properties.
2004-11-27 20:22:42 +00:00
Ronald S. Bultje
50a40bc79d ext/a52dec/gsta52dec.c: Advertise that we can do surround sound.
Original commit message from CVS:
* ext/a52dec/gsta52dec.c: (gst_a52dec_channels),
(gst_a52dec_change_state):
Advertise that we can do surround sound.
2004-11-27 19:41:26 +00:00
Ronald S. Bultje
fca0dbfe87 ext/a52dec/gsta52dec.c: Add buffer-frames=0.
Original commit message from CVS:
* ext/a52dec/gsta52dec.c: (gst_a52dec_reneg):
Add buffer-frames=0.
* ext/dvdread/dvdreadsrc.c: (dvdreadsrc_get_type),
(dvdreadsrc_init), (dvdreadsrc_get_event_mask),
(dvdreadsrc_get_query_types), (dvdreadsrc_get_formats),
(dvdreadsrc_srcpad_event), (dvdreadsrc_srcpad_query),
(_seek_title), (_seek_chapter), (get_next_cell_for), (_read),
(seek_sector), (dvdreadsrc_get), (dvdreadsrc_open_file),
(dvdreadsrc_change_state), (dvdreadsrc_uri_get_type),
(dvdreadsrc_uri_get_protocols), (dvdreadsrc_uri_get_uri),
(dvdreadsrc_uri_set_uri), (dvdreadsrc_uri_handler_init):
* ext/dvdread/dvdreadsrc.h:
Add seeking, querying for bytes, sectors, title, angle and
chapter. Handle multiple chapters. Relicense to LGPL because
Billy agreed on that (thanks Billy!).
2004-11-27 17:20:26 +00:00
Christophe Fergeau
17efaf00d4 gst/audioconvert/gstaudioconvert.c: call parent dispose method
Original commit message from CVS:
2004-11-27  Christophe Fergeau  <teuf@gnome.org>

* gst/audioconvert/gstaudioconvert.c: (gst_audio_convert_dispose):
call parent dispose method
2004-11-27 14:41:51 +00:00
Martin Soto
de15c50800 gst-libs/gst/audio/audioclock.c (gst_audio_clock_set_active)
Original commit message from CVS:
2004-11-27  Martin Soto  <martinsoto@users.sourceforge.net>

* gst-libs/gst/audio/audioclock.c (gst_audio_clock_set_active)
(gst_audio_clock_get_internal_time):
Fix active <-> inactive transitions: ensure time value always
grows and avoid abrupt value changes.
2004-11-27 09:37:20 +00:00
Arwed v. Merkatz
44aa07eb16 added TTA parser and decoder
Original commit message from CVS:
added TTA parser and decoder
2004-11-26 23:10:28 +00:00
Ronald S. Bultje
dcb5fdae82 gst/playback/gstplaybasebin.*: Implement buffering. Needs some more work.
Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (gst_play_base_bin_class_init),
(probe_triggered), (check_queue), (buffer_underrun),
(buffer_running), (buffer_overrun), (gen_source_element),
(setup_source):
* gst/playback/gstplaybasebin.h:
Implement buffering. Needs some more work.
2004-11-26 12:31:04 +00:00
Ronald S. Bultje
cff745a05a ext/theora/theoradec.c: Fix ilog mask range overflow.
Original commit message from CVS:
* ext/theora/theoradec.c: (theora_dec_chain):
Fix ilog mask range overflow.
2004-11-26 12:25:43 +00:00
Ronald S. Bultje
edb4cedd04 ext/alsa/gstalsa.c: Don't omit the last (which incase of dmix is the only :) ) channel count. Don't set channels if <...
Original commit message from CVS:
* ext/alsa/gstalsa.c: (gst_alsa_get_caps):
Don't omit the last (which incase of dmix is the only :) )
channel count. Don't set channels if <= 2.
2004-11-26 11:47:24 +00:00
Christophe Fergeau
f600fbfa6c gst/playback/gstplaybin.c: Removed 2 obsolete comments
Original commit message from CVS:
2004-11-26  Christophe Fergeau  <teuf@gnome.org>

* gst/playback/gstplaybin.c: (gen_video_element),
(gen_audio_element): Removed 2 obsolete comments
2004-11-26 11:35:47 +00:00
Stéphane Loeuillet
20f535041d ext/vorbis/oggvorbisenc.c
Original commit message from CVS:
* ext/vorbis/oggvorbisenc.c
* ext/vorbis/vorbisenc.c :
change description fields of those plugins to differentiate them
(pitivi show Encoders by description, they had the same one)
2004-11-26 11:28:11 +00:00
Ronald S. Bultje
e6fd506a85 gst/playback/gstplaybin.c: Refcounting fixes for provided audio-/videosinks.
Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* gst/playback/gstplaybin.c: (gst_play_bin_dispose),
(gst_play_bin_set_property), (gen_video_element),
(gen_audio_element):
Refcounting fixes for provided audio-/videosinks.
2004-11-25 20:52:14 +00:00
Ronald S. Bultje
861797e0a3 gst/playback/gstplaybin.c: Don't reference all sinks, but only the video- and audiosinks.
Original commit message from CVS:
* gst/playback/gstplaybin.c: (gen_video_element),
(gen_audio_element), (setup_sinks), (gst_play_bin_change_state):
Don't reference all sinks, but only the video- and audiosinks.
The vis. element should be disposed when we're done with it.
We don't have any reason to keep it around. This fixes warnings
when reusing playbin for playing multiple audio files with
vis. enabled. Also release audio device on pause - idea stolen
from Rhythmbox.
2004-11-25 20:46:55 +00:00
Ronald S. Bultje
ef4f455f9f Surround sound support.
Original commit message from CVS:
* ext/a52dec/gsta52dec.c: (gst_a52dec_channels), (gst_a52dec_push),
(gst_a52dec_reneg), (gst_a52dec_loop), (plugin_init):
* ext/alsa/gstalsa.c: (gst_alsa_get_caps):
* ext/alsa/gstalsaplugin.c: (plugin_init):
* ext/dts/gstdtsdec.c: (gst_dtsdec_channels),
(gst_dtsdec_renegotiate), (gst_dtsdec_loop), (plugin_init):
* ext/faad/gstfaad.c: (gst_faad_init), (gst_faad_chanpos_from_gst),
(gst_faad_chanpos_to_gst), (gst_faad_sinkconnect),
(gst_faad_srcgetcaps), (gst_faad_srcconnect), (gst_faad_chain),
(gst_faad_change_state), (plugin_init):
* ext/faad/gstfaad.h:
* ext/vorbis/vorbis.c: (plugin_init):
* ext/vorbis/vorbisdec.c: (vorbis_dec_chain):
* gst-libs/gst/audio/Makefile.am:
* gst-libs/gst/audio/audio.c: (plugin_init):
* gst-libs/gst/audio/multichannel.c:
(gst_audio_check_channel_positions),
(gst_audio_get_channel_positions),
(gst_audio_set_channel_positions),
(gst_audio_set_structure_channel_positions_list),
(add_list_to_struct), (gst_audio_set_caps_channel_positions_list),
(gst_audio_fixate_channel_positions):
* gst-libs/gst/audio/multichannel.h:
* gst-libs/gst/audio/testchannels.c: (main):
* gst/audioconvert/gstaudioconvert.c:
(gst_audio_convert_class_init), (gst_audio_convert_init),
(gst_audio_convert_dispose), (gst_audio_convert_getcaps),
(gst_audio_convert_parse_caps), (gst_audio_convert_link),
(gst_audio_convert_fixate), (gst_audio_convert_channels):
* gst/audioconvert/plugin.c: (plugin_init):
Surround sound support.
2004-11-25 20:36:28 +00:00
Ronald S. Bultje
f1e74600ce ext/ogg/gstoggdemux.c: Fix position for discont if we're close as well. Nitpicking, but saves a few milliseconds of e...
Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_push):
Fix position for discont if we're close as well. Nitpicking, but
saves a few milliseconds of extra waiting or skipping.
2004-11-25 20:31:22 +00:00
Ronald S. Bultje
98adb49cdc gst/playback/gstdecodebin.c: We sometimes need parsers for playback, so add those too.
Original commit message from CVS:
* gst/playback/gstdecodebin.c: (gst_decode_bin_factory_filter):
We sometimes need parsers for playback, so add those too.
2004-11-25 20:22:12 +00:00
Ronald S. Bultje
12c772eee4 APE v1/2 tag reader plus typefind function.
Original commit message from CVS:
* configure.ac:
* gst/apetag/Makefile.am:
* gst/apetag/apedemux.c: (gst_ape_demux_get_type),
(gst_ape_demux_base_init), (gst_ape_demux_class_init),
(gst_ape_demux_init), (gst_ape_demux_get_src_formats),
(gst_ape_demux_get_src_query_types),
(gst_ape_demux_handle_src_query), (gst_ape_demux_get_event_mask),
(gst_ape_demux_handle_src_event), (gst_ape_demux_handle_event),
(gst_ape_demux_typefind_peek), (gst_ape_demux_typefind_get_length),
(gst_ape_demux_typefind_suggest), (gst_ape_demux_typefind),
(gst_ape_demux_parse_tags), (gst_ape_demux_stream_init),
(gst_ape_demux_stream_data), (gst_ape_demux_loop),
(gst_ape_demux_change_state):
* gst/apetag/apedemux.h:
* gst/apetag/apetag.c: (plugin_init):
* gst/typefind/gsttypefindfunctions.c: (apetag_type_find),
(plugin_init):
APE v1/2 tag reader plus typefind function.
2004-11-25 20:14:32 +00:00
Ronald S. Bultje
d46fb44488 Remove hacks for older core. Require newer core version accordingly.
Original commit message from CVS:
* configure.ac:
* gst/playback/gstplaybasebin.c: (gst_play_base_bin_add_element):
* gst/typefind/gsttypefindfunctions.c: (mp3_type_find):
Remove hacks for older core. Require newer core version
accordingly.
2004-11-25 20:09:53 +00:00
Ronald S. Bultje
f19dbe3485 gst/cdxaparse/: SVCD/VCD header stripping separated from CDXA image parsing.
Original commit message from CVS:
* gst/cdxaparse/Makefile.am:
* gst/cdxaparse/gstcdxaparse.c: (gst_cdxaparse_get_type),
(gst_cdxaparse_class_init), (gst_cdxaparse_init),
(gst_cdxaparse_loop), (gst_cdxaparse_change_state), (plugin_init):
* gst/cdxaparse/gstcdxaparse.h:
* gst/cdxaparse/gstcdxastrip.c: (gst_cdxastrip_get_type),
(gst_cdxastrip_base_init), (gst_cdxastrip_class_init),
(gst_cdxastrip_init), (gst_cdxastrip_get_src_formats),
(gst_cdxastrip_get_src_query_types),
(gst_cdxastrip_handle_src_query), (gst_cdxastrip_get_event_mask),
(gst_cdxastrip_handle_src_event), (gst_cdxastrip_strip),
(gst_cdxastrip_sync), (gst_cdxastrip_handle_event),
(gst_cdxastrip_chain), (gst_cdxastrip_change_state):
* gst/cdxaparse/gstcdxastrip.h:
SVCD/VCD header stripping separated from CDXA image parsing.
* gst/typefind/gsttypefindfunctions.c: (mp3_type_find),
(plugin_init):
Add VCD/SVCD header typefinding for VCD/SVCD.
* sys/vcd/vcdsrc.c: (gst_vcdsrc_get_type), (gst_vcdsrc_base_init),
(gst_vcdsrc_class_init), (gst_vcdsrc_init),
(gst_vcdsrc_set_property), (gst_vcdsrc_get_property),
(gst_vcdsrc_get_event_mask), (gst_vcdsrc_get_query_types),
(gst_vcdsrc_get_formats), (gst_vcdsrc_srcpad_event),
(gst_vcdsrc_srcpad_query), (gst_vcdsrc_get),
(gst_vcdsrc_open_file), (gst_vcdsrc_close_file),
(gst_vcdsrc_change_state), (gst_vcdsrc_msf),
(gst_vcdsrc_recalculate), (gst_vcdsrc_uri_get_type),
(gst_vcdsrc_uri_get_protocols), (gst_vcdsrc_uri_get_uri),
(gst_vcdsrc_uri_set_uri), (gst_vcdsrc_uri_handler_init):
* sys/vcd/vcdsrc.h:
Fix up, add seeking, querying, URI interface. Works in totem now.
2004-11-25 20:03:51 +00:00
Thomas Vander Stichele
d113292bd1 back to cvs
Original commit message from CVS:
back to cvs
2004-11-25 19:03:24 +00:00
Thomas Vander Stichele
cf3890de96 releasing
Original commit message from CVS:
releasing
2004-11-25 18:55:57 +00:00
Ronald Bultje
3cccceed1c gst/playback/gstplaybasebin.c: Fix unplayable files error handling. Fixes #158365
Original commit message from CVS:
patch by: Ronald Bultje <rbultje@ronald.bitfreak.net>
* gst/playback/gstplaybasebin.c:
Fix unplayable files error handling.  Fixes #158365
2004-11-23 16:52:15 +00:00
Ronald Bultje
356758d129 gst/typefind/gsttypefindfunctions.c: Fix broken mp3 typefinding. Fixes #158375
Original commit message from CVS:
patch by: Ronald Bultje <rbultje@ronald.bitfreak.net>
* gst/typefind/gsttypefindfunctions.c:
Fix broken mp3 typefinding.  Fixes #158375
2004-11-23 16:50:41 +00:00
Ronald Bultje
d38f8a2585 ext/ogg/gstoggdemux.c: Fix sync on broken files. Fixes #158976
Original commit message from CVS:
patch by: Ronald Bultje <rbultje@ronald.bitfreak.net>
* ext/ogg/gstoggdemux.c:
Fix sync on broken files.  Fixes #158976
2004-11-23 15:24:28 +00:00
Edward Hervey
20bc7b33cc ext/libpng/gstpngenc.c: Copy over buffer properties. Fixes #158832
Original commit message from CVS:
patch by: Edward Hervey <bilboed@bilboed.com>
* ext/libpng/gstpngenc.c:
Copy over buffer properties.  Fixes #158832
2004-11-23 14:24:03 +00:00
Thomas Vander Stichele
7aba61963c ext/dvdread/dvdreadsrc.c: Fixes invalid reads (#158462)
Original commit message from CVS:
* ext/dvdread/dvdreadsrc.c:
Fixes invalid reads (#158462)
2004-11-23 12:49:59 +00:00
Thomas Vander Stichele
6523aff147 sys/v4l/: Probe less and cache it. Fixes #159187.
Original commit message from CVS:
* sys/v4l/gstv4lsrc.c:
* sys/v4l/gstv4lsrc.h:
* sys/v4l/v4lsrc_calls.c:
Probe less and cache it.  Fixes #159187.
2004-11-23 12:42:21 +00:00
Thomas Vander Stichele
8308bfda7b gst/videorate/gstvideorate.c: Handle all video formats. Fixes #159186.
Original commit message from CVS:
* gst/videorate/gstvideorate.c:
Handle all video formats. Fixes #159186.
2004-11-23 12:39:27 +00:00
Jan Schmidt
64245cda62 gst/synaesthesia/gstsynaesthesia.c: Fix up synaesthesia to work under different samplerates/ buffer sizes.
Original commit message from CVS:
* gst/synaesthesia/gstsynaesthesia.c:
(gst_synaesthesia_class_init), (gst_synaesthesia_init),
(gst_synaesthesia_dispose), (gst_synaesthesia_finalize),
(gst_synaesthesia_sink_link), (gst_synaesthesia_src_getcaps),
(gst_synaesthesia_src_link), (gst_synaesthesia_chain),
(gst_synaesthesia_change_state), (plugin_init):
Fix up synaesthesia to work under different samplerates/ buffer sizes.
Force 320x200 output, as that's the only thing the underlying
synaesthesia implementation supports. Still needs to be made
re-entrant.
2004-11-15 13:50:11 +00:00
Ronald S. Bultje
f720de88e0 configure.ac: Fix mpeg2enc configure check (similar to mplex check below).
Original commit message from CVS:
* configure.ac:
Fix mpeg2enc configure check (similar to mplex check below).
2004-11-14 11:12:00 +00:00
Ronald S. Bultje
423b598ccc gst/ffmpegcolorspace/gstffmpegcodecmap.c: Fix for gcc-2.95 (fixes #158221).
Original commit message from CVS:
reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* gst/ffmpegcolorspace/gstffmpegcodecmap.c:
Fix for gcc-2.95 (fixes #158221).
2004-11-14 10:35:36 +00:00
Ronald S. Bultje
f1926d6dde gst/playback/gstplaybasebin.c: Re-add clock distribution hack (until new core is released).
Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (gst_play_base_bin_add_element):
Re-add clock distribution hack (until new core is released).
Fixes #158125.
2004-11-13 15:20:09 +00:00
Arwed v. Merkatz
82a776d645 fix mplex configure check (bug #140994)
Original commit message from CVS:
fix mplex configure check (bug #140994)
2004-11-13 14:13:26 +00:00
Benjamin Otte
be213f63de ext/alsa/gstalsa.c: add debugging
Original commit message from CVS:
* ext/alsa/gstalsa.c: (gst_alsa_pcm_wait):
add debugging
* ext/alsa/gstalsasink.c: (gst_alsa_sink_loop):
do a wait when we enter the loop func with no data available to
write instead of getting into an 100% CPU loop by just returning and
being called again by the scheduler
2004-11-13 01:08:31 +00:00
Jan Schmidt
659b0d1798 Update libvisual to 0.1.7. Link in the debug handling to gstreamer
Original commit message from CVS:
* configure.ac:
* ext/libvisual/visual.c: (gst_visual_get_type),
(libvisual_log_handler), (gst_visual_getcaps),
(gst_visual_srclink), (gst_visual_change_state), (make_valid_name),
(plugin_init):
Update libvisual to 0.1.7. Link in the debug handling to gstreamer
* ext/smoothwave/Makefile.am:
* ext/smoothwave/demo-osssrc.c: (main):
* ext/smoothwave/gstsmoothwave.c: (gst_smoothwave_class_init),
(gst_smoothwave_init), (gst_smoothwave_dispose), (gst_sw_sinklink),
(gst_sw_srclink), (gst_smoothwave_chain), (gst_sw_change_state),
(plugin_init):
* ext/smoothwave/gstsmoothwave.h:
Make gstsmoothwave a working element in the 20th century.
* gst/chart/gstchart.c: (gst_chart_init), (gst_chart_srcconnect):
Fix incorrect link function
2004-11-12 17:37:49 +00:00
Ronald S. Bultje
3270fabe75 gst/volume/gstvolume.c: Allow buffer-frames=0.
Original commit message from CVS:
* gst/volume/gstvolume.c:
Allow buffer-frames=0.
2004-11-12 16:51:17 +00:00
Iain Holmes
4eb9052421 Added the polypaudio sink and hooked it into the build system.
Original commit message from CVS:
Added the polypaudio sink and hooked it into the build system.
2004-11-12 15:04:55 +00:00
Ronald S. Bultje
6d1d8a65f6 ext/alsa/gstalsasink.c: Fix for negotiation order problem. This would show when the
Original commit message from CVS:
* ext/alsa/gstalsasink.c: (gst_alsa_sink_loop):
Fix for negotiation order problem. This would show when the
ALSA loopfuction was called before any other function. ALSA
wouldn't do anything because we're not negotiated yet, leading
to an infinite loop. Showed in e.g. Rhythmbox. Fixes #158006.
2004-11-12 10:07:45 +00:00
Ronald S. Bultje
4d0deaeab4 ext/vorbis/vorbisdec.c: No warnings (#157986).
Original commit message from CVS:
reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* ext/vorbis/vorbisdec.c: (vorbis_dec_src_query):
No warnings (#157986).
2004-11-11 21:19:27 +00:00
Ronald S. Bultje
907bd55574 gst/typefind/gsttypefindfunctions.c: Prefer apev1/2 and id3v1 (at end of file) over musepack.
Original commit message from CVS:
* gst/typefind/gsttypefindfunctions.c: (plugin_init):
Prefer apev1/2 and id3v1 (at end of file) over musepack.
2004-11-11 21:05:47 +00:00
Ronald S. Bultje
780c4c1c86 gst/matroska/matroska-demux.c: Signal no-more-pads (so it works in playbin).
Original commit message from CVS:
* gst/matroska/matroska-demux.c: (gst_matroska_demux_loop_stream):
Signal no-more-pads (so it works in playbin).
2004-11-11 20:37:03 +00:00
Ronald S. Bultje
31d7cd659a ext/musepack/gstmusepackreader.cpp: Workaround for older core.
Original commit message from CVS:
* ext/musepack/gstmusepackreader.cpp:
Workaround for older core.
2004-11-11 17:43:30 +00:00
Ronald S. Bultje
9a07a042cb gst/ffmpegcolorspace/imgconvert.c: Actually test for odd width/height rather than testing whether a temporary variabl...
Original commit message from CVS:
* gst/ffmpegcolorspace/imgconvert.c: (yuv420p_to_yuv422):
Actually test for odd width/height rather than testing whether
a temporary variable that was 0 before we subtracted 1 is now
not equal to zero (which it always is).
2004-11-11 14:42:08 +00:00
Zaheer Abbas Merali
005ab557eb sys/v4l2/gstv4l2element.c: Fix compilation if HAVE_XVIDEO is not defined
Original commit message from CVS:
2004-11-11  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

* sys/v4l2/gstv4l2element.c: (gst_v4l2_iface_supported):
Fix compilation if HAVE_XVIDEO is not defined
2004-11-11 14:25:11 +00:00
Zaheer Abbas Merali
15a0dd5aac sys/v4l/gstv4lelement.c: Fix compilation if HAVE_XVIDEO is not defined
Original commit message from CVS:
2004-11-11  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

* sys/v4l/gstv4lelement.c: (gst_v4l_iface_supported):
Fix compilation if HAVE_XVIDEO is not defined
2004-11-11 14:20:16 +00:00
Jan Schmidt
7df4af3eae Use bytestream in goom for input samples
Original commit message from CVS:
Use bytestream in goom for input samples
Add a debug category
2004-11-11 11:21:07 +00:00
Ronald S. Bultje
fcc488c8a1 ext/alsa/gstalsa.c: Only set hardware parameters *after* negotiation. Before negotiation, it will set ANY and that se...
Original commit message from CVS:
* ext/alsa/gstalsa.c: (gst_alsa_change_state):
Only set hardware parameters *after* negotiation. Before
negotiation, it will set ANY and that seems to cause crashes
(see e.g. #151288, #153227).
2004-11-11 10:27:01 +00:00
Ronald S. Bultje
156b46b6d3 ext/alsa/gstalsasink.c: This seems to be antique leftover. It needs to pass error checking.
Original commit message from CVS:
* ext/alsa/gstalsasink.c: (gst_alsa_sink_get_time):
This seems to be antique leftover. It needs to pass error
checking.
* ext/sdl/sdlvideosink.c: (gst_sdlvideosink_init),
(gst_sdlvideosink_deinitsdl), (gst_sdlvideosink_initsdl),
(gst_sdlvideosink_destroy), (gst_sdlvideosink_create),
(gst_sdlvideosink_sinkconnect), (gst_sdlvideosink_chain):
Fix GstXOverlay implementation (#151059).
2004-11-10 22:01:19 +00:00
Ronald S. Bultje
577770d104 gst/playback/gstplaybasebin.c: Don't assert (#157853).
Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (gst_play_base_bin_change_state):
Don't assert (#157853).
2004-11-10 16:05:17 +00:00
Ronald S. Bultje
41ecc58805 ext/alsa/gstalsasink.c: Fix bytes/samples confustion.
Original commit message from CVS:
* ext/alsa/gstalsasink.c: (gst_alsa_sink_check_event),
Fix bytes/samples confustion.
(gst_alsa_sink_mmap), (gst_alsa_sink_loop):
Fix for underrun (#144389).
2004-11-10 14:53:49 +00:00
Ronald S. Bultje
5151a26ca6 gst/typefind/gsttypefindfunctions.c: Disable halfway-seek for pending release (since it needs a new core release).
Original commit message from CVS:
* gst/typefind/gsttypefindfunctions.c: (mp3_type_find):
Disable halfway-seek for pending release (since it needs a new
core release).
2004-11-09 21:06:11 +00:00
Thomas Vander Stichele
7c08095102 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
28e9dfce5f 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
116c9da363 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
5e5f93ce4a 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
cddd9ddf05 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:27 +00:00
Benjamin Otte
3a96fb6bf0 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
e454662c41 add italian (Luca Feretti)
Original commit message from CVS:
add italian (Luca Feretti)
2004-11-08 19:51:31 +00:00
Wim Taymans
b312957308 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
61e3063379 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:19 +00:00
Wim Taymans
151f5ac2c4 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
92eed86f00 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:06 +00:00
Wim Taymans
71ebb1575a 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
71fbda134d 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:14 +00:00
Ronald S. Bultje
6326cea374 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
428407a5f1 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
d1d5e6b49a 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
5ded3ee769 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:16 +00:00
David Schleef
025e619612 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
44fd870029 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:06 +00:00
Ronald S. Bultje
7fa54d624d 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:50 +00:00
Ronald S. Bultje
ab82dc6698 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
b62c9f411c 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:08 +00:00
Ronald S. Bultje
39940da795 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:41 +00:00
Thomas Vander Stichele
5cbc931fca 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
de06aec783 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
c1994936d0 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:49 +00:00
Wim Taymans
d14f98738d 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:18 +00:00
Benjamin Otte
0674c96ddb 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
2cf3753c85 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
Wim Taymans
38577c9a30 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
42b6135b3e 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
20f699aeef 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:13 +00:00
Wim Taymans
eb0a1c041f 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:14 +00:00
David Schleef
928610009f 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
bb35f41265 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:35 +00:00
Christophe Fergeau
b94fcd818c 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
9caa21262c 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
9888ea2990 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
Stefan Kost
cda239c8b4 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
ea8e39aa43 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
56443c3d45 Plug more leaks.
Original commit message from CVS:
Plug more leaks.
2004-11-01 10:38:29 +00:00
Benjamin Otte
cf36893502 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:01 +00:00
Benjamin Otte
4be52533ff 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:57 +00:00
Benjamin Otte
d2d39a7e66 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
bb04f3f315 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
Ronald S. Bultje
934c6cd9d5 gst/ffmpegcolorspace/: Sync back from gst-ffmpeg. Deprecates ffcolorspace. Adds pallette handling plus update from ff...
Original commit message from CVS:
* gst/ffmpegcolorspace/Makefile.am:
* gst/ffmpegcolorspace/avcodec.h:
* gst/ffmpegcolorspace/common.h:
* gst/ffmpegcolorspace/dsputil.c: (dsputil_static_init):
* gst/ffmpegcolorspace/dsputil.h:
* gst/ffmpegcolorspace/gstffmpeg.c: (plugin_init):
* gst/ffmpegcolorspace/gstffmpegcodecmap.c:
(gst_ffmpeg_get_palette), (gst_ffmpeg_set_palette),
(gst_ffmpeg_pixfmt_to_caps), (gst_ffmpeg_smpfmt_to_caps),
(gst_ffmpegcsp_codectype_to_caps), (gst_ffmpeg_caps_to_smpfmt),
(gst_ffmpeg_caps_to_pixfmt), (gst_ffmpegcsp_caps_with_codectype),
(gst_ffmpegcsp_avpicture_fill):
* gst/ffmpegcolorspace/gstffmpegcodecmap.h:
* gst/ffmpegcolorspace/gstffmpegcolorspace.c:
(gst_ffmpegcsp_caps_remove_format_info), (gst_ffmpegcsp_getcaps),
(gst_ffmpegcsp_pad_link), (gst_ffmpegcsp_get_type),
(gst_ffmpegcsp_base_init), (gst_ffmpegcsp_class_init),
(gst_ffmpegcsp_init), (gst_ffmpegcsp_chain),
(gst_ffmpegcsp_change_state), (gst_ffmpegcsp_set_property),
(gst_ffmpegcsp_get_property), (gst_ffmpegcolorspace_register):
* gst/ffmpegcolorspace/imgconvert.c:
(avcodec_get_chroma_sub_sample), (avcodec_get_pix_fmt_name),
(avcodec_get_pix_fmt), (avpicture_fill), (avpicture_layout),
(avpicture_get_size), (avcodec_get_pix_fmt_loss),
(avg_bits_per_pixel), (avcodec_find_best_pix_fmt1),
(avcodec_find_best_pix_fmt), (img_copy_plane), (img_copy),
(yuv422_to_yuv420p), (uyvy422_to_yuv420p), (uyvy422_to_yuv422p),
(yuv422_to_yuv422p), (yuv422p_to_yuv422), (yuv422p_to_uyvy422),
(uyvy411_to_yuv411p), (yuv420p_to_yuv422), (C_JPEG_TO_CCIR),
(img_convert_init), (img_apply_table), (shrink41), (shrink21),
(shrink12), (shrink22), (shrink44), (grow21_line), (grow41_line),
(grow21), (grow22), (grow41), (grow44), (conv411),
(gif_clut_index), (build_rgb_palette), (bitcopy_n), (mono_to_gray),
(monowhite_to_gray), (monoblack_to_gray), (gray_to_mono),
(gray_to_monowhite), (gray_to_monoblack), (avpicture_alloc),
(avpicture_free), (is_yuv_planar), (img_convert),
(get_alpha_info_pal8), (img_get_alpha_info), (deinterlace_line),
(deinterlace_line_inplace), (deinterlace_bottom_field),
(deinterlace_bottom_field_inplace), (avpicture_deinterlace):
* gst/ffmpegcolorspace/imgconvert_template.h:
* gst/ffmpegcolorspace/mem.c: (av_malloc), (av_realloc), (av_free):
* gst/ffmpegcolorspace/mmx.h:
* gst/ffmpegcolorspace/utils.c: (av_mallocz), (av_strdup),
(av_fast_realloc), (av_mallocz_static), (av_free_static),
(av_freep), (avcodec_get_context_defaults),
(avcodec_alloc_context), (avcodec_init):
Sync back from gst-ffmpeg. Deprecates ffcolorspace. Adds pallette
handling plus update from ffmpeg CVS. Large clean-up.
2004-10-31 14:33:17 +00:00
Ronald S. Bultje
bbf26d44d6 gst/playback/Makefile.am: We need the marshallers for decodebin, too.
Original commit message from CVS:
* gst/playback/Makefile.am:
We need the marshallers for decodebin, too.
2004-10-31 13:37:25 +00:00
David Schleef
f279a39c2e gst/typefind/gsttypefindfunctions.c: Make quicktime typefinding work with 64-bit offsets.
Original commit message from CVS:
* gst/typefind/gsttypefindfunctions.c: (qt_type_find): Make
quicktime typefinding work with 64-bit offsets.
2004-10-31 02:09:40 +00:00
Jan Schmidt
4ece6347f9 ext/dv/gstdvdec.c: Set EOS on the element when processing an EOS event.
Original commit message from CVS:
* ext/dv/gstdvdec.c: (gst_dvdec_handle_sink_event):
Set EOS on the element when processing an EOS event.
* ext/speex/gstspeexdec.h:
* ext/speex/gstspeexenc.h:
Only keep a const ptr to the mode
* gst-libs/gst/riff/riff-media.c:
(gst_riff_create_audio_caps_with_data),
(gst_riff_create_audio_template_caps):
Allow WMAV3, with up to 6 channels.
* gst/asfdemux/gstasfmux.c: (gst_asfmux_request_new_pad):
Don't call gst_pad_set_event_function on a sink pad.
* gst/mpegstream/gstdvddemux.c:
(gst_dvd_demux_get_subpicture_stream),
(gst_dvd_demux_set_cur_audio), (gst_dvd_demux_set_cur_subpicture):
Copy the explicit caps that were set across to the cur_* pads,
instead of trying to use a possibly non-existent negotiated caps.
Reset the type of subpicture pads to UNKNOWN after calling init_stream,
so that the caps get set.
2004-10-30 06:44:02 +00:00
Ronald S. Bultje
66fe9f11ae gst/asfdemux/gstasfdemux.c: Don't touch buffer if it is of size 0 (fixes #151064).
Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_process_chunk):
Don't touch buffer if it is of size 0 (fixes #151064).
2004-10-29 17:27:42 +00:00
Ronald S. Bultje
dd87fad519 ext/ogg/gstoggdemux.c: Synchronized discont handling.
Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_push), (gst_ogg_pad_push):
Synchronized discont handling.
2004-10-29 16:18:08 +00:00
Ronald S. Bultje
6c2eceb86e ext/ogg/gstoggdemux.c: Make seeking sort-of exact again (fixes #156387).
Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_src_event),
(gst_ogg_demux_push):
Make seeking sort-of exact again (fixes #156387).
2004-10-29 15:59:37 +00:00
Ronald S. Bultje
d2cfe017e8 gst/playback/: Make caps explicitely available. Makes testing for unsupported types possible. Improves error reporting.
Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (unknown_type),
(add_element_stream), (new_decoded_pad),
(gst_play_base_bin_change_state):
* gst/playback/gststreaminfo.c: (gst_stream_info_class_init),
(gst_stream_info_init), (gst_stream_info_new),
(gst_stream_info_dispose), (gst_stream_info_get_property):
* gst/playback/gststreaminfo.h:
Make caps explicitely available. Makes testing for unsupported
types possible. Improves error reporting.
2004-10-29 15:27:09 +00:00
Ronald S. Bultje
ebaefe6fbe gst/audioconvert/gstaudioconvert.c: Really don't touch read-only buffers (#156563).
Original commit message from CVS:
* gst/audioconvert/gstaudioconvert.c:
(gst_audio_convert_buffer_to_default_format):
Really don't touch read-only buffers (#156563).
2004-10-29 12:48:45 +00:00
Ronald S. Bultje
ced0c877e6 gst/wavparse/gstwavparse.c: Fix memleak (#155223).
Original commit message from CVS:
Reviewd by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* gst/wavparse/gstwavparse.c: (gst_wavparse_fmt):
Fix memleak (#155223).
2004-10-29 11:57:35 +00:00
Wim Taymans
4533321ed6 gst/tcp/: Added burst on connect sync_method, deprecated sync_clients, streamlined the sync code some more.
Original commit message from CVS:
* gst/tcp/.cvsignore:
* gst/tcp/gstmultifdsink.c: (gst_sync_method_get_type),
(gst_multifdsink_class_init), (gst_multifdsink_init),
(gst_multifdsink_add), (gst_multifdsink_remove),
(gst_multifdsink_remove_client_link), (is_sync_frame),
(gst_multifdsink_new_client),
(gst_multifdsink_handle_client_write),
(gst_multifdsink_recover_client), (gst_multifdsink_queue_buffer),
(gst_multifdsink_handle_clients), (gst_multifdsink_set_property),
(gst_multifdsink_get_property):
* gst/tcp/gstmultifdsink.h:
Added burst on connect sync_method, deprecated sync_clients,
streamlined the sync code some more.
2004-10-29 11:10:38 +00:00
Ronald S. Bultje
c3a0bf1926 gst/playback/gstplaybasebin.c: Improve error reporting.
Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (thread_error), (setup_source),
(gst_play_base_bin_change_state):
Improve error reporting.
2004-10-29 08:40:28 +00:00
Wim Taymans
f147f767b9 gst/tcp/: Added more locks around fdset structures. Fixed/reworked the poll array resizing code.
Original commit message from CVS:
* gst/tcp/Makefile.am:
* gst/tcp/fdsetstress.c: (mess_some_more), (run_test), (main):
* gst/tcp/gstfdset.c: (nearest_pow), (resize), (ensure_size),
(gst_fdset_new), (gst_fdset_free), (gst_fdset_set_mode),
(gst_fdset_fd_ctl_write), (gst_fdset_fd_ctl_read),
(gst_fdset_fd_has_closed), (gst_fdset_fd_has_error),
(gst_fdset_fd_can_read), (gst_fdset_fd_can_write),
(gst_fdset_wait):
Added more locks around fdset structures. Fixed/reworked
the poll array resizing code.
Added stress test for fdset.
2004-10-28 14:22:14 +00:00
Zaheer Abbas Merali
99dc10056f gst-libs/gst/audio/gstaudiofilter.c: fix build
Original commit message from CVS:
2004-10-28  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

* gst-libs/gst/audio/gstaudiofilter.c: (gst_audiofilter_link):
fix build
2004-10-28 12:51:23 +00:00
Benjamin Otte
d0b7e75541 gst-libs/gst/audio/gstaudiofilter.c: fix link function to always query channels and query width for floats
Original commit message from CVS:
* gst-libs/gst/audio/gstaudiofilter.c: (gst_audiofilter_link):
fix link function to always query channels and query width for
floats
* configure.ac:
add equalizer dir
* gst/equalizer/Makefile.am:
* gst/equalizer/gstiirequalizer.c: (gst_iir_equalizer_get_type),
(gst_iir_equalizer_base_init), (gst_iir_equalizer_class_init),
(gst_iir_equalizer_init), (gst_iir_equalizer_finalize),
(arg_to_scale), (setup_filter),
(gst_iir_equalizer_compute_frequencies),
(gst_iir_equalizer_set_property), (gst_iir_equalizer_get_property),
(gst_iir_equalizer_filter_inplace), (gst_iir_equalizer_setup),
(plugin_init):
add an equalizer
2004-10-28 02:33:48 +00:00
Thomas Vander Stichele
0a3aa22d08 committing Norwegian Bokmaal translation
Original commit message from CVS:
committing Norwegian Bokmaal translation
2004-10-27 21:45:58 +00:00
Ronald S. Bultje
197d5da31c ext/alsa/gstalsamixer.c: Don't break on options (fixes #156488).
Original commit message from CVS:
* ext/alsa/gstalsamixer.c: (gst_alsa_mixer_build_list):
Don't break on options (fixes #156488).
2004-10-27 09:21:25 +00:00
Thomas Vander Stichele
2e43244166 fix build on older automake
Original commit message from CVS:
fix build on older automake
2004-10-27 00:21:33 +00:00
Wim Taymans
17d464c602 ext/dv/gstdvdec.c: Allow a little margin when negotiating the framerate.
Original commit message from CVS:
* ext/dv/gstdvdec.c: (gst_dvdec_video_getcaps),
(gst_dvdec_video_link), (gst_dvdec_push), (gst_dvdec_loop):
Allow a little margin when negotiating the framerate.
2004-10-26 17:59:18 +00:00
Stefan Kost
3538476c2d synchonised naming of pads and pad-templates
Original commit message from CVS:
synchonised naming of pads and pad-templates
2004-10-26 15:36:17 +00:00
Wim Taymans
ba6050cb4d ext/ogg/gstoggdemux.c: Fix EOS again. Needs to be done in a better way. We should not remove the pad if there is no n...
Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_src_event),
(gst_ogg_demux_handle_event), (_find_chain_get_unknown_part),
(_find_streams_check), (gst_ogg_demux_push):
Fix EOS again. Needs to be done in a better way. We should not
remove the pad if there is no new chained stream.
2004-10-26 14:41:06 +00:00
Iain Holmes
ddc68e0933 Memory leak fixes
Original commit message from CVS:
Memory leak fixes
Allow level to take mono or stereo audio
2004-10-26 11:36:53 +00:00
Ronald S. Bultje
1672e83d26 gst/avi/gstavimux.c: First calculate the rate, and only then use it. Hdr.rate is a multiple and not a derivative of h...
Original commit message from CVS:
* gst/avi/gstavimux.c: (gst_avimux_audsinkconnect),
(gst_avimux_stop_file):
First calculate the rate, and only then use it. Hdr.rate is a
multiple and not a derivative of hdr.scale. Scale is not the
same as blockalign but is solely related to rate.
2004-10-26 11:22:07 +00:00
Ronald S. Bultje
643c7ae9b1 ext/gnomevfs/gstgnomevfssink.c: Implement seeking.
Original commit message from CVS:
* ext/gnomevfs/gstgnomevfssink.c: (gst_gnomevfssink_init),
(gst_gnomevfssink_handle_event), (gst_gnomevfssink_chain):
Implement seeking.
2004-10-26 08:07:38 +00:00
David Schleef
b069429a7c Fix last entry
Original commit message from CVS:
Fix last entry
2004-10-26 05:15:11 +00:00
David Schleef
16f55dffbe examples/:
Original commit message from CVS:
* examples/gstplay/player.c: (got_stream_length), (main):
* examples/seeking/cdplayer.c: (update_scale):
* examples/seeking/seek.c: (format_value), (update_scale):
* examples/seeking/spider_seek.c: (format_value), (update_scale),
(stop_seek):
2004-10-26 05:13:22 +00:00
Zaheer Abbas Merali
4ae4808bce sys/v4l/v4l_calls.c: Fix for some v4l cards which hang in v4lsrc
Original commit message from CVS:
2004-10-25  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

reviewed by: Ronald Bultje <rbultje at gnome dot org>

* sys/v4l/v4l_calls.c: (gst_v4l_get_chan_names):
Fix for some v4l cards which hang in v4lsrc
2004-10-25 18:42:47 +00:00
Wim Taymans
1e5de16c32 ext/ogg/gstoggdemux.c: Make sure to remove the pad when a new chain is encountered. Set some vars to NULL so we don't...
Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_remove),
(gst_ogg_demux_push), (gst_ogg_chains_clear):
Make sure to remove the pad when a new chain is
encountered. Set some vars to NULL so we don't try
to reference freed memory.
2004-10-25 17:46:03 +00:00
Wim Taymans
8657269f1e examples/seeking/: Added some more examples, update others.
Original commit message from CVS:
* examples/seeking/Makefile.am:
* examples/seeking/cdplayer.c: (update_scale):
* examples/seeking/chained.c: (unlinked), (new_pad), (main):
* examples/seeking/playbin.c: (make_playerbin_pipeline),
(format_value), (update_scale), (iterate), (start_seek),
(stop_seek), (print_media_info), (play_cb), (pause_cb), (stop_cb),
(print_usage), (main):
Added some more examples, update others.
2004-10-25 17:43:51 +00:00
Ronald S. Bultje
f2336fd22b ext/: Add codec-name metadata.
Original commit message from CVS:
* ext/flac/gstflacdec.c: (gst_flacdec_update_metadata):
* ext/speex/gstspeexdec.c: (speex_dec_chain):
* ext/theora/theoradec.c: (theora_dec_chain):
* ext/vorbis/vorbisdec.c: (vorbis_dec_chain):
Add codec-name metadata.
2004-10-25 16:10:58 +00:00
Ronald S. Bultje
8e13000e3b ALSA mixer track label internationalization (#154054).
Original commit message from CVS:
Reviewd by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* ext/alsa/gstalsamixer.c: (gst_alsa_mixer_build_list):
* ext/alsa/gstalsamixertrack.c: (gst_alsa_mixer_track_new):
* ext/alsa/gstalsamixertrack.h:
* po/POTFILES.in:
ALSA mixer track label internationalization (#154054).
2004-10-25 15:58:35 +00:00
Ronald S. Bultje
d9117ba704 ext/theora/theoradec.c: Export bitrate as metadata.
Original commit message from CVS:
* ext/theora/theoradec.c: (theora_dec_chain):
Export bitrate as metadata.
2004-10-25 15:31:50 +00:00
Ronald S. Bultje
4d4eae4e94 ext/alsa/: Fix names, fix loop.
Original commit message from CVS:
* ext/alsa/gstalsamixer.c: (gst_alsa_mixer_build_list):
* ext/alsa/gstalsamixertrack.c: (gst_alsa_mixer_track_new):
* ext/alsa/gstalsamixertrack.h:
Fix names, fix loop.
2004-10-25 13:51:40 +00:00
Ronald S. Bultje
9a1ce099b7 ext/speex/gstspeexdec.c: sinkconvert function so oggdemux can get the file length (totem).
Original commit message from CVS:
* ext/speex/gstspeexdec.c: (gst_speex_dec_init),
(speex_dec_convert):
sinkconvert function so oggdemux can get the file length (totem).
2004-10-25 09:56:12 +00:00
Ronald S. Bultje
ddaa429efb gst/asfdemux/gstasfdemux.c: Don't push incomplete packets.
Original commit message from CVS:
Reviewd by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_process_chunk):
Don't push incomplete packets.
* gst/typefind/gsttypefindfunctions.c: (m4a_type_find):
Fix MPEG-4 audio typefinding.
2004-10-25 09:01:43 +00:00
Ronald S. Bultje
8033e68ba9 sys/: Remove client-side overlay handling, use the X-server v4l plugin for that. Nicer overlay, less code. Also make ...
Original commit message from CVS:
* sys/v4l/Makefile.am:
* sys/v4l/gstv4l.c: (plugin_init):
* sys/v4l/gstv4lelement.c: (gst_v4lelement_get_type),
(gst_v4lelement_init), (gst_v4lelement_dispose),
(gst_v4lelement_change_state):
* sys/v4l/gstv4lelement.h:
* sys/v4l/gstv4lxoverlay.c: (gst_v4l_xoverlay_open),
(gst_v4l_xoverlay_close), (idle_refresh),
(gst_v4l_xoverlay_set_xwindow_id):
* sys/v4l/gstv4lxoverlay.h:
* sys/v4l/v4l-overlay_calls.c:
* sys/v4l/v4l_calls.h:
* sys/v4l2/Makefile.am:
* sys/v4l2/gstv4l2.c: (plugin_init):
* sys/v4l2/gstv4l2element.c: (gst_v4l2element_get_type),
(gst_v4l2element_init), (gst_v4l2element_dispose),
(gst_v4l2element_change_state):
* sys/v4l2/gstv4l2element.h:
* sys/v4l2/gstv4l2xoverlay.c: (gst_v4l2_xoverlay_open),
(gst_v4l2_xoverlay_close), (idle_refresh),
(gst_v4l2_xoverlay_set_xwindow_id):
* sys/v4l2/gstv4l2xoverlay.h:
* sys/v4l2/v4l2-overlay_calls.c:
* sys/v4l2/v4l2_calls.h:
Remove client-side overlay handling, use the X-server v4l plugin
for that. Nicer overlay, less code. Also make the plugin
compileable without X (but then without overlay, obviously).
Makes xwindowlistener obsolete, should we remove that?
2004-10-25 08:51:15 +00:00
Ronald S. Bultje
b41cdefc05 sys/oss/gstosssrc.*: OK, so people want offset in DEFAULT. This time, actually fix all cases.
Original commit message from CVS:
* sys/oss/gstosssrc.c: (gst_osssrc_get_time), (gst_osssrc_get),
(gst_osssrc_src_query):
* sys/oss/gstosssrc.h:
OK, so people want offset in DEFAULT. This time, actually fix all
cases.
* sys/v4l2/gstv4l2src.c: (gst_v4l2src_getcaps):
Add FPS properly.
2004-10-25 08:40:07 +00:00
Ronald S. Bultje
7d1805fda4 gst/: Framerate.
Original commit message from CVS:
* gst/asfdemux/gstasfmux.c:
* gst/avi/gstavimux.c:
Framerate.
2004-10-24 21:22:07 +00:00
Ronald S. Bultje
c9e3a72521 sys/v4l2/gstv4l2element.c: Fix properties (channel, norm, frequency).
Original commit message from CVS:
* sys/v4l2/gstv4l2element.c: (gst_v4l2element_set_property):
Fix properties (channel, norm, frequency).
2004-10-24 19:37:32 +00:00
Ronald S. Bultje
a241ae070a sys/v4l2/gstv4l2element.c: Flag typo.
Original commit message from CVS:
* sys/v4l2/gstv4l2element.c: (gst_v4l2element_get_property):
Flag typo.
* sys/v4l2/v4l2_calls.c: (gst_v4l2_set_defaults):
No warnings.
2004-10-24 19:13:58 +00:00
Ronald S. Bultje
9826bfa5b4 sys/v4l2/v4l2src_calls.c: Fix hang.
Original commit message from CVS:
* sys/v4l2/v4l2src_calls.c: (gst_v4l2src_clear_format_list):
Fix hang.
2004-10-24 18:15:23 +00:00
Ronald S. Bultje
cdd824a3da sys/v4l2/gstv4l2element.h: Yet Another Hack (tm) for kernel header borkedness.
Original commit message from CVS:
* sys/v4l2/gstv4l2element.h:
Yet Another Hack (tm) for kernel header borkedness.
* sys/v4l2/gstv4l2src.c: (gst_v4l2src_init),
(gst_v4l2src_v4l2fourcc_to_caps), (gst_v4l2_fourcc_from_structure),
(gst_v4l2src_link), (gst_v4l2src_getcaps),
(gst_v4l2src_change_state):
* sys/v4l2/gstv4l2src.h:
* sys/v4l2/v4l2src_calls.c: (gst_v4l2src_capture_init),
(gst_v4l2src_capture_start), (gst_v4l2src_capture_stop):
Fix caps, keep track of state, work.
2004-10-24 15:47:40 +00:00
Ronald S. Bultje
5c44182eb9 sys/v4l/gstv4lsrc.c: Quiet.
Original commit message from CVS:
* sys/v4l/gstv4lsrc.c: (gst_v4lsrc_getcaps):
Quiet.
2004-10-24 14:26:30 +00:00
Ronald S. Bultje
25a10db2e2 sys/oss/gstosssrc.c: Don't mix bytes and samples.
Original commit message from CVS:
* sys/oss/gstosssrc.c: (gst_osssrc_get):
Don't mix bytes and samples.
2004-10-24 14:04:38 +00:00
Ronald S. Bultje
4d4159166f ext/ogg/gstoggmux.c: Basic pad template which accepts OGM tracks, speex, flac, vorbis and theora. Any is incorrect.
Original commit message from CVS:
* ext/ogg/gstoggmux.c:
Basic pad template which accepts OGM tracks, speex, flac, vorbis
and theora. Any is incorrect.
* gst/asfdemux/gstasfmux.c: (gst_asfmux_vidsink_link):
Fix caps.
* sys/v4l/gstv4lmjpegsink.c: (gst_v4lmjpegsink_base_init):
* sys/v4l/gstv4lmjpegsrc.c: (gst_v4lmjpegsrc_base_init),
(gst_v4lmjpegsrc_init), (gst_v4lmjpegsrc_srcconnect),
(gst_v4lmjpegsrc_getcaps), (gst_v4lmjpegsrc_change_state):
* sys/v4l/gstv4lmjpegsrc.h:
* sys/v4l/gstv4lsrc.c: (gst_v4lsrc_src_link), (gst_v4lsrc_getcaps),
(gst_v4lsrc_change_state):
* sys/v4l/v4lmjpegsrc_calls.c: (gst_v4lmjpegsrc_capture_start),
(gst_v4lmjpegsrc_capture_stop):
Fix caps. Keep track of internal state. Work.
2004-10-24 13:41:17 +00:00
Ronald S. Bultje
88487ced85 ext/Makefile.am: Fix the build fixes.
Original commit message from CVS:
* ext/Makefile.am:
Fix the build fixes.
2004-10-23 11:38:24 +00:00
Ronald S. Bultje
63d9273740 ext/ogg/gstoggdemux.c: Check for pad availability before using it.
Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_src_query),
(gst_ogg_demux_src_event), (_find_chain_seek),
(gst_ogg_pad_push):
Check for pad availability before using it.
* ext/ogg/gstoggdemux.c: (_find_chain_process):
Fix parsing of chained ogg. Needs more work on the decoder side.
2004-10-23 10:06:31 +00:00
Benjamin Otte
7e5f9b2500 gst/spectrum/: Fix demo and reenable it. Yes, I'm currently playing with audio analysis tools
Original commit message from CVS:
* gst/spectrum/Makefile.am:
* gst/spectrum/demo-osssrc.c: (spectrum_chain), (main),
(idle_func):
Fix demo and reenable it. Yes, I'm currently playing with audio
analysis tools
2004-10-22 20:09:55 +00:00
Ronald S. Bultje
22fcd2185e ext/ogg/gstoggdemux.c: We love it if files that start at zero work too...
Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_push):
We love it if files that start at zero work too...
2004-10-22 13:09:12 +00:00
Ronald S. Bultje
cb72b0e33e ext/ogg/gstoggdemux.c: Handle files with missing EOS headers.
Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_iterate):
Handle files with missing EOS headers.
2004-10-22 11:11:28 +00:00
Zaheer Abbas Merali
0aca8191cb gst/tcp/gsttcpserversink.c: Zero some variables first (need for accept not to return EINVAL)
Original commit message from CVS:
2004-10-21  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

* gst/tcp/gsttcpserversink.c:
(gst_tcpserversink_handle_server_read),
(gst_tcpserversink_init_send):
Zero some variables first (need for accept not to return EINVAL)
2004-10-21 10:53:20 +00:00
Ronald S. Bultje
001d4b9638 ext/: Seeking and querying finetune.
Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_src_query),
(gst_ogg_demux_src_event), (gst_ogg_pad_push):
* ext/theora/theoradec.c: (theora_dec_sink_convert),
(theora_dec_chain):
* ext/vorbis/vorbisdec.c: (vorbis_dec_get_formats),
(gst_vorbis_dec_init), (vorbis_dec_convert), (vorbis_dec_chain):
Seeking and querying finetune.
2004-10-20 16:24:18 +00:00
Thomas Vander Stichele
a4d5bde1dd fix the build
Original commit message from CVS:
fix the build
2004-10-20 13:51:27 +00:00
Ronald S. Bultje
6330ec5a58 ext/ogg/gstoggdemux.c: Wrong return.
Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_iterate):
Wrong return.
* gst/playback/Makefile.am:
* gst/playback/gstdecodebin.c: (gst_decode_bin_class_init):
* gst/playback/gstplay-marshal.list:
* gst/playback/gstplaybasebin.c: (gst_play_base_bin_class_init):
Fix marshallers.
2004-10-20 12:02:19 +00:00
Ronald S. Bultje
7fce9426a2 ext/ogg/gstoggdemux.c: Silence.
Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_src_event):
Silence.
2004-10-18 19:29:11 +00:00
Ronald S. Bultje
05b6b97538 ext/ogg/gstoggdemux.c: Yay for non-lineair granulepos in theora.
Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_src_query),
(gst_ogg_demux_src_event), (gst_ogg_pad_populate),
(gst_ogg_pad_push):
Yay for non-lineair granulepos in theora.
2004-10-18 19:12:32 +00:00
Wim Taymans
cda34e6a8d ext/dv/gstdvdec.*: Make sure we renegotiate aspect ratio when the camera switches.
Original commit message from CVS:
* ext/dv/gstdvdec.c: (gst_dvdec_init), (gst_dvdec_video_getcaps),
(gst_dvdec_video_link), (gst_dvdec_push), (gst_dvdec_loop):
* ext/dv/gstdvdec.h:
Make sure we renegotiate aspect ratio when the camera switches.
2004-10-18 17:49:09 +00:00
Ronald S. Bultje
cf398c5fad ext/ogg/gstoggdemux.c: Start at zero.
Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_src_query),
(gst_ogg_demux_src_event), (gst_ogg_pad_push):
Start at zero.
* ext/theora/theoradec.c: (theora_dec_chain):
Skip headers. Bad idea for chained ogg, but fixes seeking.
2004-10-18 15:49:00 +00:00
Wim Taymans
5aff377805 configure.ac: I swear, this is the last time I touch this.
Original commit message from CVS:
* configure.ac:
I swear, this is the last time I touch this.
2004-10-18 15:37:57 +00:00
Ronald S. Bultje
07f20e09e8 ext/ogg/gstoggdemux.c: Faster seeking.
Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_src_query),
(gst_ogg_demux_src_event), (gst_ogg_pad_populate),
(_read_bos_process), (gst_ogg_demux_iterate), (gst_ogg_pad_new):
Faster seeking.
* ext/theora/theoradec.c: (theora_dec_sink_convert):
Time-to-default conversion.
* ext/vorbis/vorbisdec.c: (vorbis_dec_chain):
Don't error on unknown packets, just skip. We should probably
read them if we want to support chained ogg.
2004-10-18 15:23:41 +00:00
Wim Taymans
9e9fdc81c9 configure.ac: Added cdaudio to wrong list.
Original commit message from CVS:
* configure.ac:
Added cdaudio to wrong list.
2004-10-18 15:18:18 +00:00
Wim Taymans
2e844fccc0 configure.ac: Revive cdaudio.
Original commit message from CVS:
* configure.ac:
Revive cdaudio.
2004-10-18 14:20:10 +00:00
Wim Taymans
b464238497 ext/: Fix mimetype on smoke encoder.
Original commit message from CVS:
* ext/dv/gstdvdec.c: (gst_dvdec_video_getcaps),
(gst_dvdec_video_link), (gst_dvdec_push):
* ext/jpeg/gstsmokeenc.c: (gst_smokeenc_class_init),
(gst_smokeenc_resync), (gst_smokeenc_chain):
Fix mimetype on smoke encoder.
Add aspect ratio to dvdec. Not sure if these
values are correct though....
2004-10-18 14:02:51 +00:00
Wim Taymans
85f417a19a ext/vorbis/vorbisenc.c: Fix vorbis property descriptions and ranges.
Original commit message from CVS:
* ext/vorbis/vorbisenc.c: (gst_vorbisenc_class_init):
Fix vorbis property descriptions and ranges.
2004-10-18 13:55:47 +00:00
Wim Taymans
c1da22dd4e ext/ogg/gstoggdemux.c: Really do nothing when no data is available.
Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_iterate):
Really do nothing when no data is available.
Go to the playing state when the stream is not seekable
instead of failing.
2004-10-18 13:52:15 +00:00
Wim Taymans
d4eb6d40a9 ext/cdaudio/gstcdaudio.c: Added uri handler for cd://
Original commit message from CVS:
* ext/cdaudio/gstcdaudio.c: (_do_init), (gst_cdaudio_base_init),
(gst_cdaudio_get_event_masks), (gst_cdaudio_send_event),
(gst_cdaudio_query), (plugin_init), (cdaudio_uri_get_type),
(cdaudio_uri_get_protocols), (cdaudio_uri_get_uri),
(cdaudio_uri_set_uri), (cdaudio_uri_handler_init):
Added uri handler for cd://
Port to new API.
2004-10-18 13:45:12 +00:00
Wim Taymans
96502fb6c0 gst/playback/: Add sink padtemplate to decodebin.
Original commit message from CVS:
* gst/playback/gstdecodebin.c: (gst_decode_bin_class_init),
(gst_decode_bin_init), (find_compatibles), (close_pad_link),
(try_to_link_1), (no_more_pads), (close_link), (type_found):
* gst/playback/gstplaybasebin.c: (gen_preroll_element),
(remove_prerolls), (unknown_type), (add_element_stream),
(new_decoded_pad), (setup_source), (gst_play_base_bin_add_element),
(gst_play_base_bin_remove_element),
(gst_play_base_bin_link_stream):
* gst/playback/gstplaybin.c: (gen_video_element),
(gen_vis_element), (remove_sinks), (setup_sinks):
* gst/playback/gststreaminfo.c: (gst_stream_type_get_type),
(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:
Add sink padtemplate to decodebin.
Added some more comments.
Make queue size configurable in playbasebin.
Added possibility to use elements as sinks (ex cdaudio).
2004-10-18 13:40:48 +00:00
Wim Taymans
a98a98b5f3 ext/speex/gstspeexenc.c: Fix speex timestamps so that it gets muxed properly.
Original commit message from CVS:
* ext/speex/gstspeexenc.c: (gst_speexenc_class_init),
(gst_speexenc_chain):
Fix speex timestamps so that it gets muxed properly.
2004-10-18 10:57:45 +00:00
Wim Taymans
fe83f4c817 ext/raw1394/gstdv1394src.*: Added conversion/query functions.
Original commit message from CVS:
* ext/raw1394/gstdv1394src.c: (gst_dv1394src_get_type),
(gst_dv1394src_base_init), (gst_dv1394src_class_init),
(gst_dv1394src_init), (gst_dv1394src_dispose),
(gst_dv1394src_iso_receive), (gst_dv1394src_discover_avc_node),
(gst_dv1394src_change_state), (gst_dv1394src_get_event_mask),
(gst_dv1394src_event), (gst_dv1394src_get_formats),
(gst_dv1394src_convert), (gst_dv1394src_get_query_types),
(gst_dv1394src_query), (gst_dv1394src_uri_get_type),
(gst_dv1394src_uri_get_protocols), (gst_dv1394src_uri_get_uri),
(gst_dv1394src_uri_set_uri), (gst_dv1394src_uri_handler_init):
* ext/raw1394/gstdv1394src.h:
Added conversion/query functions.
Update buffer timestamps,
Added signals.
Added uri dv:// so it might play from the firewire in playbin.
Fix a possible leak.
Added debugging.
2004-10-15 14:35:54 +00:00
Wim Taymans
987cc3cfa0 ext/raw1394/gstdv1394src.*: Added AV/C VTR control support needed for some cameras.
Original commit message from CVS:
* ext/raw1394/gstdv1394src.c: (gst_dv1394src_class_init),
(gst_dv1394src_init), (gst_dv1394src_set_property),
(gst_dv1394src_get_property), (gst_dv1394src_iso_receive),
(gst_dv1394src_discover_avc_node), (gst_dv1394src_change_state):
* ext/raw1394/gstdv1394src.h:
Added AV/C VTR control support needed for some cameras.
Added automatic port detection.
Added properties for selecting the channel.
The configure.ac script is not yet updated to reflect the
new libavc1394 and librom1394 dependencies.
2004-10-15 09:59:01 +00:00
Wim Taymans
df4615ea20 gst/qtdemux/qtdemux.c: An esds box is not a container.
Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (gst_qtdemux_loop_header),
(qtdemux_parse), (gst_qtdemux_handle_esds):
An esds box is not a container.
Fix parsing of mp4v boxes.
Do not try to renegotiate fps for each frame. Need to
find a better method. This should fix mp4 playback.
2004-10-15 09:19:37 +00:00
David Schleef
cc9a17b757 configure.ac: update for swfdec-0.3 and liboil-0.2
Original commit message from CVS:
* configure.ac: update for swfdec-0.3 and liboil-0.2
* ext/swfdec/gstswfdec.c: update for swfdec-0.3
* ext/swfdec/gstswfdec.h: same
* gst/videofilter/gstvideobalance.c: update for liboil-0.2
* gst/videotestsrc/videotestsrc.c: same
2004-10-14 23:19:58 +00:00
Wim Taymans
d4ef0029a6 gst/tcp/gstmultifdsink.c: Turn warnings into info.
Original commit message from CVS:
* gst/tcp/gstmultifdsink.c: (gst_multifdsink_add),
(gst_multifdsink_remove), (gst_multifdsink_remove_client_link),
(is_sync_frame), (gst_multifdsink_new_client),
(gst_multifdsink_handle_client_write),
(gst_multifdsink_recover_client), (gst_multifdsink_queue_buffer),
(gst_multifdsink_handle_clients), (gst_multifdsink_change_state):
Turn warnings into info.
Don't allow a state change in the streaming thread.
2004-10-14 11:28:20 +00:00
Thomas Vander Stichele
3d6c427f6d fix sample rate template
Original commit message from CVS:
fix sample rate template
2004-10-14 09:16:32 +00:00
Wim Taymans
3cb31e9abc ext/mad/gstmad.c: Decoding the header first fixes some problems in resyncing in more mp3s.
Original commit message from CVS:
* ext/mad/gstmad.c: (gst_mad_check_caps_reset), (gst_mad_chain):
Decoding the header first fixes some problems in resyncing
in more mp3s.
2004-10-13 14:21:01 +00:00
Wim Taymans
caae8182bc gst/playback/gstplaybin.c: Added vis plugin support, need to configure the vis element to activate it.
Original commit message from CVS:
* gst/playback/gstplaybin.c: (gen_video_element),
(gen_vis_element), (remove_sinks), (setup_sinks):
Added vis plugin support, need to configure the vis
element to activate it.
2004-10-12 16:41:23 +00:00
Ronald S. Bultje
f7ea1932ed ext/gnomevfs/gstgnomevfssrc.c: Some debug.
Original commit message from CVS:
* ext/gnomevfs/gstgnomevfssrc.c: (gst_gnomevfssrc_get),
(gst_gnomevfssrc_srcpad_query), (gst_gnomevfssrc_srcpad_event):
Some debug.
* gst/avi/gstavidemux.c: (gst_avi_demux_reset),
(gst_avi_demux_handle_src_event), (gst_avi_demux_read_superindex),
(gst_avi_demux_read_subindexes), (gst_avi_demux_add_stream),
(gst_avi_demux_stream_index), (gst_avi_demux_skip),
(gst_avi_demux_sync), (gst_avi_demux_stream_scan),
(gst_avi_demux_massage_index), (gst_avi_demux_stream_header):
* gst/avi/gstavidemux.h:
Support for openDML-2.0 indx/ix## chunks. Support for broken index
recovery (where, if part of the index is broken, we will still read
the rest of the index and recover the broken part by stream
scanning). More broken media support. EOS workarounds. General AVI
braindamage headache recovery. Aspirin included.
2004-10-12 12:29:45 +00:00
Ronald S. Bultje
a14944e62d ext/cdparanoia/gstcdparanoia.c: Get rid of hideous lead-in.
Original commit message from CVS:
* ext/cdparanoia/gstcdparanoia.c: (cdparanoia_open),
(cdparanoia_event), (cdparanoia_query):
Get rid of hideous lead-in.
2004-10-11 12:18:42 +00:00
Wim Taymans
3c2ca4bdce gst/playback/gstplaybasebin.c: Wrong var used to get g_list_next.
Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (setup_source):
Wrong var used to get g_list_next.
2004-10-11 12:07:15 +00:00
Ronald S. Bultje
0ad4462545 ext/cdparanoia/gstcdparanoia.c: Report discid as metadata, add duration.
Original commit message from CVS:
* ext/cdparanoia/gstcdparanoia.c: (cdparanoia_class_init),
(cdparanoia_get), (cdparanoia_open):
Report discid as metadata, add duration.
2004-10-11 12:02:08 +00:00
Wim Taymans
031ef88382 gst/playback/gstplaybasebin.c: Cleanup the previous pipeline a little earlier for the case that a source element prov...
Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (setup_source):
Cleanup the previous pipeline a little earlier for the
case that a source element provides raw data.
2004-10-11 09:35:48 +00:00
Benjamin Otte
3b8cb7c5d9 ext/mad/gstid3tag.c: reset v1 tag offset when there is no v1 tag. Fixes id3demux always consuming the last 128 bytes,...
Original commit message from CVS:
* ext/mad/gstid3tag.c: (gst_id3_tag_chain):
reset v1 tag offset when there is no v1 tag. Fixes id3demux always
consuming the last 128 bytes, even though it was valid mp3 data.
2004-10-11 05:05:51 +00:00
Zaheer Abbas Merali
a4362e7627 sys/v4l/: Change g_warnings to GST_WARNING_OBJECT and fix colourspace issue
Original commit message from CVS:
2004-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

* sys/v4l/gstv4lsrc.c: (gst_v4lsrc_palette_to_caps),
(gst_v4lsrc_getcaps), (gst_v4lsrc_get):
* sys/v4l/v4l-overlay_calls.c: (gst_v4l_set_overlay):
Change g_warnings to GST_WARNING_OBJECT and fix colourspace issue
2004-10-10 17:00:03 +00:00
Zaheer Abbas Merali
2b2f50c2d8 sys/v4l/gstv4lsrc.c: Fix for webcams that support only specific width or height
Original commit message from CVS:
2004-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

* sys/v4l/gstv4lsrc.c: (gst_v4lsrc_src_link), (gst_v4lsrc_getcaps):
Fix for webcams that support only specific width or height
2004-10-10 16:35:43 +00:00
Ronald S. Bultje
cc88a3d5c9 gst/wavenc/gstwavenc.c: Fix wrong discont event setup (fixes #154967).
Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* gst/wavenc/gstwavenc.c: (gst_wavenc_stop_file):
Fix wrong discont event setup (fixes #154967).
2004-10-09 20:56:22 +00:00
Ronald S. Bultje
5c01bf12fa gst/auparse/gstauparse.c: Error out on invalid data (fixes #154807).
Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* gst/auparse/gstauparse.c: (gst_auparse_chain):
Error out on invalid data (fixes #154807).
2004-10-09 20:49:45 +00:00
Ronald S. Bultje
23a95279ea ext/dvdread/dvdreadsrc.c: Make titles > 0 work again (fixes #154834).
Original commit message from CVS:
Reviewed by: Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* ext/dvdread/dvdreadsrc.c: (_read):
Make titles > 0 work again (fixes #154834).
2004-10-09 20:43:35 +00:00
Ronald S. Bultje
410ad91379 gst-libs/gst/riff/riff-media.c: WMV3 missing in template caps.
Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c:
(gst_riff_create_video_template_caps):
WMV3 missing in template caps.
2004-10-09 19:55:29 +00:00
Ronald S. Bultje
59e9ed33fe gst/avi/gstavidemux.c: OK, so the original code was too strict. It makes random AVI files hang for seconds upon openi...
Original commit message from CVS:
* gst/avi/gstavidemux.c: (gst_avi_demux_massage_index):
OK, so the original code was too strict. It makes random AVI files
hang for seconds upon opening, which is unacceptable and is far
beyond the original goal of getting multiple chunks for one-chunk
sounc stream files. So now do just that.
2004-10-09 19:33:21 +00:00
Ronald S. Bultje
72d5f4625d gst/playback/gstplaybasebin.c: Actually clean up streaminfo if output fails. This would trigger if, for example, ther...
Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (setup_source),
(gst_play_base_bin_change_state):
Actually clean up streaminfo if output fails. This would trigger
if, for example, there was no CD in the drive. No preroll, so
a streaminfo structure is created, but the subsequent state change
of the thread fails.
* gst/playback/gstplaybin.c: (gst_play_bin_change_state):
Don't change state if parent failed.
2004-10-09 13:50:33 +00:00
Ronald S. Bultje
9be69b1982 gst/playback/gstplaybin.c: Add small bits of code for screenshot handling.
Original commit message from CVS:
* gst/playback/gstplaybin.c: (gst_play_bin_class_init),
(gst_play_bin_init), (gst_play_bin_get_property), (handoff),
(gen_video_element), (remove_sinks):
Add small bits of code for screenshot handling.
2004-10-08 18:05:39 +00:00
Wim Taymans
b35757e614 gst/playback/gstplaybin.c: Don't assume the user provided sinks are named "sink"...
Original commit message from CVS:
* gst/playback/gstplaybin.c: (gst_play_bin_set_property),
(gen_video_element), (gen_audio_element), (setup_sinks):
Don't assume the user provided sinks are named "sink"...
2004-10-08 17:39:27 +00:00
Wim Taymans
382be4f0ed gst/playback/gstplaybasebin.c: Do not try to autoplug sources that generate raw streams like cdparanoia.
Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (gen_preroll_element),
(unknown_type), (setup_source), (gst_play_base_bin_remove_element),
(gst_play_base_bin_link_stream):
Do not try to autoplug sources that generate raw streams like
cdparanoia.
disconnect the preroll overrun signal when we don't need it anymore.
2004-10-08 17:10:16 +00:00
Wim Taymans
1f72604cac ext/cdparanoia/gstcdparanoia.*: Added reworked patch from #154903 from milosz derezynski. This adds the cdda://<track...
Original commit message from CVS:
* ext/cdparanoia/gstcdparanoia.c: (_do_init),
(cdparanoia_base_init), (cdparanoia_class_init), (cdparanoia_init),
(cdparanoia_dispose), (cdparanoia_get), (cdparanoia_change_state),
(cdparanoia_convert), (cdparanoia_uri_get_type),
(cdparanoia_uri_get_protocols), (cdparanoia_uri_get_uri),
(cdparanoia_uri_set_uri), (cdparanoia_uri_handler_init):
* ext/cdparanoia/gstcdparanoia.h:
Added reworked patch from #154903 from milosz derezynski. This
adds the cdda://<tracknum> uri.
2004-10-08 17:02:51 +00:00
Wim Taymans
ecda1318d1 gst/playback/: Reuse the audio and video bins.
Original commit message from CVS:
* gst/playback/gstdecodebin.c: (gst_decode_bin_class_init),
(gst_decode_bin_init), (find_compatibles), (close_pad_link),
(try_to_link_1), (no_more_pads), (close_link), (type_found):
* gst/playback/gstplaybasebin.c: (gst_play_base_bin_class_init),
(unknown_type), (gst_play_base_bin_remove_element),
(gst_play_base_bin_link_stream):
* gst/playback/gstplaybasebin.h:
* gst/playback/gstplaybin.c: (gst_play_bin_init),
(gst_play_bin_set_property), (gen_video_element),
(gen_audio_element), (setup_sinks):
* gst/playback/gststreaminfo.c: (gst_stream_type_get_type),
(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:
Reuse the audio and video bins.
Some internal cleanups in the stream selection code.
2004-10-08 11:30:32 +00:00
Julien Moutte
71dc08af71 sys/: Reverting Ronald's changes as the issue is not coming from those elements. Moreover these elements should not k...
Original commit message from CVS:
2004-10-08  Julien MOUTTE  <julien@moutte.net>

* sys/ximage/ximagesink.c: (gst_ximagesink_sink_link),
(gst_ximagesink_set_xwindow_id), (gst_ximagesink_init):
* sys/ximage/ximagesink.h:
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_sink_link),
(gst_xvimagesink_set_xwindow_id), (gst_xvimagesink_init):
* sys/xvimage/xvimagesink.h: Reverting Ronald's changes as the issue is
not coming from those elements. Moreover these elements should not keep
the xid they have been given when in NULL state.
2004-10-08 11:26:48 +00:00
Ronald S. Bultje
f10f5c5612 sys/: Actually only create a new toplevel window if we're not gonna embed it right after.
Original commit message from CVS:
* sys/ximage/ximagesink.c: (gst_ximagesink_sink_link),
(gst_ximagesink_set_xwindow_id), (gst_ximagesink_init):
* sys/ximage/ximagesink.h:
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_sink_link),
(gst_xvimagesink_set_xwindow_id), (gst_xvimagesink_init):
* sys/xvimage/xvimagesink.h:
Actually only create a new toplevel window if we're not gonna
embed it right after.
2004-10-07 16:22:30 +00:00
Wim Taymans
c6a677b2f9 gst/playback/: Implement muting/unmuting of streams, mute streams that are not used.
Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (play_base_bin_mute_pad),
(gst_play_base_bin_mute_stream), (gst_play_base_bin_link_stream):
* gst/playback/gstplaybin.c: (setup_sinks):
Implement muting/unmuting of streams, mute streams that are not
used.
2004-10-07 11:14:46 +00:00
Wim Taymans
50c1431f4d gst/typefind/gsttypefindfunctions.c: Added lame audio/x-ac3 typefind function.
Original commit message from CVS:
* gst/typefind/gsttypefindfunctions.c: (ac3_type_find),
(plugin_init):
Added lame audio/x-ac3 typefind function.
2004-10-07 09:56:43 +00:00
Thomas Vander Stichele
7ff0567b26 bump nano to cvs
Original commit message from CVS:
bump nano to cvs
2004-10-06 17:10:48 +00:00
Thomas Vander Stichele
2757b47319 releasing
Original commit message from CVS:
releasing
2004-10-06 17:02:14 +00:00
Wim Taymans
8925be5157 gst/playback/: Do not signal the no_more_pads after the first pad when we are plugging a non dynamic element with mul...
Original commit message from CVS:
* gst/playback/gstdecodebin.c: (gst_decode_bin_init),
(find_compatibles), (close_pad_link), (try_to_link_1), (new_pad),
(no_more_pads), (close_link), (type_found):
* gst/playback/gstplaybasebin.c: (new_decoded_pad):
* gst/playback/gstplaybin.c: (gen_video_element):
Do not signal the no_more_pads after the first pad when
we are plugging a non dynamic element with multiple
output pads (like swfdec, dvdec, ...).
2004-10-06 16:33:05 +00:00
Thomas Vander Stichele
d6695d1dc6 bump for prerelease
Original commit message from CVS:
bump for prerelease
2004-10-06 15:56:04 +00:00
Stéphane Loeuillet
515dc1aba5 gst/wavparse/gstwavparse.c: add ATRAC3 to STATIC CAPS to fix a warning
Original commit message from CVS:
* gst/wavparse/gstwavparse.c:
add ATRAC3 to STATIC CAPS to fix a warning

* gst/matroska/ebml-read.c:
* gst-libs/gst/riff/riff-read.c:
fix typos
2004-10-06 15:12:08 +00:00
Stéphane Loeuillet
9ba183e760 gst-libs/gst/riff/riff-media.c: generate caps for ATRAC3 audio streams
Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c:
generate caps for ATRAC3 audio streams

* gst/realmedia/rmdemux.c:
generate caps for ATRAC3 audio streams
2004-10-06 14:18:13 +00:00
Stéphane Loeuillet
26ce392dba gst/wavparse/Makefile.am gst/wavparse/riff.h gst/wavparse/wavparse.vcproj riff.h removal (unused and duplication with...
Original commit message from CVS:
* gst/wavparse/Makefile.am
* gst/wavparse/riff.h
* gst/wavparse/wavparse.vcproj
riff.h removal (unused and duplication with riff-ids.h)
2004-10-06 14:15:25 +00:00
Stéphane Loeuillet
0f870cd54d gst/wavparse/gstwavparse.h remove duplicated defines for audio codec codes gst-libs/gst/riff/riff-ids.h
Original commit message from CVS:
* gst/wavparse/gstwavparse.h
remove duplicated defines for audio codec codes

* gst-libs/gst/riff/riff-ids.h
* gst/wavenc/riff.h:
add "4CC" code for ATRAC3 audio streams
add "4CC" code for ITU_G721_ADPCM (unused for now)
2004-10-06 14:11:56 +00:00
Wim Taymans
9f1d61a785 gst/flx/gstflxdec.c: Actually _do_ negotiation. Pass gdouble as arg instead of guint64 for the framerate.
Original commit message from CVS:
* gst/flx/gstflxdec.c: (gst_flxdec_init), (gst_flxdec_loop):
Actually _do_ negotiation. Pass gdouble as arg instead
of guint64 for the framerate.
2004-10-06 13:56:07 +00:00
Wim Taymans
40b2248a3a gst/playback/: Set state on newly added element to READY so that negotiation can happen ASAP.
Original commit message from CVS:
* gst/playback/gstdecodebin.c: (gst_decode_bin_init),
(find_compatibles), (close_pad_link), (try_to_link_1),
(no_more_pads), (close_link), (type_found):
* gst/playback/gstplaybasebin.c: (new_decoded_pad):
* gst/playback/gstplaybin.c: (gen_video_element),
(gen_audio_element):
Set state on newly added element to READY so that negotiation
can happen ASAP.
Addes some more debug info.
Do not try to plug pads with multiple caps structures or ANY
because it is too dangerous since we do not do dynamic
replugging.
2004-10-06 09:51:36 +00:00
Thomas Vander Stichele
b20c2c492d add Oriya translation, yippee
Original commit message from CVS:
add Oriya translation, yippee
2004-10-06 09:16:19 +00:00
Ronald S. Bultje
5dab8b214f gst/avi/gstavidemux.c: Prevent overwrite of size member. Makes audio sound crappy.
Original commit message from CVS:
* gst/avi/gstavidemux.c: (gst_avi_demux_massage_index):
Prevent overwrite of size member. Makes audio sound crappy.
2004-10-05 15:28:08 +00:00
Stéphane Loeuillet
22011be036 - add .rmvb to the list of RealMedia known file extensions
Original commit message from CVS:
- add .rmvb to the list of RealMedia known file extensions
2004-10-05 13:07:08 +00:00
Wim Taymans
5410de5525 ext/libmng/gstmngdec.c: Set the framerate correctly.
Original commit message from CVS:
* ext/libmng/gstmngdec.c: (gst_mngdec_loop), (mngdec_error),
(mngdec_openstream), (mngdec_closestream),
(mngdec_handle_sink_event), (mngdec_readdata),
(mngdec_gettickcount), (mngdec_settimer), (mngdec_processheader),
(mngdec_getcanvasline), (mngdec_refresh),
(gst_mngdec_change_state):
Set the framerate correctly.
2004-10-05 10:41:08 +00:00
Ronald S. Bultje
9712010d44 gst/avi/gstavidemux.c: There was something wrong with the index massaging.
Original commit message from CVS:
* gst/avi/gstavidemux.c: (gst_avi_demux_massage_index):
There was something wrong with the index massaging.
2004-10-04 17:29:27 +00:00
Wim Taymans
b90716dd18 ext/jpeg/: Updated smoke, new bitstream, allows embedding in ogg.
Original commit message from CVS:
* ext/jpeg/gstjpeg.c: (smoke_type_find), (plugin_init):
* ext/jpeg/gstsmokedec.c: (gst_smokedec_init),
(gst_smokedec_chain):
* ext/jpeg/gstsmokedec.h:
* ext/jpeg/gstsmokeenc.c: (gst_smokeenc_class_init),
(gst_smokeenc_init), (gst_smokeenc_resync), (gst_smokeenc_chain):
* ext/jpeg/gstsmokeenc.h:
* ext/jpeg/smokecodec.c: (smokecodec_encode_new),
(smokecodec_decode_new), (smokecodec_info_free),
(smokecodec_set_quality), (smokecodec_get_quality),
(smokecodec_set_threshold), (smokecodec_get_threshold),
(smokecodec_set_bitrate), (smokecodec_get_bitrate),
(find_best_size), (abs_diff), (put), (smokecodec_encode_id),
(smokecodec_encode), (smokecodec_parse_id),
(smokecodec_parse_header), (smokecodec_decode):
* ext/jpeg/smokecodec.h:
* ext/jpeg/smokeformat.h:
Updated smoke, new bitstream, allows embedding in ogg.
2004-10-04 16:53:48 +00:00
Ronald S. Bultje
d2ba80e45e gst/avi/gstavidemux.c: Fix seeking in some files. All this code is no longer needed (and actually breaks stuff) becau...
Original commit message from CVS:
* gst/avi/gstavidemux.c: (gst_avi_demux_handle_src_event):
Fix seeking in some files. All this code is no longer needed (and
actually breaks stuff) because we now synchronize the full index
right when reading the header.
2004-10-04 16:48:26 +00:00
Wim Taymans
b51d626874 configure.ac: configure update for libmng.
Original commit message from CVS:
* configure.ac:
configure update for libmng.
2004-10-04 16:38:45 +00:00
Wim Taymans
15b2ca7e34 ext/libmng/: Added basic MNG decoder. Needs more work. The encoder does not work yet.
Original commit message from CVS:
* ext/libmng/Makefile.am:
* ext/libmng/gstmng.c: (plugin_init):
* ext/libmng/gstmng.h:
* ext/libmng/gstmngdec.c: (gst_mngdec_get_type),
(gst_mngdec_base_init), (gst_mngdec_class_init),
(gst_mngdec_sinklink), (gst_mngdec_init), (gst_mngdec_src_getcaps),
(gst_mngdec_loop), (gst_mngdec_get_property),
(gst_mngdec_set_property), (mngdec_error), (mngdec_openstream),
(mngdec_closestream), (mngdec_handle_sink_event),
(mngdec_readdata), (mngdec_gettickcount), (mngdec_settimer),
(mngdec_processheader), (mngdec_getcanvasline), (mngdec_refresh),
(gst_mngdec_change_state):
* ext/libmng/gstmngdec.h:
* ext/libmng/gstmngenc.c: (gst_mngenc_get_type),
(mng_caps_factory), (raw_caps_factory), (gst_mngenc_base_init),
(gst_mngenc_class_init), (gst_mngenc_sinklink), (gst_mngenc_init),
(gst_mngenc_chain), (gst_mngenc_get_property),
(gst_mngenc_set_property):
* ext/libmng/gstmngenc.h:
Added basic MNG decoder. Needs more work. The encoder does
not work yet.
2004-10-04 16:37:06 +00:00
Ronald S. Bultje
4403ebfa3f gst/realmedia/rmdemux.c: Don't hang on length=0 chunks. Some negotiation fixes. Signal no-more-pads.
Original commit message from CVS:
* gst/realmedia/rmdemux.c: (gst_rmdemux_handle_sink_event),
(gst_rmdemux_loop), (gst_rmdemux_add_stream),
(gst_rmdemux_parse_mdpr), (gst_rmdemux_dump_mdpr):
Don't hang on length=0 chunks. Some negotiation fixes. Signal
no-more-pads.
2004-10-04 16:10:40 +00:00
Thomas Vander Stichele
1d0ae896fd you need 1.0.4 of speex
Original commit message from CVS:
you need 1.0.4 of speex
2004-10-04 15:11:49 +00:00
Iain Holmes
134a5deecb Revert the changes to the speex include file locations.
Original commit message from CVS:
Revert the changes to the speex include file locations.
2004-10-04 14:54:49 +00:00
Ronald S. Bultje
625a9e1acc gst/realmedia/rmdemux.c: Use debug category, fix EOS handling. filesrc ! rmdemux now works.
Original commit message from CVS:
* gst/realmedia/rmdemux.c: (gst_rmdemux_class_init),
(gst_rmdemux_init), (gst_rmdemux_handle_sink_event),
(gst_rmdemux_loop), (gst_rmdemux_add_stream), (re_hexdump_bytes),
(re_dump_pascal_string), (gst_rmdemux_dump__rmf),
(gst_rmdemux_dump_prop), (gst_rmdemux_parse_mdpr),
(gst_rmdemux_dump_mdpr), (gst_rmdemux_dump_indx),
(gst_rmdemux_dump_data):
Use debug category, fix EOS handling. filesrc ! rmdemux now
works.
2004-10-04 14:43:22 +00:00
Ronald S. Bultje
3f20d7f4b8 gst/avi/gstavidemux.c: Improve allocation, cutting and sorting of the index. How takes a few seconds instead of minutes.
Original commit message from CVS:
* gst/avi/gstavidemux.c: (gst_avi_demux_stream_index),
(gst_avi_demux_stream_scan), (sort), (gst_avi_demux_massage_index),
(gst_avi_demux_stream_header), (gst_avi_demux_stream_data):
Improve allocation, cutting and sorting of the index. How takes a
few seconds instead of minutes.
2004-10-04 13:32:20 +00:00
Christophe Fergeau
23fa458642 gst/realmedia/rmdemux.c: fixed compilation
Original commit message from CVS:
2004-10-03  Christophe Fergeau  <teuf@gnome.org>

* gst/realmedia/rmdemux.c: (gst_rmdemux_parse_mdpr):
fixed compilation
2004-10-03 17:14:14 +00:00
Ronald S. Bultje
993092788c gst-libs/gst/riff/riff-media.c: Add wing commander format mimetype/fourccs.
Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c:
(gst_riff_create_video_caps_with_data),
(gst_riff_create_video_template_caps):
Add wing commander format mimetype/fourccs.
* gst/avi/gstavidemux.c: (gst_avi_demux_massage_index):
Don't crash if some value is 0.
2004-10-02 20:27:04 +00:00
Ronald S. Bultje
89e2912bad gst-libs/gst/riff/riff-media.c: Add DIB fourcc (raw, palettized 8-bit RGB).
Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c:
(gst_riff_create_video_caps_with_data),
(gst_riff_create_video_template_caps):
Add DIB fourcc (raw, palettized 8-bit RGB).
* gst-libs/gst/riff/riff-read.c:
(gst_riff_read_strf_vids_with_data):
Oops, fix strf_data reading bug.
* gst/avi/gstavidemux.c: (gst_avi_demux_add_stream):
Use a non-NULL tag.
* gst/qtdemux/qtdemux.c: (qtdemux_parse_trak):
Time for hacks. Sorry Dave. At least one quicktime movie (a
trailer) that I've encountered contains multiple video tracks.
One of those is the actual video track, the other are one-frame
tracks (images). Unfortunately, the number of frames according
to the trak header is 1 for each, so that doesn't help. So
instead, I look at the duration and discard tracks with a
duration shorter than 20% of the length of the stream. Better
than nothing.
2004-10-02 14:10:19 +00:00
Phil Blundell
1d7dd09708 commiting patch from Phil Blundell
Original commit message from CVS:
commiting patch from Phil Blundell
2004-10-01 17:01:47 +00:00
Wim Taymans
73854c25ff ext/speex/gstspeexdec.c: Small cleanups.
Original commit message from CVS:
* ext/speex/gstspeexdec.c: (gst_speex_dec_class_init),
(speex_dec_get_formats), (speex_dec_convert),
(speex_dec_src_query), (speex_dec_src_event), (speex_dec_event),
(speex_dec_chain), (gst_speexdec_get_property),
(gst_speexdec_set_property):
Small cleanups.
2004-10-01 16:15:23 +00:00
Wim Taymans
51dacde4f8 gst/wavparse/gstwavparse.*: Added some more debugging info.
Original commit message from CVS:
* gst/wavparse/gstwavparse.c: (gst_wavparse_class_init),
(gst_wavparse_stream_init), (gst_wavparse_fmt),
(gst_wavparse_other), (gst_wavparse_loop),
(gst_wavparse_pad_convert), (gst_wavparse_pad_query),
(gst_wavparse_srcpad_event):
* gst/wavparse/gstwavparse.h:
Added some more debugging info.
Fix the case where the length of the file is 0.
Make sure we seek to sample borders.
2004-10-01 16:01:51 +00:00
Wim Taymans
882c6f7f8e gst/playback/: Add some debug info to decodebin, update README
Original commit message from CVS:
* gst/playback/README:
* gst/playback/gstdecodebin.c: (gst_decode_bin_factory_filter),
(gst_decode_bin_init), (find_compatibles), (close_pad_link),
(try_to_link_1), (no_more_pads), (close_link), (type_found):
Add some debug info to decodebin, update README
2004-10-01 15:57:53 +00:00
Ronald S. Bultje
2538febaed ext/dvdnav/dvdnavsrc.c: Don't use g_print(); use GST_DEBUG().
Original commit message from CVS:
* ext/dvdnav/dvdnavsrc.c: (dvdnav_handle_navigation_event):
Don't use g_print(); use GST_DEBUG().
2004-10-01 13:30:09 +00:00
Ronald S. Bultje
cd464e02b4 ext/ogg/gstoggmux.c: Handle EOS properly.
Original commit message from CVS:
* ext/ogg/gstoggmux.c: (gst_ogg_mux_next_buffer),
(gst_ogg_mux_queue_pads):
Handle EOS properly.
2004-10-01 13:28:29 +00:00
Ronald S. Bultje
529650004a ext/faad/gstfaad.*: Allow playback of raw (unframed) MPEG AAC files (#148993).
Original commit message from CVS:
Reviewed by: Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* ext/faad/gstfaad.c: (gst_faad_init), (gst_faad_sinkconnect),
(gst_faad_chain), (gst_faad_change_state):
* ext/faad/gstfaad.h:
Allow playback of raw (unframed) MPEG AAC files (#148993).
2004-10-01 13:00:41 +00:00
Ronald S. Bultje
978550fe3c gst/wavparse/gstwavparse.c: Throw error if we didn't recognize the stream. Fixes #152289.
Original commit message from CVS:
Reviewed by: Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* gst/wavparse/gstwavparse.c: (gst_wavparse_fmt):
Throw error if we didn't recognize the stream. Fixes #152289.
2004-10-01 12:39:08 +00:00
Ronald S. Bultje
abd45313bf gst/videoscale/gstvideoscale.c: Fix negotiation.
Original commit message from CVS:
* gst/videoscale/gstvideoscale.c: (gst_videoscale_link):
Fix negotiation.
2004-10-01 12:32:25 +00:00
Ronald S. Bultje
0cc3b66988 gst/wavparse/gstwavparse.c: Fix memleak.
Original commit message from CVS:
Reviewed by: Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* gst/wavparse/gstwavparse.c: (gst_wavparse_fmt):
Fix memleak.
2004-10-01 11:53:19 +00:00
Ronald S. Bultje
0b7ac80b8c sys/sunaudio/gstsunaudio.c: Solve #152805.
Original commit message from CVS:
Reviewed by: Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* sys/sunaudio/gstsunaudio.c: (gst_sunaudiosink_setparams):
Solve #152805.
* sys/sunaudio/gstsunmixer.c: (gst_sunaudiomixer_set_mute):
Solve 152806.
2004-10-01 11:44:22 +00:00
Ronald S. Bultje
260f03d7eb gst-libs/gst/riff/riff-media.c: Add codec_data handling (like asfdemux used to do).
Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c:
(gst_riff_create_video_caps_with_data),
(gst_riff_create_audio_caps_with_data):
Add codec_data handling (like asfdemux used to do).
* gst/asfdemux/gstasf.c: (plugin_init):
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_base_init),
(gst_asf_demux_add_audio_stream), (gst_asf_demux_add_video_stream):
Use riff-media for caps creation instead of our own (mostly
broken) copy of its functions.
2004-10-01 10:50:57 +00:00
Ronald S. Bultje
2ab3b43891 sys/v4l/v4lsrc_calls.c: Don't actually error out if we get another return value than
Original commit message from CVS:
* sys/v4l/v4lsrc_calls.c: (gst_v4lsrc_try_capture):
Don't actually error out if we get another return value than
-EINVAL. Opposite to what I first thought, drivers have random
return values for this, although -EINVAL is the expected return
value. Since this is not fatal, we shouldn't use
GST_ELEMENT_ERROR() but just GST_ERROR_OBJECT().
2004-10-01 10:02:42 +00:00
Ronald S. Bultje
a8afe5f5b3 ext/dvdread/dvdreadsrc.c: Fix. Don't do one big huge loop around the whole DVD, that will cache all data and thus eat...
Original commit message from CVS:
* ext/dvdread/dvdreadsrc.c: (dvdreadsrc_class_init),
(dvdreadsrc_init), (dvdreadsrc_dispose), (dvdreadsrc_set_property),
(dvdreadsrc_get_property), (_open), (_seek), (_read),
(dvdreadsrc_get), (dvdreadsrc_open_file),
(dvdreadsrc_change_state):
Fix. Don't do one big huge loop around the whole DVD, that will
cache all data and thus eat sizeof(dvd) (several GB) before we
see something.
* gst-libs/gst/riff/riff-read.c: (gst_riff_read_seek):
Actually NULL'ify event after using it.
* gst/matroska/ebml-read.c: (gst_ebml_read_use_event),
(gst_ebml_read_handle_event), (gst_ebml_read_element_id),
(gst_ebml_read_element_length), (gst_ebml_read_element_data),
(gst_ebml_read_seek), (gst_ebml_read_skip):
Handle events.
* gst/mpegstream/gstdvddemux.c: (gst_dvd_demux_base_init),
(gst_dvd_demux_init), (gst_dvd_demux_get_audio_stream),
(gst_dvd_demux_get_subpicture_stream), (gst_dvd_demux_plugin_init):
Fix timing (this will probably break if I seek using menus, but
I didn't get there yet). VOBs and normal DVDs should now work.
Add a mpeg2-only pad with high rank so this get autoplugged for
MPEG-2 movies.
* gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_base_init),
(gst_mpeg_demux_class_init), (gst_mpeg_demux_init),
(gst_mpeg_demux_new_output_pad), (gst_mpeg_demux_get_video_stream),
(gst_mpeg_demux_get_audio_stream),
(gst_mpeg_demux_get_private_stream), (gst_mpeg_demux_parse_packet),
(gst_mpeg_demux_parse_pes), (gst_mpeg_demux_plugin_init):
Use this as second rank for MPEG-1 and MPEG-2. Still use this for
MPEG-1 but use dvddemux for MPEG-2.
* gst/mpegstream/gstmpegparse.c: (gst_mpeg_parse_class_init),
(gst_mpeg_parse_init), (gst_mpeg_parse_new_pad),
(gst_mpeg_parse_parse_packhead):
Timing. Only add pad template if it exists. Add sink template from
class and not from ourselves. This means we will always use the
correct sink template even if it is not the one defined in this
file.
2004-10-01 08:42:56 +00:00
Wim Taymans
815d511c8a gst/mpegstream/: Fix playback of mpeg again, timestamps where screwed up by patch 1.61.
Original commit message from CVS:
* gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_parse_packet),
(gst_mpeg_demux_parse_pes):
* gst/mpegstream/gstmpegparse.c: (gst_mpeg_parse_parse_packhead):
Fix playback of mpeg again, timestamps where screwed up by
patch 1.61.
2004-09-29 19:09:25 +00:00
Ronald S. Bultje
ea118a8d64 ext/flac/gstflacdec.c: Only return true if we actually filled something in. Prevents player applications from showing...
Original commit message from CVS:
* ext/flac/gstflacdec.c: (gst_flacdec_src_query):
Only return true if we actually filled something in. Prevents
player applications from showing a random length for flac files.
* gst-libs/gst/riff/riff-read.c: (gst_riff_read_class_init),
(gst_riff_read_use_event), (gst_riff_read_handle_event),
(gst_riff_read_seek), (gst_riff_read_skip), (gst_riff_read_strh),
(gst_riff_read_strf_vids_with_data),
(gst_riff_read_strf_auds_with_data), (gst_riff_read_strf_iavs):
OK, ok, so I implemented event handling. Apparently it's normal
that we receive random events at random points without asking
for it.
* gst/avi/gstavidemux.c: (gst_avi_demux_reset),
(gst_avi_demux_src_convert), (gst_avi_demux_handle_src_query),
(gst_avi_demux_handle_src_event), (gst_avi_demux_stream_index),
(gst_avi_demux_sync), (gst_avi_demux_stream_scan),
(gst_avi_demux_massage_index), (gst_avi_demux_stream_header),
(gst_avi_demux_handle_seek), (gst_avi_demux_process_next_entry),
(gst_avi_demux_stream_data), (gst_avi_demux_loop):
* gst/avi/gstavidemux.h:
Implement non-lineair chunk handling and subchunk processing.
The first solves playback of AVI files where the audio and video
data of individual buffers that we read are not synchronized.
This should not happen according to the wonderful AVI specs, but
of course it does happen in reality. It is also a prerequisite for
the second. Subchunk processing allows us to cut chunks in small
pieces and process each of these pieces separately. This is
required because I've seen several AVI files with incredibly large
audio chunks, even some files with only one audio chunk for the
whole file. This allows for proper playback including seeking.
This patch is supposed to fix all AVI A/V sync issues.
* gst/flx/gstflxdec.c: (gst_flxdec_class_init),
(flx_decode_chunks), (flx_decode_color), (gst_flxdec_loop):
Work.
* gst/modplug/gstmodplug.cc:
Proper return value setting for the query() function.
* gst/playback/gstplaybasebin.c: (setup_source):
Being in non-playing state (after, e.g., EOS) is not necessarily
a bad thing. Allow for that. This fixes playback of short files.
They don't actually playback fully now, because the clock already
runs. This means that small files (<500kB) with a small length
(<2sec) will still not or barely play. Other files, such as mod
or flx, will work correctly, however.
2004-09-29 09:45:40 +00:00
Wim Taymans
2748ae9548 ext/speex/: Rewrote speex encoder, make sure it can be embedded in ogg.
Original commit message from CVS:
* ext/speex/gstspeex.c: (plugin_init):
* ext/speex/gstspeexdec.c: (gst_speex_dec_base_init),
(gst_speex_dec_class_init), (speex_dec_get_formats),
(speex_get_event_masks), (speex_get_query_types),
(gst_speex_dec_init), (speex_dec_convert), (speex_dec_src_query),
(speex_dec_src_event), (speex_dec_event), (speex_dec_chain),
(gst_speexdec_get_property), (gst_speexdec_set_property),
(speex_dec_change_state):
* ext/speex/gstspeexdec.h:
* ext/speex/gstspeexenc.c: (gst_speexenc_get_formats),
(gst_speexenc_get_type), (speex_caps_factory), (raw_caps_factory),
(gst_speexenc_base_init), (gst_speexenc_class_init),
(gst_speexenc_sinkconnect), (gst_speexenc_convert_src),
(gst_speexenc_convert_sink), (gst_speexenc_get_query_types),
(gst_speexenc_src_query), (gst_speexenc_init),
(gst_speexenc_get_tag_value), (comment_init), (comment_add),
(gst_speexenc_metadata_set1), (gst_speexenc_set_metadata),
(gst_speexenc_setup), (gst_speexenc_buffer_from_data),
(gst_speexenc_push_buffer), (gst_speexenc_set_header_on_caps),
(gst_speexenc_chain), (gst_speexenc_get_property),
(gst_speexenc_set_property), (gst_speexenc_change_state):
* ext/speex/gstspeexenc.h:
Rewrote speex encoder, make sure it can be embedded in ogg.
Implemented speex decoder.
2004-09-28 16:44:12 +00:00
Christian Schaller
0089ff9ed3 remove kio from spec
Original commit message from CVS:
remove kio from spec
2004-09-28 11:01:10 +00:00
Christian Schaller
bd5ceae6b9 Remove non-working ugly kioplugin Markey has new and much improved one in Amarok which he will send upstream
Original commit message from CVS:
Remove non-working ugly kioplugin Markey has new and much improved one in Amarok which he will send upstream
2004-09-28 10:59:02 +00:00
Wim Taymans
64eb1316b0 gst/tcp/gstmultifdsink.*: Make syncing to keyframes actually work for new clients and lagging clients.
Original commit message from CVS:
* gst/tcp/gstmultifdsink.c: (gst_multifdsink_add),
(gst_multifdsink_remove), (gst_multifdsink_remove_client_link),
(is_sync_frame), (gst_multifdsink_client_queue_buffer),
(gst_multifdsink_new_client),
(gst_multifdsink_handle_client_write),
(gst_multifdsink_recover_client), (gst_multifdsink_queue_buffer),
(gst_multifdsink_handle_clients):
* gst/tcp/gstmultifdsink.h:
Make syncing to keyframes actually work for new clients and lagging
clients.
2004-09-27 15:09:34 +00:00
Iain Holmes
36a2612f26 Implement event compression for new-media discont events
Original commit message from CVS:
Implement event compression for new-media discont events
2004-09-26 21:32:20 +00:00
Benjamin Otte
0ada6af237 gst/debug/gstnavigationtest.*: make navigationtest display button-press and button-release events
Original commit message from CVS:
* gst/debug/gstnavigationtest.c: (gst_navigationtest_class_init),
(gst_navigationtest_handle_src_event), (draw_box_planar411),
(gst_navigationtest_planar411), (gst_navigationtest_change_state):
* gst/debug/gstnavigationtest.h:
make navigationtest display button-press and button-release events
2004-09-26 16:53:53 +00:00
Iain Holmes
2ff6fb874d Company's wisdom:
Original commit message from CVS:
Company's wisdom:
Events should be passed on using the sinkpad's default handler not the src
Seek events only go upstream, so send a discont downstream instead.
2004-09-26 15:06:35 +00:00
Christian Schaller
8d6ca0bee5 remove changelog conflict indicators
Original commit message from CVS:
remove changelog conflict indicators
2004-09-25 14:54:01 +00:00
Christian Schaller
a1345e25b4 update spec to work with thomas and freshrpms rpms. Fix bug that hindered totem in building with it. Add new plugins
Original commit message from CVS:
update spec to work with thomas and freshrpms rpms. Fix bug that hindered totem in building with it. Add new plugins
2004-09-25 14:52:29 +00:00
Wim Taymans
e2c8e0c571 gst/playback/gstplaybasebin.c: Only signal the no_more_pads signal when we have added the stream to our list.
Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (new_decoded_pad):
Only signal the no_more_pads signal when we have
added the stream to our list.
2004-09-24 17:33:00 +00:00
Wim Taymans
7a8842b82b gst/playback/: Don't try to preroll or decode more than one audio/video track.
Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (remove_prerolls),
(new_decoded_pad):
* gst/playback/gstplaybasebin.h:
* gst/playback/gstplaybin.c: (setup_sinks):
Don't try to preroll or decode more than one audio/video
track.
2004-09-24 16:38:28 +00:00
Ronald S. Bultje
32c79b3bb8 gst/playback/gstplaybasebin.c: Throw error if we failed to find a suitable output. This should throw an error if we s...
Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (gst_play_base_bin_change_state):
Throw error if we failed to find a suitable output. This should
throw an error if we successfully set up a pipeline (e.g. because
we recognized a media file) but found no decodable streams in it
(e.g. because it contains only media stream types for which we
have no decoders, or because it's not a media type).
2004-09-24 16:01:45 +00:00
Ronald S. Bultje
40cec75c3f ext/dirac/: Do something. Don't actually know if this works because I don't have a demuxer yet.
Original commit message from CVS:
* ext/dirac/Makefile.am:
* ext/dirac/gstdirac.cc:
* ext/dirac/gstdiracdec.cc:
* ext/dirac/gstdiracdec.h:
Do something. Don't actually know if this works because I don't
have a demuxer yet.
* ext/gsm/gstgsmdec.c: (gst_gsmdec_getcaps):
Add channels=1 to caps returned from _getcaps().
* ext/ogg/gstogmparse.c: (gst_ogm_audio_parse_get_type),
(gst_ogm_video_parse_get_type), (gst_ogm_audio_parse_base_init),
(gst_ogm_video_parse_base_init), (gst_ogm_parse_init),
(gst_ogm_audio_parse_init), (gst_ogm_video_parse_init),
(gst_ogm_parse_sink_convert), (gst_ogm_parse_chain),
(gst_ogm_parse_change_state):
Separate between audio/video so ogmaudioparse actually uses the
audio pad templates. Both audio and video work now, including
autoplugging. Also use sometimes-srcpad hack.
* gst-libs/gst/riff/riff-read.c: (gst_riff_read_seek):
Handle events better. Don't hang on infinite loops.
* gst/avi/gstavidemux.c: (gst_avi_demux_class_init),
(gst_avi_demux_init), (gst_avi_demux_reset),
(gst_avi_demux_src_convert), (gst_avi_demux_handle_src_query),
(gst_avi_demux_stream_header), (gst_avi_demux_stream_data),
(gst_avi_demux_change_state):
* gst/avi/gstavidemux.h:
Improve A/V sync. Still not perfect.
* gst/matroska/ebml-read.c: (gst_ebml_read_seek),
(gst_ebml_read_skip):
Handle events better.
* gst/qtdemux/qtdemux.c: (gst_qtdemux_handle_sink_event),
(gst_qtdemux_loop_header), (qtdemux_parse_trak),
(qtdemux_audio_caps):
Add IMA4. Improve event handling. Save offset after a seek when
the headers are at the end of the file so that we don't end up in
an infinite loop.
* gst/typefind/gsttypefindfunctions.c: (qt_type_find):
Add low-priority typefind support for files with no length.
2004-09-23 14:59:22 +00:00
Zaheer Abbas Merali
131232f221 testsuite/multifilesink/Makefile.am: fix typo
Original commit message from CVS:
2004-09-23  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

* testsuite/multifilesink/Makefile.am:
fix typo
2004-09-23 12:11:15 +00:00
Julien Moutte
701d9ca710 sys/: Fix mistakes from thaytan's patches.
Original commit message from CVS:
2004-09-22  Julien MOUTTE  <julien@moutte.net>

* sys/ximage/ximagesink.c: (gst_ximagesink_ximage_destroy):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_check_xshm_calls): Fix
mistakes from thaytan's patches.
2004-09-22 15:59:56 +00:00
Jan Schmidt
f0a6013edc sys/ximage/ximagesink.c: For completeness, XSync in the destroy function as xvimage does.
Original commit message from CVS:
* sys/ximage/ximagesink.c: (gst_ximagesink_ximage_destroy):
For completeness, XSync in the destroy function as xvimage does.
2004-09-22 15:32:39 +00:00
Jan Schmidt
419583c9b5 ext/gdk_pixbuf/pixbufscale.c: Correct caps negotiation
Original commit message from CVS:
* ext/gdk_pixbuf/pixbufscale.c: (gst_pixbufscale_getcaps):
Correct caps negotiation
* gst/volume/gstvolume.c: (volume_chain_float),
(volume_chain_int16):
Modify debug output to be little more informative
* sys/ximage/ximagesink.c: (gst_ximagesink_check_xshm_calls):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_check_xshm_calls),
(gst_xvimagesink_xvimage_destroy):
Add XSync calls after detaching from the shared memory segment to
avoid a crash.
2004-09-22 15:03:08 +00:00
Zaheer Abbas Merali
842261be41 ext/: remove explicit newmedia support from oggmux and vorbisenc add debug category to vorbisenc
Original commit message from CVS:
2004-09-22  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

* ext/ogg/gstoggmux.c: (gst_ogg_mux_init),
(gst_ogg_mux_next_buffer), (gst_ogg_mux_loop):
* ext/vorbis/vorbis.c: (plugin_init):
* ext/vorbis/vorbisenc.c: (gst_vorbisenc_init),
(gst_vorbisenc_chain):
* ext/vorbis/vorbisenc.h:
remove explicit newmedia support from oggmux and vorbisenc
add debug category to vorbisenc
* gst/multifilesink/gstmultifilesink.c:
(gst_multifilesink_class_init), (gst_multifilesink_init),
(gst_multifilesink_dispose), (gst_multifilesink_set_location),
(gst_multifilesink_set_property), (gst_multifilesink_next_file),
(gst_multifilesink_handle_event), (gst_multifilesink_chain),
(plugin_init):
* gst/multifilesink/gstmultifilesink.h:
add support for streamheader in multifilesink
2004-09-22 14:35:12 +00:00
Ronald S. Bultje
881982fdd1 gst/asfdemux/gstasfdemux.c: Prevent infinite loops. More correct error reporting.
Original commit message from CVS:
* gst/asfdemux/gstasfdemux.c: (_read_var_length), (_read_guid),
(gst_asf_demux_process_segment), (gst_asf_demux_handle_data),
(gst_asf_demux_process_chunk), (gst_asf_demux_handle_sink_event):
Prevent infinite loops. More correct error reporting.
* gst/auparse/gstauparse.c: (gst_auparse_chain):
Error out if negotiation fails.
* gst/playback/gstplaybasebin.c: (setup_source),
(gst_play_base_bin_change_state), (gst_play_base_bin_error),
(gst_play_base_bin_found_tag):
Error/tag forwarding. Pre-roll fixes for source errors on state
changes (e.g. "file does not exist") to prevent hangs.
2004-09-22 07:55:37 +00:00
Zaheer Abbas Merali
1b173507cb testsuite/multifilesink/: New media tests
Original commit message from CVS:
2004-09-21  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

* testsuite/multifilesink/Makefile.am:
* testsuite/multifilesink/lame_test.c: (gst_newmedia_base_init),
(gst_newmedia_class_init), (gst_newmedia_init),
(gst_newmedia_chain), (gst_newmedia_trigger), (test_format),
(newfile_signal), (test_signal), (main):
* testsuite/multifilesink/multifilesrc_test.c: (main):
* testsuite/multifilesink/oggtheora_test.c:
(gst_newmedia_base_init), (gst_newmedia_class_init),
(gst_newmedia_init), (gst_newmedia_chain), (gst_newmedia_trigger),
(test_format), (newfile_signal), (test_signal), (main):
* testsuite/multifilesink/oggvorbis_test.c:
(gst_newmedia_base_init), (gst_newmedia_class_init),
(gst_newmedia_init), (gst_newmedia_chain), (gst_newmedia_trigger),
(test_format), (newfile_signal), (test_signal), (main):
* testsuite/multifilesink/wavenc_test.c: (gst_newmedia_base_init),
(gst_newmedia_class_init), (gst_newmedia_init),
(gst_newmedia_chain), (gst_newmedia_trigger), (test_format),
(newfile_signal), (test_signal), (main):
New media tests
2004-09-21 18:41:15 +00:00
Christian Schaller
8b54047215 fix license information
Original commit message from CVS:
fix license information
2004-09-20 14:25:08 +00:00
Ronald S. Bultje
d102f96ec5 ext/mad/gstmad.c: Allow for mp3 rate/channels changes. However, only very conservatively. Reason that we *have* to en...
Original commit message from CVS:
* ext/mad/gstmad.c: (gst_mad_check_caps_reset),
(gst_mad_change_state):
Allow for mp3 rate/channels changes. However, only very
conservatively. Reason that we *have* to enable this is smiply
because the mad find_sync() function is not good enough, it will
regularly sync on random data as valid frames and therefore make
us provide random caps as *final* caps of the stream. The best fix
I could think of is to simply require several of the same stream
changes in a row before we change caps.
The actual testcase that works now is #
* ext/ogg/Makefile.am:
* ext/ogg/gstogg.c: (plugin_init):
* ext/ogg/gstogmparse.c:
OGM support (video only for now; I need an audio sample file).
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_base_init),
(gst_asf_demux_process_stream), (gst_asf_demux_video_caps),
(gst_asf_demux_add_video_stream):
WMV extradata.
* gst/playback/gstplaybasebin.c: (unknown_type):
Don't error out on single unknown-types after all. It's wrong.
If we found type of video and audio but not of a subtitle stream,
it will still error out (which is unwanted). Will find a better fix
later on.
* gst/typefind/gsttypefindfunctions.c: (ogmvideo_type_find),
(ogmaudio_type_find), (plugin_init):
OGM support.
2004-09-20 12:40:40 +00:00
Johan Dahlin
5af4bfcabd ext/jpeg/gstjpegdec.c (gst_jpegdec_chain): Allocate the buffer after setting caps. Fixes mysterious segfault. Blessed...
Original commit message from CVS:
* ext/jpeg/gstjpegdec.c (gst_jpegdec_chain): Allocate the buffer
after setting caps. Fixes mysterious segfault. Blessed by Wim.
2004-09-20 09:58:35 +00:00
Zaheer Abbas Merali
e3beb3a1d5 gst/wavenc/gstwavenc.*: Added newmedia support to wavenc
Original commit message from CVS:
2004-09-19  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

* gst/wavenc/gstwavenc.c: (gst_wavenc_init), (gst_wavenc_chain):
* gst/wavenc/gstwavenc.h:
Added newmedia support to wavenc
2004-09-19 17:55:04 +00:00
Wim Taymans
ee79ead89f gst/tcp/: Small cleanups in fdset.c
Original commit message from CVS:
* gst/tcp/gstfdset.c: (gst_fdset_fd_has_closed),
(gst_fdset_fd_has_error), (gst_fdset_fd_can_read),
(gst_fdset_fd_can_write), (gst_fdset_wait):
* gst/tcp/gstmultifdsink.c: (gst_client_status_get_type),
(gst_multifdsink_init), (gst_multifdsink_add),
(gst_multifdsink_remove), (gst_multifdsink_get_stats),
(gst_multifdsink_remove_client_link),
(gst_multifdsink_client_queue_buffer),
(gst_multifdsink_handle_client_write),
(gst_multifdsink_recover_client), (gst_multifdsink_handle_clients),
(gst_multifdsink_close), (gst_multifdsink_change_state):
* gst/tcp/gstmultifdsink.h:
* gst/tcp/gsttcpserversink.c: (gst_tcpserversink_class_init),
(gst_tcpserversink_removed):
Small cleanups in fdset.c
Use a hastable to map fd to the client structure for faster
lookup in _remove and get_stats.
Added virtual function to close the fds.
Handle clients even when the select/poll call was unblocked because
of a command.
Implement syncing to keyframe in the recovery procedure.
2004-09-17 10:06:52 +00:00
Iain Holmes
fe6eb8ec23 Free the caps used for the try
Original commit message from CVS:
Free the caps used for the try
2004-09-16 11:34:50 +00:00
Ronald S. Bultje
28d50a75e3 gst/mpegstream/gstdvddemux.c: Caps are only set if the type of the stream is unknown, but this is initialized in ->in...
Original commit message from CVS:
* gst/mpegstream/gstdvddemux.c: (gst_dvd_demux_get_audio_stream):
Caps are only set if the type of the stream is unknown, but this
is initialized in ->init_stream(), so set to UNKNOWN after calling
->init_stream() so that capsnego starts.
2004-09-15 21:43:05 +00:00
Ronald S. Bultje
a15e93fc3d gst/avi/gstavidemux.c: Just hardcode for raw audio then. AVI audio sucks.
Original commit message from CVS:
* gst/avi/gstavidemux.c: (gst_avi_demux_handle_src_query),
(gst_avi_demux_stream_data):
Just hardcode for raw audio then. AVI audio sucks.
2004-09-15 20:06:15 +00:00
Arwed v. Merkatz
529aac8034 use audio/x-ttafile and audio/x-tta for tta instead of audio/x-tta and audio/x-raw-tta
Original commit message from CVS:
use audio/x-ttafile and audio/x-tta for tta instead of audio/x-tta and audio/x-raw-tta
2004-09-15 19:43:37 +00:00
Ronald S. Bultje
9e36d10e82 gst/avi/gstavidemux.c: Try to fix a/v sync issues.
Original commit message from CVS:
* gst/avi/gstavidemux.c: (gst_avi_demux_handle_src_query),
(gst_avi_demux_stream_data):
Try to fix a/v sync issues.
2004-09-15 19:31:47 +00:00
David Schleef
09bf152f96 configure.ac: remove NASM check, since we don't use it. Update dirac check to 0.4
Original commit message from CVS:
* configure.ac: remove NASM check, since we don't use it.  Update
dirac check to 0.4
* ext/dirac/gstdiracdec.cc: update to current 0.4 API
* gst/audioconvert/gstaudioconvert.c: (gst_audio_convert_link):
Initialized variables.
* gst/qtdemux/qtdemux.c: (gst_qtdemux_change_state),
(gst_qtdemux_loop_header), (qtdemux_parse), (qtdemux_parse_trak),
(gst_qtdemux_handle_esds), (qtdemux_audio_caps): Fix seeking, add
SVQ3 format
2004-09-15 19:29:24 +00:00
Ronald S. Bultje
3bae21ef61 gst/avi/gstavidemux.*: Fix for compressed audio (mp3) timestamp generation. How did this ever work?
Original commit message from CVS:
* gst/avi/gstavidemux.c: (gst_avi_demux_handle_src_query),
(gst_avi_demux_add_stream), (gst_avi_demux_stream_data):
* gst/avi/gstavidemux.h:
Fix for compressed audio (mp3) timestamp generation. How did this
ever work?
2004-09-15 17:14:34 +00:00
Ronald S. Bultje
00375a43f6 gst/playback/gstplaybin.c: Volume is a double not a float.
Original commit message from CVS:
* gst/playback/gstplaybin.c: (gst_play_bin_get_property):
Volume is a double not a float.
2004-09-15 16:48:43 +00:00
Wim Taymans
78688b8f04 gst/tcp/gstmultifdsink.c: Don't close the fd in multifdsink as we didn't open it in the first place. Some cleanups.
Original commit message from CVS:
* gst/tcp/gstmultifdsink.c: (gst_multifdsink_remove_client_link),
(gst_multifdsink_handle_clients), (gst_multifdsink_change_state):
Don't close the fd in multifdsink as we didn't open it in the
first place. Some cleanups.
2004-09-15 16:03:14 +00:00
Wim Taymans
d5e61a1ea9 ext/ogg/: Fix the case where the muxer would mark pages as delta frames when they are not (vorbis only ogg).
Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_push):
* ext/ogg/gstoggmux.c: (gst_ogg_mux_next_buffer),
(gst_ogg_mux_send_headers), (gst_ogg_mux_loop):
Fix the case where the muxer would mark pages as delta
frames when they are not (vorbis only ogg).
2004-09-15 15:37:35 +00:00
Ronald S. Bultje
74ead45d06 gst/playback/gstplaybasebin.c: Handle the case where we failed to setup a clear pipeline. This will throw an error (o...
Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (state_change), (setup_source),
(gst_play_base_bin_change_state):
Handle the case where we failed to setup a clear pipeline. This
will throw an error (or EOS, another nice case) and if you don't
catch that, the app will wait for the signal forever (and thus
hang).
2004-09-15 08:35:17 +00:00
Ronald S. Bultje
e951b6da34 ext/gnomevfs/: Use _uri_new() instead of _open(), so it doesn't take as long and
Original commit message from CVS:
* ext/gnomevfs/gstgnomevfssink.c:
(gst_gnomevfssink_uri_get_protocols):
* ext/gnomevfs/gstgnomevfssrc.c:
(gst_gnomevfssrc_uri_get_protocols):
* ext/gnomevfs/gstgnomevfsuri.c: (gst_gnomevfs_get_supported_uris):
* ext/gnomevfs/gstgnomevfsuri.h:
Use _uri_new() instead of _open(), so it doesn't take as long and
Christophe's computer won't hang.
* gst/playback/gstplaybasebin.c: (unknown_type):
Throw error on unknown media type, so apps actually display it.
2004-09-15 06:33:43 +00:00
Brian Cameron
27a5236511 2004-09-14 Brian Cameron <brian.cameron@sun.com
Original commit message from CVS:
2004-09-14  Brian Cameron  <brian.cameron@sun.com

* tools/gst-launch-ext-m.m:  Changed ~ to $ENV{HOME} to allow
this script to work on Solaris since bash shell handles echo
differenly than bash.
2004-09-14 19:30:07 +00:00
Wim Taymans
8b07b85b34 gst/playback/: Some more work on making sure seeking pauses the pipeline and that changing the uri actually does some...
Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (queue_overrun), (no_more_pads),
(setup_source), (gst_play_base_bin_set_property),
(gst_play_base_bin_add_element):
* gst/playback/gstplaybin.c: (gst_play_bin_send_event):
Some more work on making sure seeking pauses the pipeline and
that changing the uri actually does something.
2004-09-14 16:54:14 +00:00
Wim Taymans
ffc76fcfa3 gst/tcp/: Be a bit more paranoid when freeing memory.
Original commit message from CVS:
* gst/tcp/gstfdset.c: (gst_fdset_wait):
* gst/tcp/gstmultifdsink.c: (gst_multifdsink_close):
* gst/tcp/gsttcpserversink.c: (gst_tcpserversink_init_send),
(gst_tcpserversink_close):
Be a bit more paranoid when freeing memory.
2004-09-14 14:03:14 +00:00
Ronald S. Bultje
fcf36c760a gst/qtdemux/qtdemux.c: Don't crash by dividing by zero (see sample movie in #126922).
Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (gst_qtdemux_add_stream),
(qtdemux_parse_trak):
Don't crash by dividing by zero (see sample movie in #126922).
2004-09-13 20:13:32 +00:00
Ronald S. Bultje
914e95a5dc gst/qtdemux/qtdemux.c: Don't touch non-existing data (fixes crash on file in #140147).
Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (qtdemux_audio_caps):
Don't touch non-existing data (fixes crash on file in #140147).
2004-09-13 19:38:42 +00:00
Stéphane Loeuillet
cad1002f91 gst/mpegstream/gstmpegparse.c: fix synchronistation for streams recorded from digital PCR fixes bug #119376
Original commit message from CVS:
* gst/mpegstream/gstmpegparse.c:
fix synchronistation for streams recorded from digital PCR
fixes bug #119376
2004-09-13 18:56:32 +00:00
Ronald S. Bultje
89e937e994 gst/playback/gstplaybasebin.c: Handle double disposals, and proper change of URIs.
Original commit message from CVS:
* gst/playback/gstplaybasebin.c:
(gst_play_base_bin_dispose), (gst_play_base_bin_set_property):
Handle double disposals, and proper change of URIs.
2004-09-13 18:23:49 +00:00
Ronald S. Bultje
4af8ecf5e4 ext/gnomevfs/: Add URI support to Gnome-VFS plugins. Tries to load a fixed list of fake URIs to see which this versio...
Original commit message from CVS:
* ext/gnomevfs/Makefile.am:
* ext/gnomevfs/gstgnomevfs.c: (plugin_init):
* ext/gnomevfs/gstgnomevfssink.c: (gst_gnomevfssink_get_type),
(gst_gnomevfssink_dispose), (gst_gnomevfssink_init),
(gst_gnomevfssink_uri_get_type),
(gst_gnomevfssink_uri_get_protocols),
(gst_gnomevfssink_uri_get_uri), (gst_gnomevfssink_uri_set_uri),
(gst_gnomevfssink_uri_handler_init),
(gst_gnomevfssink_set_property), (gst_gnomevfssink_get_property),
(gst_gnomevfssink_open_file), (gst_gnomevfssink_close_file):
* ext/gnomevfs/gstgnomevfssrc.c: (gst_gnomevfssrc_get_type),
(gst_gnomevfssrc_init), (gst_gnomevfssrc_dispose),
(gst_gnomevfssrc_uri_get_type),
(gst_gnomevfssrc_uri_get_protocols), (gst_gnomevfssrc_uri_get_uri),
(gst_gnomevfssrc_uri_set_uri), (gst_gnomevfssrc_uri_handler_init),
(gst_gnomevfssrc_set_property), (gst_gnomevfssrc_get_property),
(gst_gnomevfssrc_open_file), (gst_gnomevfssrc_close_file):
* ext/gnomevfs/gstgnomevfsuri.c: (gst_gnomevfs_get_supported_uris):
* ext/gnomevfs/gstgnomevfsuri.h:
Add URI support to Gnome-VFS plugins. Tries to load a fixed list
of fake URIs to see which this version of Gnome-VFS likes, and
uses that for the Gst-URI interface. Makes playbin support http://
streams. Also fix up some stupid behaviour in gnomevfssrc.
2004-09-13 17:33:18 +00:00
Ronald S. Bultje
e56c383f0f ext/alsa/gstalsamixer.c: Update mixer (to sync with other sessions) if we try to obtain a new value. This makes alsam...
Original commit message from CVS:
* ext/alsa/gstalsamixer.c: (gst_alsa_mixer_update),
(gst_alsa_mixer_get_volume), (gst_alsa_mixer_set_volume),
(gst_alsa_mixer_set_mute), (gst_alsa_mixer_set_record),
(gst_alsa_mixer_set_option), (gst_alsa_mixer_get_option):
Update mixer (to sync with other sessions) if we try to obtain
a new value. This makes alsamixer work accross applications.
* ext/alsa/gstalsasink.c: (gst_alsa_sink_get_time):
Only call sync functions if we're running, else alsalib asserts.
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_src_query):
Sometimes fails to compile. Possibly a gcc bug.
* gst/playback/gstplaybin.c: (gen_video_element),
(gen_audio_element):
Add a reference to an application-provided object, because we lose
this same reference if we add it to the bin. If we don't do this,
we can only use this object once and thus crash if we go from
ready to playing, back to ready and back to playing again.
Also add an audioscale element because several cheap soundcards -
like mine - don't support all samplerates.
* sys/ximage/ximagesink.c: (gst_ximagesink_xcontext_get),
(gst_ximagesink_xcontext_clear), (gst_ximagesink_change_state):
Fix wrong order or PAR calls. Makes automatically obtained PAR
from the X server atually being used.
2004-09-13 09:24:00 +00:00
David Schleef
a5bb47bcd0 Fixes: #151879, #151881, #151882, #151883, #151884, #151886, #151887, #152102, #152247.
Original commit message from CVS:
Fixes: #151879, #151881, #151882, #151883, #151884, #151886,
#151887, #152102, #152247.
* examples/indexing/indexmpeg.c: 64-bit warning fixes.
* examples/seeking/cdparanoia.c: same
* examples/seeking/cdplayer.c: same
* examples/seeking/seek.c: same
* examples/seeking/spider_seek.c: same
* examples/seeking/vorbisfile.c: same
* examples/stats/mp2ogg.c: same
* ext/esd/esdsink.c: (gst_esdsink_class_init),
(gst_esdsink_dispose): Dispose of element properly.
* ext/ivorbis/vorbisfile.c: (gst_ivorbisfile_seek): 64-bit warning
fixes.
* ext/nas/nassink.c: (gst_nassink_class_init),
(gst_nassink_dispose): Dispose of element correctly.
* gst/wavenc/gstwavenc.c: (gst_wavenc_chain): Fix leak.
* sys/ximage/ximagesink.c: (gst_ximagesink_check_xshm_calls),
(gst_ximagesink_ximage_new), (gst_ximagesink_ximage_destroy):
Fix 64-bit warning.
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_check_xshm_calls),
(gst_xvimagesink_xvimage_new), (gst_xvimagesink_xvimage_destroy):
Fix 64-bit warning.
2004-09-12 22:57:26 +00:00
Stéphane Loeuillet
2b81e2bb1a configure.ac: change speex detection as 1.1.6 now uses .pc/pkg-config and they changed their headers location.
Original commit message from CVS:
* configure.ac : change speex detection as 1.1.6 now uses
.pc/pkg-config and they changed their headers location.
2004-09-12 13:35:52 +00:00
Arwed v. Merkatz
814b3d25be Write meta-seek information (seek heads).
Original commit message from CVS:
Write meta-seek information (seek heads).
2004-09-09 17:54:26 +00:00
Arwed v. Merkatz
56a8d7c680 Write multiple blocks/frames per cluster.
Original commit message from CVS:
Write multiple blocks/frames per cluster.
2004-09-09 15:40:06 +00:00
Scott Wheeler
d4c469d6bd Added a volume element to the gstplaybin pipeline and an element for setting it.
Original commit message from CVS:
Added a volume element to the gstplaybin pipeline and an element for setting
it.
2004-09-09 15:28:20 +00:00
Wim Taymans
658b2d7f85 gst/videomixer/videomixer.c: Copy timestamps from the master pad to the output buffers.
Original commit message from CVS:
* gst/videomixer/videomixer.c: (gst_videomixer_blend_buffers):
Copy timestamps from the master pad to the output buffers.
2004-09-07 13:40:52 +00:00
Thomas Vander Stichele
24cf409da2 throw errors when applicable
Original commit message from CVS:
throw errors when applicable
2004-09-03 16:45:36 +00:00
Arwed v. Merkatz
1fcf92b730 Create cue entries for audio only files.
Original commit message from CVS:
Create cue entries for audio only files.
Fix writing of CUETIME, wrongly used gst_ebml_write_date.
2004-09-01 13:41:37 +00:00
Arwed v. Merkatz
e83fb2a3c2 Write track and segment UIDs, write muxing date, write TRACKDEFAULTDURATION for TTA audio, write BLOCKDURATION if known.
Original commit message from CVS:
Write track and segment UIDs, write muxing date, write TRACKDEFAULTDURATION for TTA audio, write BLOCKDURATION if known.
2004-09-01 12:10:21 +00:00
Ronald S. Bultje
436a489e65 ext/alsa/: Re-commit ALSA switches.
Original commit message from CVS:
* ext/alsa/gstalsamixer.c: (gst_alsa_mixer_build_list):
* ext/alsa/gstalsamixertrack.c: (gst_alsa_mixer_track_new):
Re-commit ALSA switches.
* gst/adder/gstadder.c: (gst_adder_loop):
64-bit fix (#151416).
* gst/debug/progressreport.c: (gst_progressreport_report):
64-bit fix (#151419).
* gst/matroska/matroska-demux.c:
(gst_matroska_demux_parse_contents):
64-bit fix (#151420).
* gst/playback/test3.c: (update_scale):
64-bit fix (#151421).
2004-08-31 14:12:49 +00:00
Thomas Vander Stichele
8947c41055 bump nano to cvs
Original commit message from CVS:
bump nano to cvs
2004-08-31 14:04:38 +00:00
Thomas Vander Stichele
d26931ab62 releasing
Original commit message from CVS:
releasing
2004-08-31 09:51:49 +00:00
Thomas Vander Stichele
d1a2c54b3b fix #151462
Original commit message from CVS:
fix #151462
2004-08-31 08:45:46 +00:00
Ronald S. Bultje
e3b386fa92 revert (freeze) until release has been made
Original commit message from CVS:
revert (freeze) until release has been made
2004-08-30 18:41:32 +00:00
Wim Taymans
1b94db03e9 gst/tcp/: Fix some memory leaks.
Original commit message from CVS:
* gst/tcp/gstfdset.c: (gst_fdset_free), (gst_fdset_wait):
* gst/tcp/gstmultifdsink.c: (gst_multifdsink_add),
(gst_multifdsink_remove_client_link),
(gst_multifdsink_client_queue_buffer),
(gst_multifdsink_handle_client_write):
* gst/tcp/gsttcpclientsink.c: (gst_tcpclientsink_init_send):
* gst/tcp/gsttcpclientsrc.c: (gst_tcpclientsrc_init_receive):
Fix some memory leaks.
2004-08-30 10:28:40 +00:00
Thomas Vander Stichele
5daae06745 fix for 151236
Original commit message from CVS:
fix for 151236
2004-08-30 10:26:52 +00:00
Thomas Vander Stichele
2cf60029a1 fixes #151232
Original commit message from CVS:
fixes #151232
2004-08-30 10:03:18 +00:00
Ronald S. Bultje
66ac8f5534 ext/alsa/: Add switches (simple boolean on/off).
Original commit message from CVS:
* ext/alsa/gstalsamixer.c: (gst_alsa_mixer_build_list):
* ext/alsa/gstalsamixertrack.c: (gst_alsa_mixer_track_new):
Add switches (simple boolean on/off).
2004-08-29 19:37:38 +00:00
David Schleef
46f85d8694 sys/glsink/glimagesink.c: Move local variable declarations to make gcc-2.95 happy.
Original commit message from CVS:
* sys/glsink/glimagesink.c: (gst_glimagesink_ximage_put),
(gst_glimagesink_xwindow_new), (gst_glimagesink_xcontext_get),
(gst_glimagesink_fixate):  Move local variable declarations to
make gcc-2.95 happy.
2004-08-27 19:18:23 +00:00
Thomas Vander Stichele
64a71292f5 prerelease
Original commit message from CVS:
prerelease
2004-08-27 17:38:17 +00:00
Balamurali Viswanathan
a5f9bf2da3 sys/sunaudio/Makefile.am: Add sunaudiosrc patch from Bala
Original commit message from CVS:
* sys/sunaudio/Makefile.am: Add sunaudiosrc patch from Bala
* sys/sunaudio/gstsunaudiosrc.c:
* sys/sunaudio/gstsunaudiosrc.h:
2004-08-27 17:05:20 +00:00
Arwed v. Merkatz
ece91164c8 Mux video/x-divx and video/x-xvid in VFW compatibility mode so it actually works
Original commit message from CVS:
Mux video/x-divx and video/x-xvid in VFW compatibility mode so it actually works
2004-08-27 17:01:12 +00:00
Arwed v. Merkatz
7e9f0b9582 Handle EOS correctly.
Original commit message from CVS:
Handle EOS correctly.
2004-08-27 14:10:09 +00:00
Thomas Vander Stichele
2c45f60b46 handle new media
Original commit message from CVS:
handle new media
2004-08-27 12:18:16 +00:00
Arwed v. Merkatz
356279a65b Fix byte order reversion for writing ebml floats.
Original commit message from CVS:
Fix byte order reversion for writing ebml floats.
Write segment duration and muxing application in matroska.
Added TTA codec to the list of supported codecs to mux into matroska.
2004-08-26 11:10:16 +00:00
Zaheer Abbas Merali
80badd5a94 ext/lame/gstlame.*: Added new media support to lame
Original commit message from CVS:
2004-08-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

* ext/lame/gstlame.c: (gst_lame_init), (gst_lame_chain):
* ext/lame/gstlame.h:
Added new media support to lame
2004-08-26 00:32:00 +00:00
Arwed v. Merkatz
572f80fde1 Set XVID_LOWDELAY flag for decoding so files with bframes/packed bitstream are decoded correctly, bug #135407.
Original commit message from CVS:
Set XVID_LOWDELAY flag for decoding so files with bframes/packed bitstream are
decoded correctly, bug #135407.
2004-08-25 17:12:56 +00:00
Arwed v. Merkatz
ad0c06763d Interpret BLOCKDURATION and set buffer duration accordingly, enable demuxing of TTA audio from matroska, fixes bugs #...
Original commit message from CVS:
Interpret BLOCKDURATION and set buffer duration accordingly, enable demuxing
of TTA audio from matroska, fixes bugs #148950 and #148951.
2004-08-25 14:41:12 +00:00
Arwed v. Merkatz
f7233f132c Typefinding for TTA files, fixes bug #148711.
Original commit message from CVS:
Typefinding for TTA files, fixes bug #148711.
2004-08-25 14:12:52 +00:00
Arwed v. Merkatz
4a4ec26aa3 Send vorbis headers at the beginning of a stream, fixes bug #141554.
Original commit message from CVS:
Send vorbis headers at the beginning of a stream, fixes bug #141554.
2004-08-25 12:27:59 +00:00
Christophe Fergeau
99aa2764dd gst-libs/gst/riff/riff-read.c: fix infinite loop in wavparse, fixes bug
Original commit message from CVS:
2004-08-24  Sebastien Cote  <sc5@hermes.usherb.ca>

* gst-libs/gst/riff/riff-read.c: (gst_riff_peek_head),
(gst_riff_read_element_data), (gst_riff_read_seek),
(gst_riff_read_skip): fix infinite loop in wavparse, fixes bug
#144616, patch reviewed by Ronald and committed by Christophe Fergeau
<teuf@gnome.org>
2004-08-24 18:25:02 +00:00
Iain Holmes
d51ef41be6 Special case the COMM tag
Original commit message from CVS:
Special case the COMM tag
2004-08-23 22:48:19 +00:00
Wim Taymans
129b92f020 ext/ogg/gstoggmux.c: Make sure we never send -1 granulepos.
Original commit message from CVS:
* ext/ogg/gstoggmux.c: (gst_ogg_mux_next_buffer),
(gst_ogg_mux_send_headers), (gst_ogg_mux_loop):
Make sure we never send -1 granulepos.
2004-08-22 09:31:06 +00:00
Wim Taymans
19f668f5be ext/ogg/gstoggmux.c: I will accept bitchslappings with non sharp objects.
Original commit message from CVS:
* ext/ogg/gstoggmux.c: (gst_ogg_mux_next_buffer),
(gst_ogg_mux_loop):
I will accept bitchslappings with non sharp objects.
2004-08-20 10:46:51 +00:00
Zaheer Abbas Merali
8fdef92d21 configure.ac: Clean up the test for lame presets
Original commit message from CVS:
2004-08-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

* configure.ac:
Clean up the test for lame presets
2004-08-20 10:43:18 +00:00
Zaheer Abbas Merali
e44aba6128 Only enable lame presets if version of lame has presets in API
Original commit message from CVS:
2004-08-19  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

* configure.ac:
* ext/lame/Makefile.am:
* ext/lame/gstlame.c: (gst_lame_class_init),
(gst_lame_set_property), (gst_lame_get_property), (gst_lame_setup):
Only enable lame presets if version of lame has presets in API
2004-08-19 22:44:50 +00:00
Jan Schmidt
7c336e85ad gst/udp/gstudpsrc.*: Don't call gst_pad_push in a get function. Fixes #150449
Original commit message from CVS:
* gst/udp/gstudpsrc.c: (gst_udpsrc_init), (gst_udpsrc_get):
* gst/udp/gstudpsrc.h:
Don't call gst_pad_push in a get function. Fixes #150449
2004-08-19 13:33:46 +00:00
Wim Taymans
5de70d8e4b gst/tcp/: Some extra checks in gstfdset.
Original commit message from CVS:
* gst/tcp/gstfdset.c: (gst_fdset_free), (gst_fdset_set_mode),
(gst_fdset_get_mode), (gst_fdset_add_fd), (gst_fdset_remove_fd),
(gst_fdset_fd_ctl_write), (gst_fdset_fd_ctl_read),
(gst_fdset_fd_has_closed), (gst_fdset_fd_has_error),
(gst_fdset_fd_can_read), (gst_fdset_fd_can_write),
(gst_fdset_wait):
* gst/tcp/gstfdset.h:
* gst/tcp/gstmultifdsink.c: (gst_multifdsink_add),
(gst_multifdsink_client_queue_buffer),
(gst_multifdsink_handle_client_write):
* gst/tcp/gstmultifdsink.h:
Some extra checks in gstfdset.
Only use send() when the fd is a socket. Don't try to
read from write only fds.
2004-08-18 16:13:19 +00:00
Wim Taymans
f4d7395bb6 gst/tcp/gstfdset.c: Add more locking and bounds checking.
Original commit message from CVS:
* gst/tcp/gstfdset.c: (gst_fdset_add_fd), (gst_fdset_remove_fd),
(gst_fdset_fd_ctl_write), (gst_fdset_fd_ctl_read),
(gst_fdset_fd_has_closed), (gst_fdset_fd_has_error),
(gst_fdset_fd_can_read), (gst_fdset_fd_can_write),
(gst_fdset_wait):
Add more locking and bounds checking.
2004-08-18 11:57:56 +00:00
Balamurali Viswanathan
315db8d930 sys/sunaudio/: Fix caps to handle full range of rates and channels. Make debugging less obnoxious.
Original commit message from CVS:
* sys/sunaudio/Makefile.am:
* sys/sunaudio/gstsunaudio.c: Fix caps to handle full range
of rates and channels.  Make debugging less obnoxious.
Patch from Balamurali Viswanathan implementing a mixer for
Sun audio.  (bug #144091):
* sys/sunaudio/gstsunelement.c:
* sys/sunaudio/gstsunelement.h:
* sys/sunaudio/gstsunmixer.c:
* sys/sunaudio/gstsunmixer.h:
2004-08-18 04:52:41 +00:00
Zaheer Abbas Merali
205389ef35 gst/audioscale/gstaudioscale.*: made audioscale resample from any sample rate to any sample rate
Original commit message from CVS:
2004-08-17  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

* gst/audioscale/gstaudioscale.c:
* gst/audioscale/gstaudioscale.h:
made audioscale resample from any sample rate to any sample rate
2004-08-17 21:27:30 +00:00
Thomas Vander Stichele
501df5ca84 error out on unsupported types
Original commit message from CVS:
error out on unsupported types
2004-08-17 13:37:07 +00:00
Iain Holmes
be4c8f8df2 Make flacenc work with mono streams by only setting the mid_side and loose_mid_side when its a stereo stream
Original commit message from CVS:
Make flacenc work with mono streams by only setting the mid_side and loose_mid_side when its a stereo stream
2004-08-17 12:38:33 +00:00
Wim Taymans
8b999a970b ext/theora/theoradec.c: Add a debug line.
Original commit message from CVS:
* ext/theora/theoradec.c: (gst_theora_dec_class_init),
(theora_get_formats), (theora_dec_src_convert),
(theora_dec_sink_convert), (theora_dec_src_query),
(theora_dec_src_event), (theora_dec_event), (theora_dec_chain):
Add a debug line.
2004-08-17 10:43:54 +00:00
Wim Taymans
10853371fe ext/ogg/: Mark delta units in the muxer.
Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_iterate),
(gst_ogg_pad_push):
* ext/ogg/gstoggmux.c: (gst_ogg_mux_init),
(gst_ogg_mux_request_new_pad), (gst_ogg_mux_next_buffer),
(gst_ogg_mux_buffer_from_page), (gst_ogg_mux_push_page),
(gst_ogg_mux_send_headers), (gst_ogg_mux_loop):
Mark delta units in the muxer.
Try to decode the packet after an out-of-sync error from
libogg.
2004-08-17 10:40:49 +00:00
Wim Taymans
8e53d44762 gst/tcp/gstmultifdsink.*: Added option to send a keyframe to clients as the first buffer.
Original commit message from CVS:
* gst/tcp/gstmultifdsink.c: (gst_multifdsink_class_init),
(gst_multifdsink_init), (gst_multifdsink_add),
(gst_multifdsink_client_queue_buffer),
(gst_multifdsink_set_property), (gst_multifdsink_get_property):
* gst/tcp/gstmultifdsink.h:
Added option to send a keyframe to clients as the first buffer.
Make timeout property writable.
2004-08-17 10:30:15 +00:00
Thomas Vander Stichele
e400971a74 fix index comparison
Original commit message from CVS:
fix index comparison
2004-08-17 09:57:30 +00:00
Wim Taymans
70d80ccede gst/tcp/gstfdset.c: Make sure the pollfds are not changed when the poll call is running. Protect against array out of...
Original commit message from CVS:
* gst/tcp/gstfdset.c: (ensure_size), (gst_fdset_new),
(gst_fdset_add_fd), (gst_fdset_remove_fd),
(gst_fdset_fd_has_closed), (gst_fdset_fd_has_error),
(gst_fdset_fd_can_read), (gst_fdset_fd_can_write),
(gst_fdset_wait):
Make sure the pollfds are not changed when the poll call is
running. Protect against array out of bounds.
2004-08-16 16:45:51 +00:00
Wim Taymans
d396a45815 ext/theora/theoraenc.c: Fix bug where buffers were not marked as keyframes correctly.
Original commit message from CVS:
* ext/theora/theoraenc.c: (gst_border_mode_get_type),
(gst_theora_enc_class_init), (theora_enc_sink_link),
(theora_buffer_from_packet), (theora_enc_chain):
Fix bug where buffers were not marked as keyframes
correctly.
2004-08-16 10:19:39 +00:00
Zaheer Abbas Merali
136b5518a7 ext/lame/gstlame.c: describe the enum values for vbr mode and presets more verbosely
Original commit message from CVS:
2004-08-15  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

* ext/lame/gstlame.c: (gst_lame_vbrmode_get_type),
(gst_lame_preset_get_type), (gst_lame_class_init):
describe the enum values for vbr mode and presets more verbosely
2004-08-15 13:46:59 +00:00
Zaheer Abbas Merali
0ecd6124e1 ext/lame/gstlame.*: add preset property to lame so it can use lame presets
Original commit message from CVS:
2004-08-13  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

* ext/lame/gstlame.c: (gst_lame_mode_get_type),
(gst_lame_quality_get_type), (gst_lame_padding_get_type),
(gst_lame_preset_get_type), (gst_lame_class_init), (gst_lame_init),
(gst_lame_set_property), (gst_lame_get_property), (gst_lame_setup):
* ext/lame/gstlame.h:
add preset property to lame so it can use lame presets
2004-08-13 15:22:49 +00:00
Zaheer Abbas Merali
ea73adbef8 ext/lame/gstlame.c: whoops forgot break, thanks teuf
Original commit message from CVS:
2004-08-13  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

* ext/lame/gstlame.c: (gst_lame_get_property):
whoops forgot break, thanks teuf
2004-08-13 14:55:27 +00:00
Zaheer Abbas Merali
67b51c651c ext/lame/gstlame.*: fix lame's broken vbr stuff, allow it to resample if need be, and also make xing header optional
Original commit message from CVS:
2004-08-13  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

* ext/lame/gstlame.c: (gst_lame_vbrmode_get_type),
(gst_lame_class_init), (gst_lame_src_getcaps),
(gst_lame_sink_link), (gst_lame_init), (gst_lame_set_property),
(gst_lame_get_property), (gst_lame_setup):
* ext/lame/gstlame.h:
fix lame's broken vbr stuff, allow it to resample if need be, and also
make xing header optional
2004-08-13 14:41:00 +00:00
Zaheer Abbas Merali
6b87cb3fe5 ext/lame/gstlame.c: added getcaps function so samplerate doesntget fixated to silly values
Original commit message from CVS:
2004-08-12  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

* ext/lame/gstlame.c: (gst_lame_src_getcaps), (gst_lame_init):
added getcaps function so samplerate doesntget fixated to silly values
2004-08-12 17:22:30 +00:00
Zaheer Abbas Merali
489ddc7c01 ext/lame/gstlame.c: revert previous fix
Original commit message from CVS:
2004-08-12  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

* ext/lame/gstlame.c: (gst_lame_src_link):
revert previous fix
2004-08-12 16:44:14 +00:00
Johan Dahlin
98bda21c08 sys/v4l/gstv4lelement.c (gst_v4l_iface_supported): Remove bogus checks. Doesn't matter what state we are in. Interfac...
Original commit message from CVS:
* sys/v4l/gstv4lelement.c (gst_v4l_iface_supported): Remove bogus
checks. Doesn't matter what state we are in. Interfaces are a
compile time thing, not runtime. It also broke the python bindings.
2004-08-12 16:39:45 +00:00
Zaheer Abbas Merali
81835b3172 ext/lame/gstlame.c: made source pad link function check if sinkpad is ok..fixes the problem where core fixates the ou...
Original commit message from CVS:
2004-08-12  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

* ext/lame/gstlame.c: (gst_lame_src_link):
made source pad link function check if sinkpad is ok..fixes the problem
where core fixates the output rate of lame stupidly
2004-08-12 16:11:59 +00:00
Thomas Vander Stichele
04edf83d8c fix fixate and link
Original commit message from CVS:
fix fixate and link
2004-08-12 15:58:50 +00:00
Zaheer Abbas Merali
5fdf6f97a3 ext/lame/gstlame.c: set default compression ratio paramter to 0.0 so bitrate parameter works :)
Original commit message from CVS:
2004-08-12  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

* ext/lame/gstlame.c: (gst_lame_class_init), (gst_lame_init):
set default compression ratio paramter to 0.0 so bitrate parameter
works :)
2004-08-12 15:48:50 +00:00
David Schleef
93d30f5720 gst/tcp/gstfdset.c: Fix compile problem on OS/X.
Original commit message from CVS:
* gst/tcp/gstfdset.c: Fix compile problem on OS/X.
2004-08-11 22:58:06 +00:00
David Schleef
a3b884ce9e gst/mpeg1sys/gstmpeg1systemencode.c: Oops, this was correct before.
Original commit message from CVS:
* gst/mpeg1sys/gstmpeg1systemencode.c: Oops, this was correct
before.
2004-08-11 21:42:18 +00:00
David Schleef
c9116cce1b gst-libs/gst/video/videosink.h: Change copyright block to LGPL.
Original commit message from CVS:
* gst-libs/gst/video/videosink.h: Change copyright block to LGPL.
2004-08-11 21:19:13 +00:00
David Schleef
615829e677 ext/pango/gsttextoverlay.c: Add copyright block and fix plugin license field
Original commit message from CVS:
* ext/pango/gsttextoverlay.c: Add copyright block and fix plugin
license field
* gst-libs/gst/idct/Makefile.am: Remove mmx/sse code
* gst-libs/gst/video/gstvideosink.c: Change copyright block to
LGPL.
* gst/auparse/gstauparse.c: Fix plugin license field.
* gst/monoscope/gstmonoscope.c: Fix plugin license field.
* gst/mpeg1sys/gstmpeg1systemencode.c: Fix plugin license field.
* gst/rtp/gstrtp.c: Fix plugin license field.
2004-08-11 21:06:48 +00:00
Wim Taymans
1ee15addd7 gst/tcp/: Abstracted away the select call, implemented poll (yes we ran into the 1024 limit in production).
Original commit message from CVS:
* gst/tcp/Makefile.am:
* gst/tcp/gstfdset.c: (gst_fdset_mode_get_type), (nearest_pow),
(ensure_size), (gst_fdset_new), (gst_fdset_free),
(gst_fdset_set_mode), (gst_fdset_get_mode), (gst_fdset_add_fd),
(gst_fdset_remove_fd), (gst_fdset_fd_ctl_write),
(gst_fdset_fd_ctl_read), (gst_fdset_fd_has_closed),
(gst_fdset_fd_has_error), (gst_fdset_fd_can_read),
(gst_fdset_fd_can_write), (gst_fdset_wait):
* gst/tcp/gstfdset.h:
* gst/tcp/gstmultifdsink.c: (gst_unit_type_get_type),
(gst_multifdsink_class_init), (gst_multifdsink_init),
(gst_multifdsink_add), (gst_multifdsink_remove),
(gst_multifdsink_clear), (gst_multifdsink_get_stats),
(gst_multifdsink_remove_client_link),
(gst_multifdsink_handle_client_read),
(gst_multifdsink_client_queue_data),
(gst_multifdsink_client_queue_caps),
(gst_multifdsink_client_queue_buffer),
(gst_multifdsink_handle_client_write),
(gst_multifdsink_recover_client), (gst_multifdsink_queue_buffer),
(gst_multifdsink_handle_clients), (gst_multifdsink_set_property),
(gst_multifdsink_get_property), (gst_multifdsink_init_send),
(gst_multifdsink_close):
* gst/tcp/gstmultifdsink.h:
* gst/tcp/gsttcpserversink.c: (gst_tcpserversink_class_init),
(gst_tcpserversink_init), (gst_tcpserversink_handle_server_read),
(gst_tcpserversink_handle_wait), (gst_tcpserversink_init_send),
(gst_tcpserversink_close):
* gst/tcp/gsttcpserversink.h:
Abstracted away the select call, implemented poll (yes we ran into
the 1024 limit in production).
2004-08-11 15:58:48 +00:00
Thomas Vander Stichele
3637e46217 improve debugging
Original commit message from CVS:
improve debugging
2004-08-11 11:42:49 +00:00
Wim Taymans
3e828d5aa3 gst/tcp/: Starting to prepare for specifying buffer time in other units than buffers. Expose remove reason in signal.
Original commit message from CVS:
* gst/tcp/gstmultifdsink.c: (gst_unit_type_get_type),
(gst_client_status_get_type), (gst_multifdsink_class_init),
(gst_multifdsink_init), (gst_multifdsink_remove_client_link),
(gst_multifdsink_handle_client_read),
(gst_multifdsink_handle_client_write),
(gst_multifdsink_recover_client), (gst_multifdsink_queue_buffer),
(gst_multifdsink_handle_clients), (gst_multifdsink_set_property),
(gst_multifdsink_get_property):
* gst/tcp/gstmultifdsink.h:
* gst/tcp/gsttcp-marshal.list:
Starting to prepare for specifying buffer time in other units
than buffers. Expose remove reason in signal.
2004-08-10 15:23:18 +00:00
Wim Taymans
2a2e29a188 gst/tcp/gstmultifdsink.*: Added more debugging info. Changed the way clients are removed from the lists. Fixed a bug ...
Original commit message from CVS:
* gst/tcp/gstmultifdsink.c: (gst_multifdsink_add),
(gst_multifdsink_remove), (gst_multifdsink_clear),
(gst_multifdsink_remove_client_link),
(gst_multifdsink_handle_client_read),
(gst_multifdsink_client_queue_data),
(gst_multifdsink_client_queue_buffer),
(gst_multifdsink_handle_client_write),
(gst_multifdsink_queue_buffer), (gst_multifdsink_handle_clients),
(gst_multifdsink_chain), (gst_multifdsink_close):
* gst/tcp/gstmultifdsink.h:
Added more debugging info. Changed the way clients are
removed from the lists. Fixed a bug where a bad file descriptor
could cause many clients to be removed.
2004-08-10 11:35:44 +00:00
Benjamin Otte
d6487bd8b6 gst/videotestsrc/gstvideotestsrc.c: allow all pixel-aspect-ratios, not just 1:1
Original commit message from CVS:
* gst/videotestsrc/gstvideotestsrc.c: (generate_capslist):
allow all pixel-aspect-ratios, not just 1:1
2004-08-10 07:31:11 +00:00
David Schleef
aa53393bcc sys/glsink/ARB_multitexture.h: Remove old files.
Original commit message from CVS:
* sys/glsink/ARB_multitexture.h:  Remove old files.
* sys/glsink/EXT_paletted_texture.h:
* sys/glsink/NV_register_combiners.h:
* sys/glsink/gstgl_nvimage.c:
* sys/glsink/gstgl_pdrimage.c:
* sys/glsink/gstgl_rgbimage.c:
* sys/glsink/gstglsink.c:
* sys/glsink/gstglsink.h:
* sys/glsink/gstglxwindow.c:
* sys/glsink/regcomb_yuvrgb.c:
2004-08-09 20:16:48 +00:00
Gernot Ziegler
5174b257d2 GL sink plugin. (Bug #147302)
Original commit message from CVS:
Patch from Gernot Ziegler <gz@lysator.liu.se> rewriting the
GL sink plugin.  (Bug #147302)
* configure.ac: Test for OpenGL
* sys/Makefile.am: Use test for OpenGL
* sys/glsink/Makefile.am:
* sys/glsink/glimagesink.c: rewrite
* sys/glsink/glimagesink.h: rewrite
2004-08-09 20:14:50 +00:00
David Schleef
c42de4b190 ext/sdl/sdlvideosink.c: Only allow sane framerates.
Original commit message from CVS:
* ext/sdl/sdlvideosink.c: (gst_sdlvideosink_base_init):  Only allow
sane framerates.
* sys/ximage/ximagesink.c: (gst_ximagesink_xcontext_get): same
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_get_xv_support): same
* testsuite/gst-lint: Test for G_GUINT64_FORMAT usage near gettext.
2004-08-09 20:07:09 +00:00
Wim Taymans
e777d737d7 gst/tcp/gstmultifdsink.c: Do a bit more logging, make the client_read code more robust.
Original commit message from CVS:
* gst/tcp/gstmultifdsink.c: (gst_multifdsink_class_init),
(gst_multifdsink_add), (gst_multifdsink_get_stats),
(gst_multifdsink_client_remove),
(gst_multifdsink_handle_client_read),
(gst_multifdsink_handle_client_write),
(gst_multifdsink_queue_buffer), (gst_multifdsink_handle_clients):
Do a bit more logging, make the client_read code more robust.
2004-08-09 16:48:41 +00:00
Thomas Vander Stichele
c793316e38 cleanups, debugging and memleak fixes
Original commit message from CVS:
cleanups, debugging and memleak fixes
2004-08-09 16:38:53 +00:00
Wim Taymans
ec928a3d33 ext/theora/theoradec.c: Don't crash on missing header packets.
Original commit message from CVS:
* ext/theora/theoradec.c: (gst_theora_dec_class_init),
(theora_get_formats), (theora_dec_src_convert),
(theora_dec_sink_convert), (theora_dec_src_query),
(theora_dec_src_event), (theora_dec_event), (theora_dec_chain),
(theora_dec_change_state):
Don't crash on missing header packets.
2004-08-09 13:16:03 +00:00
Thomas Vander Stichele
b7b9f19b12 updated cz
Original commit message from CVS:
added albanian (sq), updated cz
2004-08-09 09:24:07 +00:00
Thomas Vander Stichele
b98dbc6356 fix add debugging
Original commit message from CVS:
fix add debugging
2004-08-09 09:22:12 +00:00
Thomas Vander Stichele
59e6295f59 assign error codes
Original commit message from CVS:
assign error codes
2004-08-09 09:00:05 +00:00
Wim Taymans
880a3d809b gst/tcp/gstmultifdsink.c: Make sure we don't try to read more from a client that what ioctl says us or we deadlock.
Original commit message from CVS:
* gst/tcp/gstmultifdsink.c: (gst_multifdsink_class_init),
(gst_multifdsink_add), (gst_multifdsink_get_stats),
(gst_multifdsink_client_remove),
(gst_multifdsink_handle_client_read),
(gst_multifdsink_handle_client_write),
(gst_multifdsink_queue_buffer), (gst_multifdsink_handle_clients):
Make sure we don't try to read more from a client that what
ioctl says us or we deadlock.
2004-08-06 15:42:58 +00:00
Thomas Vander Stichele
0ab7900719 handle changing framerate while PLAYING
Original commit message from CVS:
handle changing framerate while PLAYING
2004-08-05 17:51:06 +00:00
Thomas Vander Stichele
59c47b4cba updated translations
Original commit message from CVS:
updated translations
2004-08-05 14:41:00 +00:00
Benjamin Otte
dcbf83f93d gst/videotestsrc/gstvideotestsrc.c: generate the list of supported caps at startup and reuse it instead of always gen...
Original commit message from CVS:
* gst/videotestsrc/gstvideotestsrc.c:
(gst_videotestsrc_get_capslist), (generate_capslist),
(plugin_init):
generate the list of supported caps at startup and reuse it instead
of always generating it
2004-08-04 11:08:12 +00:00
Benjamin Otte
fb7db2cb5b gst/multipart/multipartmux.c: whoops, last checkin broke normal build
Original commit message from CVS:
* gst/multipart/multipartmux.c: (gst_multipart_mux_pad_link):
whoops, last checkin broke normal build
2004-08-03 19:56:15 +00:00
Benjamin Otte
c5d29a1b39 compile fixes for --disable-gst-debug, G_DISABLE_ASSERT and friends
Original commit message from CVS:
* ext/alsa/gstalsamixer.c: (gst_alsa_mixer_get_volume),
(gst_alsa_mixer_set_volume), (gst_alsa_mixer_set_mute),
(gst_alsa_mixer_set_record), (gst_alsa_mixer_set_option),
(gst_alsa_mixer_get_option):
* ext/dvdnav/dvdnavsrc.c: (dvdnav_get_event_name),
(dvdnavsrc_print_event):
* ext/ogg/gstoggdemux.c: (_find_chain_process), (gst_ogg_print):
* ext/ogg/gstoggmux.c: (gst_ogg_mux_pad_link),
(gst_ogg_mux_pad_unlink):
* gst/multipart/multipartmux.c: (gst_multipart_mux_pad_link),
(gst_multipart_mux_pad_unlink):
* gst/videofilter/gstvideobalance.c:
(gst_videobalance_colorbalance_set_value):
* gst/videomixer/videomixer.c: (gst_videomixer_pad_link),
(gst_videomixer_pad_unlink):
* po/uk.po:
* sys/oss/gstossmixer.c:
* sys/v4l/gstv4lcolorbalance.c:
* sys/v4l/gstv4ltuner.c:
* sys/v4l/v4lsrc_calls.c:
* sys/v4l2/gstv4l2colorbalance.c:
* sys/v4l2/gstv4l2tuner.c:
compile fixes for --disable-gst-debug, G_DISABLE_ASSERT and friends
2004-08-03 16:06:09 +00:00
Benjamin Otte
aa33b98698 fixes for G_DISABLE_ASSERT and friends
Original commit message from CVS:
* examples/dynparams/filter.c: (ui_control_create):
* examples/gstplay/player.c: (print_tag):
* ext/alsa/gstalsa.c: (gst_alsa_request_new_pad):
* ext/gdk_pixbuf/gstgdkanimation.c:
(gst_gdk_animation_iter_may_advance):
* ext/jack/gstjack.c: (gst_jack_request_new_pad):
* ext/mad/gstid3tag.c: (gst_mad_id3_to_tag_list),
(tag_list_to_id3_tag_foreach), (gst_id3_tag_handle_event):
* ext/vorbis/oggvorbisenc.c: (gst_oggvorbisenc_get_tag_value):
* ext/vorbis/vorbisenc.c: (gst_vorbisenc_get_tag_value):
* ext/xine/xineaudiodec.c: (gst_xine_audio_dec_chain):
* gst-libs/gst/media-info/media-info-test.c: (print_tag):
* gst/sine/demo-dparams.c: (main):
* gst/tags/gstvorbistag.c: (gst_tag_to_vorbis_comments):
* testsuite/alsa/formats.c: (create_pipeline):
* testsuite/alsa/sinesrc.c: (sinesrc_force_caps), (sinesrc_get):
fixes for G_DISABLE_ASSERT and friends
* gst/typefind/gsttypefindfunctions.c: (aac_type_find),
(mp3_type_frame_length_from_header), (mp3_type_find),
(plugin_init):
require mp3 typefinding to have at least MIN_HEADERS valid headers
add typefinding for AAC adts files
2004-08-03 14:28:11 +00:00
Jan Schmidt
886e233ac1 Use gdouble when calculating pixel-aspect-ratio
Original commit message from CVS:
Use gdouble when calculating pixel-aspect-ratio
2004-08-03 14:09:25 +00:00
Thomas Vander Stichele
30558437cf updated translation
Original commit message from CVS:
updated translation
2004-08-03 09:03:09 +00:00
Thomas Vander Stichele
6274ca09ca add debugging for display PAR calculation
Original commit message from CVS:
add debugging for display PAR calculation
2004-08-03 08:48:28 +00:00
David Schleef
52322d5a21 configure.ac: Fix mikmod CFLAGS.
Original commit message from CVS:
* configure.ac: Fix mikmod CFLAGS.
2004-08-02 23:00:21 +00:00
Benjamin Otte
de880f58be gst/audioscale/gstaudioscale.c: - fix templates to only support S16, it's the only format that works
Original commit message from CVS:
* gst/audioscale/gstaudioscale.c:
- fix templates to only support S16, it's the only format that works
- make caps nego code use try_set_caps_nonfixed and fixation instead
of try_set_caps twice, which is not nice for autopluggers
- change rank to secondary, so autopluggers can pick it up after
audioconvert
2004-08-02 15:55:54 +00:00
Iain Holmes
9c6f407fa2 if there is nothing connected to the sink of interleave it tries to claim it supports 0 channel audio. Fix this by as...
Original commit message from CVS:
if there is nothing connected to the sink of interleave it tries to claim it supports 0 channel audio. Fix this by assuming that there will be at least 1 channel in the future.
2004-08-02 15:48:56 +00:00
Thomas Vander Stichele
2764f43e26 back to dev
Original commit message from CVS:
back to dev
2004-08-02 14:05:48 +00:00
Thomas Vander Stichele
2dbf0c6313 gearing up for release
Original commit message from CVS:
gearing up for release
2004-08-02 11:39:17 +00:00
Thomas Vander Stichele
7845095b26 sync xvimagesink with ximagesink
Original commit message from CVS:
sync xvimagesink with ximagesink
2004-08-02 10:04:08 +00:00
Thomas Vander Stichele
537ac7a127 add link function. fixes @148986
Original commit message from CVS:
add link function. fixes @148986
2004-08-02 09:16:14 +00:00
Johan Dahlin
57843f137b gst/multipart/multipartmux.c (gst_multipart_mux_next_buffer): fix debugging log
Original commit message from CVS:
* gst/multipart/multipartmux.c (gst_multipart_mux_next_buffer):
fix debugging log
2004-08-02 09:13:56 +00:00
David Schleef
863c255c60 gst/videomixer/Makefile.am: Fix things that should have been fixed in the last checkin.
Original commit message from CVS:
* gst/videomixer/Makefile.am: Fix things that should have been
fixed in the last checkin.
2004-07-30 20:06:31 +00:00
David Schleef
d4c0461a23 gst/multipart/Makefile.am: Fix things that should have been fixed in the last checkin.
Original commit message from CVS:
* gst/multipart/Makefile.am: Fix things that should have been
fixed in the last checkin.
2004-07-30 19:40:53 +00:00
David Schleef
df3d4b018d testsuite/multifilesink/Makefile.am: Fix unused variable.
Original commit message from CVS:
* testsuite/multifilesink/Makefile.am: Fix unused variable.
2004-07-30 19:08:21 +00:00
Thomas Vander Stichele
2bc445f95c bump nano for prerel
Original commit message from CVS:
bump nano for prerel
2004-07-30 17:27:46 +00:00
Wim Taymans
95e1f07dbd gst/tcp/gstmultifdsink.*: Recover from a select with a bad file descriptor by removing the client.
Original commit message from CVS:
* gst/tcp/gstmultifdsink.c: (gst_multifdsink_class_init),
(gst_multifdsink_add), (gst_multifdsink_remove),
(gst_multifdsink_clear), (gst_multifdsink_get_stats),
(gst_multifdsink_client_remove),
(gst_multifdsink_handle_client_write),
(gst_multifdsink_queue_buffer), (gst_multifdsink_handle_clients):
* gst/tcp/gstmultifdsink.h:
Recover from a select with a bad file descriptor by removing
the client.
2004-07-30 16:17:37 +00:00
Thomas Vander Stichele
77545a9995 don't use stupid colorspace, do use hermes, make macro, mark for translation
Original commit message from CVS:
don't use stupid colorspace, do use hermes, make macro, mark for translation
2004-07-30 13:41:55 +00:00
Zaheer Abbas Merali
92e3877728 ext/libpng/gstpngenc.c: fix default for newmedia flag
Original commit message from CVS:
2004-07-30  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

* ext/libpng/gstpngenc.c: (gst_pngenc_class_init):
fix default for newmedia flag
2004-07-30 11:48:17 +00:00
Wim Taymans
39208c89a8 ext/theora/: Added cropping option to theora decoder.
Original commit message from CVS:
* ext/theora/theoradec.c: (gst_theora_dec_class_init),
(gst_theora_dec_init), (theora_get_formats),
(theora_dec_src_convert), (theora_dec_sink_convert),
(theora_dec_src_query), (theora_dec_src_event), (theora_dec_event),
(theora_dec_chain), (theora_dec_set_property),
(theora_dec_get_property):
* ext/theora/theoraenc.c: (gst_border_mode_get_type),
(gst_theora_enc_class_init), (gst_theora_enc_init),
(theora_enc_sink_link), (theora_enc_chain),
(theora_enc_set_property), (theora_enc_get_property):
Added cropping option to theora decoder.
Added border option to theora encoder.
2004-07-30 10:18:42 +00:00
Zaheer Abbas Merali
2bab75721b ext/libpng/gstpngenc.*: Added newmedia support to pngenc so now gst-launch-0.8 videotestsrc ! ffmpegcolorspace ! pnge...
Original commit message from CVS:
2004-07-30  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

* ext/libpng/gstpngenc.c: (gst_pngenc_class_init),
(gst_pngenc_init), (gst_pngenc_chain), (gst_pngenc_get_property),
(gst_pngenc_set_property):
* ext/libpng/gstpngenc.h:
Added newmedia support to pngenc so now gst-launch-0.8 videotestsrc ! ffmpegcolorspace ! pngenc snapshot=false newmedia=true ! multifilesink location=blah%d.png works as expected
2004-07-30 09:35:09 +00:00
Wim Taymans
f7b5db4c02 ext/theora/theoraenc.c: Fix encoding of non-multiple-of-16 video.
Original commit message from CVS:
* ext/theora/theoraenc.c: (gst_theora_enc_class_init),
(theora_enc_sink_link), (theora_enc_chain),
(theora_enc_set_property), (theora_enc_get_property):
Fix encoding of non-multiple-of-16 video.
2004-07-30 08:14:36 +00:00
David Schleef
47fb9883d7 configure.ac: make test for audiofile more strict
Original commit message from CVS:
* configure.ac: make test for audiofile more strict
2004-07-30 04:03:34 +00:00
Benjamin Otte
ab36f5f1d3 gst/typefind/gsttypefindfunctions.c: give different names to typefind functions
Original commit message from CVS:
* gst/typefind/gsttypefindfunctions.c: (plugin_init):
give different names to typefind functions
2004-07-29 11:06:30 +00:00
Thomas Vander Stichele
d2d54c93d7 use autodetected PAR if none specified. add directfb workaround.
Original commit message from CVS:
use autodetected PAR if none specified. add directfb workaround.
2004-07-28 21:28:32 +00:00
Zaheer Abbas Merali
d9cccd2fd8 ext/lame/gstlame.c: send tag events downstream
Original commit message from CVS:
2004-07-28  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

* ext/lame/gstlame.c: (gst_lame_chain): send tag events downstream
* ext/shout2/gstshout2.c: (gst_shout2send_protocol_get_type),
(gst_shout2send_get_type), (gst_shout2send_set_clock),
(gst_shout2send_class_init), (gst_shout2send_init),
(set_shout_metadata), (gst_shout2send_set_metadata),
(gst_shout2send_chain), (gst_shout2send_set_property),
(gst_shout2send_get_property), (gst_shout2send_connect),
(gst_shout2send_change_state):
* ext/shout2/gstshout2.h:
- fix for sending mp3 audio to icecast2 server, if pad link function not
called before PAUSED state
- added option to use GStreamer clock sync (as opposed to libshout's own sync)
- added tagging support for mp3 audio broadcasted
* gst/monoscope/gstmonoscope.c: (gst_monoscope_class_init):
debug info
2004-07-28 20:26:31 +00:00
Wim Taymans
585a4702f8 ext/ogg/gstoggdemux.c: Return query failure when we don't know the length of an ogg stream insteda of returning TRUE ...
Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_src_query),
(gst_ogg_demux_push):
Return query failure when we don't know the length of
an ogg stream insteda of returning TRUE with a bogus value.
2004-07-28 15:40:38 +00:00
Wim Taymans
d34571ac65 ext/theora/theoradec.c: Don't screw up the 1 Chroma for 1 luma sample situation when we have an odd offset/width by a...
Original commit message from CVS:
* ext/theora/theoradec.c: (theora_get_formats),
(theora_dec_src_convert), (theora_dec_sink_convert),
(theora_dec_src_query), (theora_dec_src_event), (theora_dec_event),
(theora_dec_chain):
Don't screw up the 1 Chroma for 1 luma sample situation when we
have an odd offset/width by adding a black border in those cases.
2004-07-28 15:04:43 +00:00
Wim Taymans
5401fc492e ext/theora/: Added first attempt at cropping of the image as required by the theora spec. We need more properties in ...
Original commit message from CVS:
* ext/theora/theoradec.c: (theora_get_formats),
(theora_dec_src_convert), (theora_dec_sink_convert),
(theora_dec_src_query), (theora_dec_src_event), (theora_dec_event),
(theora_dec_chain):
* ext/theora/theoraenc.c: (theora_enc_sink_link):
Added first attempt at cropping of the image as required by the
theora spec. We need more properties in the caps (offset_x,
offset_y,stride) to implement this correctly.
Added some debug info in the encoder. Note :the encoder is not
updated with the offset code.
2004-07-28 14:03:45 +00:00
Jan Schmidt
8db79f94fc ext/dvdnav/README: Update the README to use dvddemux
Original commit message from CVS:
* ext/dvdnav/README:
Update the README to use dvddemux
* ext/gdk_pixbuf/pixbufscale.c: (gst_pixbufscale_getcaps):
Ensure getcaps returns a subset of the template caps
* gst/mpeg2sub/gstmpeg2subt.c: (gst_mpeg2subt_base_init),
(gst_mpeg2subt_init):
Ensure getcaps returns a subset of the template caps
* gst/mpegstream/gstdvddemux.c: (gst_dvd_demux_class_init),
(gst_dvd_demux_init), (gst_dvd_demux_get_video_stream),
(gst_dvd_demux_get_subpicture_stream),
(gst_dvd_demux_send_subbuffer), (gst_dvd_demux_set_cur_subpicture):
* gst/mpegstream/gstdvddemux.h:
Set the explicit caps on the current_video pad before pushing
anything
* gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_get_video_stream),
(gst_mpeg_demux_get_audio_stream):
Free caps used to gst_pad_set_explicit_caps, which takes a const
GstCaps *
2004-07-28 13:47:58 +00:00
Thomas Vander Stichele
8d23684c03 up gst requirement for fractions
Original commit message from CVS:
up gst requirement for fractions
2004-07-28 12:15:24 +00:00
Wim Taymans
77ec1207d3 gst/wavparse/gstwavparse.c: Add the pad to the element after setting up the caps. This makes it a lot easier to autop...
Original commit message from CVS:
* gst/wavparse/gstwavparse.c: (gst_wavparse_fmt),
(gst_wavparse_handle_seek), (gst_wavparse_srcpad_event):
Add the pad to the element after setting up the caps. This
makes it a lot easier to autoplug.
2004-07-28 09:36:10 +00:00
Steve Lhomme
9dd4541616 fix local includes and 64 bits constants
Original commit message from CVS:
fix local includes and 64 bits constants
2004-07-27 21:51:32 +00:00
Steve Lhomme
e7045bdb87 more working plugins
Original commit message from CVS:
more working plugins
2004-07-27 21:41:30 +00:00
Zaheer Abbas Merali
80ae2e14df testsuite/alsa/: add test for alsasrc changing state
Original commit message from CVS:
2004-07-27  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

* testsuite/alsa/Makefile.am:
* testsuite/alsa/srcstate.c:
add test for alsasrc changing state
2004-07-27 19:50:56 +00:00
Zaheer Abbas Merali
c09ba38a1f gst/silence/gstsilence.*: fix silence generation for 16bit raw audio
Original commit message from CVS:
2004-07-27  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

* gst/silence/gstsilence.c: (gst_silence_init), (gst_silence_link),
(gst_silence_get):
* gst/silence/gstsilence.h:
fix silence generation for 16bit raw audio
2004-07-27 19:11:59 +00:00
Thomas Vander Stichele
f8e224d950 pixel aspect ratio handling
Original commit message from CVS:
pixel aspect ratio handling
2004-07-27 16:43:20 +00:00
Thomas Vander Stichele
ffc787b6ab handle stride correctly
Original commit message from CVS:
handle stride correctly
2004-07-27 15:59:09 +00:00
Thomas Vander Stichele
fdc3cfac7c add _get_size function with stride, fixes YUV conversions
Original commit message from CVS:
add _get_size function with stride, fixes YUV conversions
2004-07-27 15:56:55 +00:00
Thomas Vander Stichele
59fc2eea14 further cleanups, logging, error handling and synchronizing
Original commit message from CVS:
further cleanups, logging, error handling and synchronizing
2004-07-27 15:50:46 +00:00
Wim Taymans
d0ab18f823 gst/videomixer/videomixer.c: Be a nicer negotiation citizen and provide a getcaps function on the srcpad. This also f...
Original commit message from CVS:
* gst/videomixer/videomixer.c: (gst_videomixer_pad_get_type),
(gst_videomixer_pad_class_init), (gst_videomixer_pad_get_property),
(gst_videomixer_pad_set_property),
(gst_videomixer_pad_sinkconnect), (gst_videomixer_pad_init),
(gst_video_mixer_background_get_type), (gst_videomixer_get_type),
(gst_videomixer_class_init), (gst_videomixer_init),
(gst_videomixer_getcaps), (gst_videomixer_request_new_pad),
(gst_videomixer_blend_ayuv_i420), (pad_zorder_compare),
(gst_videomixer_sort_pads), (gst_videomixer_fill_checker),
(gst_videomixer_fill_color), (gst_videomixer_fill_queues),
(gst_videomixer_blend_buffers), (gst_videomixer_update_queues),
(gst_videomixer_loop), (plugin_init):
Be a nicer negotiation citizen and provide a getcaps function on
the srcpad. This also fixes a crash when resizing.
2004-07-27 10:33:59 +00:00
Julien Moutte
f6aad78c55 sys/xvimage/xvimagesink.c: Some fixes to image size calculation.
Original commit message from CVS:
2004-07-27  Julien MOUTTE  <julien@moutte.net>

* sys/xvimage/xvimagesink.c: (gst_xvimagesink_check_xshm_calls),
(gst_xvimagesink_xvimage_new): Some fixes to image size calculation.
2004-07-27 10:10:02 +00:00
Wim Taymans
c754da7a4c ext/libpng/: Added snapshot property to pngenc. removed g_print from pngdec
Original commit message from CVS:
* ext/libpng/gstpngdec.c: (gst_pngdec_src_getcaps):
* ext/libpng/gstpngenc.c: (gst_pngenc_class_init),
(gst_pngenc_init), (gst_pngenc_chain), (gst_pngenc_get_property),
(gst_pngenc_set_property):
* ext/libpng/gstpngenc.h:
Added snapshot property to pngenc.
removed g_print from pngdec
2004-07-27 09:59:17 +00:00
Steve Lhomme
5e4e09cd5c rename GStreamer-0.8.lib to libgstreamer.lib
Original commit message from CVS:
rename GStreamer-0.8.lib to libgstreamer.lib
2004-07-27 09:57:33 +00:00
Steve Lhomme
48429b2cdc avoid problems with math.h, fix release dependancy
Original commit message from CVS:
avoid problems with math.h, fix release dependancy
2004-07-27 09:48:51 +00:00
Julien Moutte
b287bdedde sys/: When the atom is not available we have to unlock the mutex. Fixes #148023
Original commit message from CVS:
2004-07-27  Julien MOUTTE  <julien@moutte.net>

* sys/ximage/ximagesink.c: (gst_ximagesink_xwindow_decorate):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_xwindow_decorate): When
the atom is not available we have to unlock the mutex. Fixes #148023
2004-07-27 09:35:51 +00:00
Steve Lhomme
59d358965b add more plugins to the build add some definitions needed by plugins fixes for build problems
Original commit message from CVS:
add more plugins to the build
add some definitions needed by plugins
fixes for build problems
2004-07-26 22:09:59 +00:00
Julien Moutte
f4e62acf39 sys/ximage/ximagesink.c: Some more fixes to image size calculation.
Original commit message from CVS:
2004-07-26  Julien MOUTTE  <julien@moutte.net>

* sys/ximage/ximagesink.c: (gst_ximagesink_check_xshm_calls),
(gst_ximagesink_ximage_new): Some more fixes to image size calculation.
2004-07-26 21:07:33 +00:00
Thomas Vander Stichele
48a377e49a add debugging/cleanups
Original commit message from CVS:
add debugging/cleanups
2004-07-26 18:34:01 +00:00
Thomas Vander Stichele
9111d9796e fix videoscale stride bugs
Original commit message from CVS:
fix videoscale stride bugs
2004-07-26 16:49:18 +00:00
Benjamin Otte
b98e3a005b ext/lame/gstlame.c: add debugging category, add error checks like checking return values of setup calls, make sure it...
Original commit message from CVS:
* ext/lame/gstlame.c: (gst_lame_sink_link), (gst_lame_init),
(gst_lame_chain), (gst_lame_setup), (gst_lame_change_state),
(plugin_init):
add debugging category, add error checks like checking return values
of setup calls, make sure it still works after
PLAYING=>NULL=>PLAYING, fix encoding of mono streams
2004-07-26 15:42:18 +00:00
Wim Taymans
c6be8e14db gst/mpegstream/: Check for error codes from the negotiation functions. Make sure we really set the pad caps when a ne...
Original commit message from CVS:
* gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_get_video_stream),
(gst_mpeg_demux_get_audio_stream),
(gst_mpeg_demux_process_private):
* gst/mpegstream/gstmpegparse.c: (gst_mpeg_parse_send_data):
Check for error codes from the negotiation functions. Make sure
we really set the pad caps when a new pad is created.
2004-07-26 15:17:25 +00:00
Thomas Vander Stichele
0b2f63aafc don't make function do two things
Original commit message from CVS:
don't make function do two things
2004-07-26 13:30:28 +00:00
Steve Lhomme
337ca13b95 more plugins supported under windows
Original commit message from CVS:
more plugins supported under windows
2004-07-26 13:20:10 +00:00
Thomas Vander Stichele
ff8a273811 add debugging, use correct size for shm segments
Original commit message from CVS:
add debugging, use correct size for shm segments
2004-07-26 13:00:27 +00:00
Johan Dahlin
9291ccbc82 gst/tcp/gsttcpclientsrc.c (gst_tcpclientsrc_get): Make sure that the pad is negotiated.
Original commit message from CVS:
* gst/tcp/gsttcpclientsrc.c (gst_tcpclientsrc_get): Make sure that
the pad is negotiated.

* gst/ffmpegcolorspace/gstffmpegcolorspace.c (gst_ffmpegcolorspace_chain): Ditto
2004-07-26 10:12:00 +00:00
Steve Lhomme
4b20a4ae34 more plugins supported under windows
Original commit message from CVS:
more plugins supported under windows
2004-07-26 10:03:14 +00:00
Iain Holmes
ec250d49d0 Set the explicit caps on the pad when the file is parsed as explicit caps get wiped during state changes. fixes bug #...
Original commit message from CVS:
Set the explicit caps on the pad when the file is parsed as explicit caps get wiped during state changes. fixes bug #148043
2004-07-25 15:05:06 +00:00
Benjamin Otte
070d0301a9 ext/mad/gstmad.c: fix mad plugin crashing on Sun (fixes #148289)
Original commit message from CVS:
reviewed by Benjamin Otte  <otte@gnome.org>
* ext/mad/gstmad.c:
fix mad plugin crashing on Sun (fixes #148289)
2004-07-25 14:08:58 +00:00
Steve Lhomme
43f34faaa4 remove unused .def files
Original commit message from CVS:
remove unused .def files
2004-07-25 11:18:03 +00:00
Steve Lhomme
9c13ad0f98 Clean the local include
Original commit message from CVS:
Clean the local include
2004-07-25 10:28:05 +00:00
Steve Lhomme
521531b630 Copy the files where needed after building, cleaner projects
Original commit message from CVS:
Copy the files where needed after building, cleaner projects
2004-07-25 10:23:03 +00:00
Steve Lhomme
6976ceb235 Fix some 64 bits constants to be glib friendly
Original commit message from CVS:
Fix some 64 bits constants to be glib friendly
2004-07-24 21:16:15 +00:00
Steve Lhomme
3f95ab38b9 Add the preliminary canvas to build plugins on Win32
Original commit message from CVS:
Add the preliminary canvas to build plugins on Win32
2004-07-24 21:11:31 +00:00
Benjamin Otte
9643392b69 gst/audioconvert/gstaudioconvert.c: don't enfore negotiation from source side, it breaks sinesrc ! audioconvert ! oss...
Original commit message from CVS:
* gst/audioconvert/gstaudioconvert.c: (gst_audio_convert_link):
don't enfore negotiation from source side, it breaks
sinesrc ! audioconvert ! osssink
2004-07-23 17:40:16 +00:00
David Schleef
e524114f4a gst/typefind/gsttypefindfunctions.c: Add typefind for ELF files, since they can easily be recognized as audio/mpeg.
Original commit message from CVS:
* gst/typefind/gsttypefindfunctions.c: (plugin_init): Add typefind
for ELF files, since they can easily be recognized as audio/mpeg.
(bug #147441)
2004-07-23 03:09:49 +00:00
Thomas Vander Stichele
08e4d9ab71 fix videoscale for stride
Original commit message from CVS:
fix videoscale for stride
2004-07-22 18:07:14 +00:00
Zaheer Abbas Merali
7c4ce3a0e6 multifilesink plugin for creating new files every time a new media discontinuity event occurs
Original commit message from CVS:
2004-07-22  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

* configure.ac:
* gst/Makefile.am:
* gst/multifilesink/Makefile.am:
* gst/multifilesink/gstmultifilesink.c:
(gst_multifilesink_get_formats),
(gst_multifilesink_get_query_types), (_do_init),
(gst_multifilesink_base_init), (gst_multifilesink_class_init),
(gst_multifilesink_init), (gst_multifilesink_dispose),
(gst_multifilesink_set_location), (gst_multifilesink_set_property),
(gst_multifilesink_get_property), (gst_multifilesink_open_file),
(gst_multifilesink_close_file), (gst_multifilesink_next_file),
(gst_multifilesink_pad_query), (gst_multifilesink_handle_event),
(gst_multifilesink_chain), (gst_multifilesink_change_state),
(gst_multifilesink_uri_get_type),
(gst_multifilesink_uri_get_protocols),
(gst_multifilesink_uri_get_uri), (gst_multifilesink_uri_set_uri),
(gst_multifilesink_uri_handler_init), (plugin_init):
* gst/multifilesink/gstmultifilesink.h:
* testsuite/Makefile.am:
* testsuite/multifilesink/Makefile.am:
* testsuite/multifilesink/fakesrc_test.c: (gst_newmedia_base_init),
(gst_newmedia_class_init), (gst_newmedia_init),
(gst_newmedia_chain), (gst_newmedia_trigger), (test_format),
(newfile_signal), (test_signal), (main):
multifilesink plugin for creating new files every time a new media
discontinuity event occurs
2004-07-22 17:57:03 +00:00
Wim Taymans
048b2c1b3c gst/alpha/: Stupid plugin to to RGBA to AYUV conversion because none of the colorspace plugins can handle that yet.
Original commit message from CVS:
* gst/alpha/Makefile.am:
* gst/alpha/gstalphacolor.c: (gst_alpha_color_get_type),
(gst_alpha_color_base_init), (gst_alpha_color_class_init),
(gst_alpha_color_init), (gst_alpha_color_set_property),
(gst_alpha_color_get_property), (gst_alpha_color_sink_link),
(transform), (gst_alpha_color_chain),
(gst_alpha_color_change_state), (plugin_init):
Stupid plugin to to RGBA to AYUV conversion because none of
the colorspace plugins can handle that yet.
2004-07-22 16:47:42 +00:00
Wim Taymans
f7d519c2f3 More playback updates, attempt to fix things after the state change breakage.
Original commit message from CVS:
* examples/seeking/seek.c: (update_scale), (main):
* gst/playback/gstdecodebin.c: (gst_decode_bin_get_type),
(gst_decode_bin_class_init), (gst_decode_bin_is_dynamic),
(gst_decode_bin_factory_filter), (compare_ranks), (print_feature),
(gst_decode_bin_init), (gst_decode_bin_dispose),
(find_compatibles), (close_pad_link), (try_to_link_1), (new_pad),
(no_more_pads), (close_link), (type_found),
(gst_decode_bin_set_property), (gst_decode_bin_get_property),
(plugin_init):
* gst/playback/gstplaybasebin.c: (gst_play_base_bin_get_type),
(gst_play_base_bin_class_init), (gst_play_base_bin_init),
(gst_play_base_bin_dispose), (queue_overrun),
(gen_preroll_element), (remove_prerolls), (unknown_type),
(no_more_pads), (new_stream), (setup_source),
(gst_play_base_bin_set_property), (gst_play_base_bin_get_property),
(play_base_eos), (gst_play_base_bin_change_state),
(gst_play_base_bin_add_element),
(gst_play_base_bin_remove_element),
(gst_play_base_bin_mute_stream), (gst_play_base_bin_link_stream),
(gst_play_base_bin_unlink_stream),
(gst_play_base_bin_get_streaminfo):
* gst/playback/gstplaybin.c: (gen_video_element),
(gen_audio_element):
* gst/playback/gststreaminfo.h:
More playback updates, attempt to fix things after the state change
breakage.
2004-07-22 16:44:58 +00:00
Thomas Vander Stichele
602924ebc6 comment algorithm
Original commit message from CVS:
comment algorithm
2004-07-22 16:43:15 +00:00
Thomas Vander Stichele
5eea58dca8 cleanup and commenting
Original commit message from CVS:
cleanup and commenting
2004-07-22 15:55:33 +00:00
Wim Taymans
d410e38f2c ext/: More seeking fixes, oggdemux now supports seeking to time and uses the downstream element to convert granulepos...
Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_init),
(gst_ogg_demux_get_formats), (gst_ogg_demux_src_query),
(gst_ogg_demux_src_event), (gst_ogg_demux_src_convert),
(gst_ogg_demux_handle_event), (gst_ogg_demux_seek_before),
(_find_chain_get_unknown_part), (_find_streams_check),
(gst_ogg_demux_push), (gst_ogg_pad_push):
* ext/theora/theoradec.c: (theora_get_formats),
(theora_dec_src_convert), (theora_dec_sink_convert),
(theora_dec_src_query), (theora_dec_src_event), (theora_dec_event),
(theora_dec_chain):
* ext/vorbis/vorbisdec.c: (vorbis_dec_get_formats),
(vorbis_dec_convert), (vorbis_dec_src_query),
(vorbis_dec_src_event), (vorbis_dec_event):
More seeking fixes, oggdemux now supports seeking to time and
uses the downstream element to convert granulepos to time.
Seeking in theora-only ogg files now works.
2004-07-21 16:48:19 +00:00
Wim Taymans
beb5646144 ext/: Added query/convert/formats functions to vorbis and theora decoders so that the outside world can use them too....
Original commit message from CVS:
* ext/theora/theoradec.c: (gst_theora_dec_init),
(theora_get_formats), (theora_get_event_masks),
(theora_get_query_types), (theora_dec_src_convert),
(theora_dec_sink_convert), (theora_dec_src_query),
(theora_dec_src_event), (theora_dec_event), (theora_dec_chain):
* ext/vorbis/vorbisdec.c: (vorbis_dec_get_formats),
(vorbis_get_event_masks), (vorbis_get_query_types),
(gst_vorbis_dec_init), (vorbis_dec_convert),
(vorbis_dec_src_query), (vorbis_dec_src_event), (vorbis_dec_event):
Added query/convert/formats functions to vorbis and theora decoders
so that the outside world can use them too. Fixed seeking on an
ogg/theora/vorbis file by disabling the seeking on the
theora srcpad.
2004-07-21 13:28:23 +00:00
Julien Moutte
ac0164c2a6 sys/ximage/ximagesink.c: Optimize images creation for both elements. We don't create the image on caps nego or renego...
Original commit message from CVS:
2004-07-21  Julien MOUTTE  <julien@moutte.net>

* sys/ximage/ximagesink.c: (gst_ximagesink_ximage_new),
(gst_ximagesink_renegotiate_size), (gst_ximagesink_sink_link),
(gst_ximagesink_chain), (gst_ximagesink_set_xwindow_id): Optimize
images creation for both elements. We don't create the image on caps
nego or renego, we just destroy the internal one if present if it does
not match the needs. The chain function takes care of creating a new
image when needed.
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_xvimage_new),
(gst_xvimagesink_xwindow_decorate), (gst_xvimagesink_sink_link),
(gst_xvimagesink_chain), (gst_xvimagesink_buffer_alloc),
(gst_xvimagesink_set_xwindow_id): Additionally xvimage now contains
the image format information. The buffer pool checks for the context
image format and discard images with different formats.
* sys/xvimage/xvimagesink.h: Adding im_format in the xvimage structure.
2004-07-21 11:02:31 +00:00
Thomas Vander Stichele
dd25889801 don't needlessly do stuff; don't clutter my logs
Original commit message from CVS:
don't needlessly do stuff; don't clutter my logs
2004-07-21 09:23:40 +00:00
Ronald S. Bultje
1d526bee26 gst-libs/gst/riff/riff-media.c: Fix double end-to-native symbol conversion (#148021).
Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c:
(gst_riff_create_audio_caps_with_data):
Fix double end-to-native symbol conversion (#148021).
2004-07-20 21:06:34 +00:00
David Schleef
1ff2909189 sys/ximage/ximagesink.c: Don't use an Atom that doesn't exist.
Original commit message from CVS:
* sys/ximage/ximagesink.c: (gst_ximagesink_xwindow_decorate):
Don't use an Atom that doesn't exist.
2004-07-20 19:15:41 +00:00
Wim Taymans
f633c0fb79 gst/tcp/gstmultifdsink.*: More multifdsink stats. Avoid deadlock by releasing locks before sending out a signal.
Original commit message from CVS:
* gst/tcp/gstmultifdsink.c: (gst_multifdsink_class_init),
(gst_multifdsink_add), (gst_multifdsink_get_stats),
(gst_multifdsink_client_remove),
(gst_multifdsink_handle_client_write),
(gst_multifdsink_queue_buffer):
* gst/tcp/gstmultifdsink.h:
More multifdsink stats. Avoid deadlock by releasing locks
before sending out a signal.
2004-07-20 11:07:23 +00:00
Thomas Vander Stichele
5fd5eba80a adding hungarian translation
Original commit message from CVS:
adding hungarian translation
2004-07-20 10:53:07 +00:00
Wim Taymans
4b72d52317 gst/tcp/: Fixed the stupid marshal definition.
Original commit message from CVS:
* gst/tcp/gstmultifdsink.c: (gst_multifdsink_class_init),
(gst_multifdsink_add), (gst_multifdsink_client_remove),
(gst_multifdsink_handle_client_write),
(gst_multifdsink_queue_buffer):
* gst/tcp/gsttcp-marshal.list:
Fixed the stupid marshal definition.
2004-07-20 10:03:59 +00:00
Wim Taymans
c1c157794b gst/tcp/gstmultifdsink.*: Added more stats, added timeout for a client, fixed some typos and added some comments.
Original commit message from CVS:
* gst/tcp/gstmultifdsink.c: (gst_multifdsink_class_init),
(gst_multifdsink_init), (gst_multifdsink_add),
(gst_multifdsink_client_remove),
(gst_multifdsink_handle_client_write),
(gst_multifdsink_queue_buffer), (gst_multifdsink_chain),
(gst_multifdsink_set_property), (gst_multifdsink_get_property),
(gst_multifdsink_init_send):
* gst/tcp/gstmultifdsink.h:
Added more stats, added timeout for a client, fixed some typos
and added some comments.
2004-07-20 09:55:03 +00:00
Wim Taymans
a103d5daed gst/tcp/: Added get_stats method that returns a GValueArray of stats values.
Original commit message from CVS:
* gst/tcp/gstmultifdsink.c: (gst_multifdsink_class_init),
(gst_multifdsink_add), (gst_multifdsink_get_stats),
(gst_multifdsink_client_remove),
(gst_multifdsink_handle_client_write):
* gst/tcp/gstmultifdsink.h:
* gst/tcp/gsttcp-marshal.list:
Added get_stats method that returns a GValueArray of
stats values.
2004-07-20 08:36:04 +00:00
Benjamin Otte
c41fbc7da0 ext/ladspa/gstladspa.c: make sure longname, description and author are valid UTF-8
Original commit message from CVS:
* ext/ladspa/gstladspa.c: (gst_ladspa_base_init):
make sure longname, description and author are valid UTF-8
2004-07-19 21:44:49 +00:00
Thomas Vander Stichele
b92a8139bc respect SYNCHRONOUS after getting X context
Original commit message from CVS:
respect SYNCHRONOUS after getting X context
2004-07-19 11:33:32 +00:00
Thomas Vander Stichele
6cc44b9322 make log less verbose
Original commit message from CVS:
make log less verbose
2004-07-18 16:58:08 +00:00
Thomas Vander Stichele
74eafb8595 add debug categories to matroska
Original commit message from CVS:
add debug categories to matroska
2004-07-18 15:58:04 +00:00
Wim Taymans
e4908795d7 ext/libpng/: Added png decoder.
Original commit message from CVS:
* ext/libpng/Makefile.am:
* ext/libpng/gstpng.c: (plugin_init):
* ext/libpng/gstpngdec.c: (user_error_fn), (user_warning_fn),
(gst_pngdec_get_type), (gst_pngdec_base_init),
(gst_pngdec_class_init), (gst_pngdec_sinklink), (gst_pngdec_init),
(gst_pngdec_src_getcaps), (user_read_data), (gst_pngdec_chain):
* ext/libpng/gstpngdec.h:
Added png decoder.
2004-07-16 10:56:31 +00:00
Julien Moutte
68a04bfaf4 sys/: Getting the 2 video sinks synchronized again. Using internal data pointer of the x(v)image to store image's dat...
Original commit message from CVS:
2004-07-16  Julien MOUTTE  <julien@moutte.net>

* sys/ximage/ximagesink.c: (gst_ximagesink_handle_xerror),
(gst_ximagesink_check_xshm_calls), (gst_ximagesink_ximage_new),
(gst_ximagesink_ximage_destroy), (gst_ximagesink_sink_link),
(gst_ximagesink_chain), (gst_ximagesink_buffer_free),
(gst_ximagesink_buffer_alloc):
* sys/ximage/ximagesink.h:
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_check_xshm_calls),
(gst_xvimagesink_xvimage_new), (gst_xvimagesink_xvimage_destroy),
(gst_xvimagesink_chain), (gst_xvimagesink_buffer_free),
(gst_xvimagesink_buffer_alloc):
* sys/xvimage/xvimagesink.h: Getting the 2 video sinks synchronized
again. Using internal data pointer of the x(v)image to store image's
data to be coherent with the buffer alloc mechanism. Investigated the
image destruction code to be sure that everything gets freed correctly.
2004-07-16 10:48:51 +00:00
Wim Taymans
ec0d149ef4 gst/playback/: Better error recovery. Added configurable preroll queue size. Faster detection of no-more-pads.
Original commit message from CVS:
* gst/playback/gstdecodebin.c: (gst_decode_bin_get_type),
(gst_decode_bin_class_init), (gst_decode_bin_is_dynamic),
(gst_decode_bin_factory_filter), (compare_ranks), (print_feature),
(gst_decode_bin_init), (gst_decode_bin_dispose),
(find_compatibles), (close_pad_link), (try_to_link_1), (new_pad),
(no_more_pads), (close_link), (type_found),
(gst_decode_bin_set_property), (gst_decode_bin_get_property),
(gst_decode_bin_change_state), (plugin_init):
* gst/playback/gstplaybasebin.c: (gst_play_base_bin_get_type),
(gst_play_base_bin_class_init), (gst_play_base_bin_init),
(gst_play_base_bin_dispose), (queue_overrun),
(gen_preroll_element), (remove_prerolls), (unknown_type),
(no_more_pads), (new_stream), (setup_source),
(gst_play_base_bin_set_property), (gst_play_base_bin_get_property),
(play_base_eos), (gst_play_base_bin_change_state),
(gst_play_base_bin_add_element),
(gst_play_base_bin_remove_element),
(gst_play_base_bin_mute_stream), (gst_play_base_bin_link_stream),
(gst_play_base_bin_unlink_stream),
(gst_play_base_bin_get_streaminfo):
* gst/playback/gstplaybasebin.h:
Better error recovery. Added configurable preroll queue size. Faster
detection of no-more-pads.
2004-07-16 10:45:33 +00:00
Wim Taymans
9c4838172d gst-libs/gst/video/video.h: Added 32 bits RGBA. Not sure if we should use another mime-type for alpha rgb. Currently ...
Original commit message from CVS:
* gst-libs/gst/video/video.h:
Added 32 bits RGBA. Not sure if we should use another mime-type
for alpha rgb. Currently the presence of the alpha_mask property
signals an alpha channel. Ronald?
2004-07-16 10:40:53 +00:00
Wim Taymans
0599dafd13 sys/: FPS seems to be 0.0 to MAX everywhere else.
Original commit message from CVS:
* sys/ximage/ximagesink.c: (gst_ximagesink_xcontext_get):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_get_xv_support):
FPS seems to be 0.0 to MAX everywhere else.
2004-07-16 10:33:27 +00:00
Ronald S. Bultje
fe3d02a6ca gst-libs/gst/riff/riff-media.c: mp42/mp43 (no caps) exist too.
Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c:
(gst_riff_create_video_caps_with_data):
mp42/mp43 (no caps) exist too.
* gst/matroska/matroska-demux.c: (gst_matroska_demux_video_caps):
Set pixel_width/height; we've got them in-caps.
* gst/typefind/gsttypefindfunctions.c: (plugin_init):
* gst/wavparse/gstwavparse.c: (plugin_init):
Both are valid primary.
* sys/oss/gstossmixer.c:
Remove i18n hack and enable translations.
2004-07-15 23:56:05 +00:00
Tim Ringenbach
b86a1d2e7c sys/xvimage/xvimagesink.c:
Original commit message from CVS:
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_check_xshm_calls),
(gst_xvimagesink_xvimage_new), (gst_xvimagesink_xvimage_destroy):
fix for non-shm xv. Original patch by Tim Ringenbach (fixes #147248)
2004-07-15 21:18:10 +00:00
Benjamin Otte
f718a1f6c9 ext/alsa/gstalsa.c: disable some of the debugging code for now. Writing debugging to a buffer is broken in current al...
Original commit message from CVS:
* ext/alsa/gstalsa.c: (gst_alsa_open_audio),
(gst_alsa_sw_params_dump), (gst_alsa_hw_params_dump),
(gst_alsa_close_audio):
disable some of the debugging code for now. Writing debugging to a
buffer is broken in current alsalib releases.
2004-07-15 20:32:41 +00:00
Benjamin Otte
f436e1c824 ext/mpeg2dec/gstmpeg2dec.c: use bufferpools
Original commit message from CVS:
* ext/mpeg2dec/gstmpeg2dec.c: (gst_mpeg2dec_alloc_buffer):
use bufferpools
2004-07-15 19:02:13 +00:00
Thomas Vander Stichele
eb7f95e418 add debug categories
Original commit message from CVS:
add debug categories
2004-07-14 13:42:23 +00:00
Johan Dahlin
51036fa4ae gst/playback/gstplaybin.c (gst_play_bin_set_property)
Original commit message from CVS:
* gst/playback/gstplaybin.c (gst_play_bin_set_property)
(gst_play_bin_get_property): Impl.
2004-07-13 11:47:07 +00:00
Wim Taymans
c5c8e703de ext/ogg/gstoggdemux.c: When trying to find the stream length, seek back N pages instead of just one, where N is the n...
Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_seek_before):
When trying to find the stream length, seek back N pages
instead of just one, where N is the number of streams in
the current chain.
2004-07-13 10:38:25 +00:00
Wim Taymans
872a055c55 gst/: Set codec_data on caps for avidemuxer.
Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c:
(gst_riff_create_audio_caps_with_data),
(gst_riff_create_audio_caps),
(gst_riff_create_audio_template_caps):
* gst-libs/gst/riff/riff-media.h:
* gst-libs/gst/riff/riff-read.c:
(gst_riff_read_strf_vids_with_data),
(gst_riff_read_strf_auds_with_data), (gst_riff_read_strf_auds):
* gst-libs/gst/riff/riff-read.h:
* gst/avi/gstavidemux.c: (gst_avi_demux_handle_src_query),
(gst_avi_demux_add_stream):
Set codec_data on caps for avidemuxer.
2004-07-13 10:24:29 +00:00
David Schleef
ab02779260 configure.ac: Fix test for Objective C
Original commit message from CVS:
* configure.ac: Fix test for Objective C
2004-07-13 06:36:55 +00:00
Jan Schmidt
f91052fc80 ext/gdk_pixbuf/gstgdkpixbuf.c: Add svg and pcx to template caps, and ensure that getcaps returns a subset of the temp...
Original commit message from CVS:
* ext/gdk_pixbuf/gstgdkpixbuf.c: (gst_gdk_pixbuf_get_capslist), (gst_gdk_pixbuf_chain):
Add svg and pcx to template caps, and ensure that getcaps returns a subset
of the template caps.
Copy each row manually for output, as gdkpixbuf may pad the
rowstride to a 32-bit word boundary.
2004-07-12 13:49:35 +00:00
Wim Taymans
007f39c2ce gst-libs/gst/riff/riff-media.c: Fix the template caps to include some more media types.
Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_audio_caps),
(gst_riff_create_video_template_caps):
Fix the template caps to include some more media types.
2004-07-12 11:41:51 +00:00
Wim Taymans
831a7c1139 gst/playback/: More fixes on reusing of the element.
Original commit message from CVS:
* gst/playback/gstdecodebin.c: (gst_decode_bin_get_type),
(gst_decode_bin_class_init), (gst_decode_bin_factory_filter),
(compare_ranks), (print_feature), (gst_decode_bin_init),
(gst_decode_bin_dispose), (find_compatibles), (close_pad_link),
(try_to_link_1), (new_pad), (close_link), (type_found),
(gst_decode_bin_set_property), (gst_decode_bin_get_property),
(gst_decode_bin_change_state), (plugin_init):
* gst/playback/gstplaybasebin.c: (gst_play_base_bin_get_type),
(gst_play_base_bin_class_init), (gst_play_base_bin_init),
(gst_play_base_bin_dispose), (queue_overrun),
(gen_preroll_element), (remove_prerolls), (no_more_pads),
(new_stream), (setup_source), (gst_play_base_bin_set_property),
(gst_play_base_bin_get_property), (play_base_eos),
(gst_play_base_bin_change_state), (gst_play_base_bin_add_element),
(gst_play_base_bin_remove_element),
(gst_play_base_bin_mute_stream), (gst_play_base_bin_link_stream),
(gst_play_base_bin_unlink_stream),
(gst_play_base_bin_get_streaminfo):
* gst/playback/gstplaybasebin.h:
* gst/playback/gstplaybin.c: (gst_play_bin_get_type),
(gst_play_bin_class_init), (gst_play_bin_init),
(gst_play_bin_dispose), (gst_play_bin_set_property),
(gst_play_bin_get_property), (gen_video_element),
(gen_audio_element), (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), (plugin_init):
* gst/playback/test4.c: (main):
More fixes on reusing of the element.
2004-07-12 09:11:40 +00:00
Benjamin Otte
4f8c9e9dd5 ext/mad/gstmad.c: allow seeking for other methods than just SET
Original commit message from CVS:
* ext/mad/gstmad.c: (normal_seek):
allow seeking for other methods than just SET
2004-07-11 19:27:43 +00:00
Andy Wingo
5726a16344 gst/audioconvert/gstaudioconvert.c (gst_audio_convert_link): For float, "any" caps -> buffer_frames=[0,MAX].
Original commit message from CVS:
2004-07-11  Andy Wingo  <wingo@pobox.com>

* gst/audioconvert/gstaudioconvert.c (gst_audio_convert_link): For
float, "any" caps -> buffer_frames=[0,MAX].

* gst/interleave/interleave.c (interleave_getcaps): Seems the core
doesn't intersect our caps with the template any more. Do it
ourselves.
(interleave_buffered_loop): Use g_newa instead of malloc/free.
2004-07-11 11:21:55 +00:00
Wim Taymans
7798d53055 examples/seeking/seek.c: Don't consume all CPU in the idle loop.
Original commit message from CVS:
* examples/seeking/seek.c: (iterate):
Don't consume all CPU in the idle loop.
2004-07-09 14:33:15 +00:00
Wim Taymans
cc61bf2d8d gst/mpegstream/gstmpegdemux.c: Add pad to element *after* setting the pad functions so that the scheduler can use the...
Original commit message from CVS:
* gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_new_output_pad),
(gst_mpeg_demux_parse_packet), (gst_mpeg_demux_process_private):
Add pad to element *after* setting the pad functions so that
the scheduler can use the correct ones.
2004-07-09 14:11:02 +00:00
Wim Taymans
368102e36e ext/theora/theoradec.c: Sync to keyframe after seek
Original commit message from CVS:
* ext/theora/theoradec.c: (theora_dec_from_granulepos),
(theora_dec_src_query), (theora_dec_src_event), (theora_dec_chain):
Sync to keyframe after seek
2004-07-09 14:08:43 +00:00
Thomas Vander Stichele
df61d1bedb don't assert in state change
Original commit message from CVS:
don't assert in state change
2004-07-09 10:56:49 +00:00
Thomas Vander Stichele
39198c6f3d new method. various debugging
Original commit message from CVS:
new method.  various debugging
2004-07-08 17:34:08 +00:00
Wim Taymans
f453e3e99c examples/seeking/seek.c: Added playbin seeking example.
Original commit message from CVS:
* examples/seeking/seek.c: (make_dv_pipeline), (make_avi_pipeline),
(make_mpeg_pipeline), (make_mpegnt_pipeline),
(make_playerbin_pipeline), (query_durations_elems),
(query_durations_pads), (query_positions_elems),
(query_positions_pads), (update_scale), (iterate), (stop_seek),
(main):
Added playbin seeking example.
2004-07-08 15:43:24 +00:00
Thomas Vander Stichele
80e1c85a12 use macro to hash lookup
Original commit message from CVS:
use macro to hash lookup
2004-07-08 14:38:48 +00:00
Thomas Vander Stichele
0b50cd5057 gst-libs/gst/play/play.c: - add debugging info
Original commit message from CVS:

* gst-libs/gst/play/play.c: (gst_play_pipeline_setup),
(gst_play_get_length_callback), (gst_play_set_location),
(gst_play_seek_to_time), (gst_play_set_data_src),
(gst_play_set_video_sink), (gst_play_set_audio_sink),
(gst_play_set_visualization), (gst_play_connect_visualization),
(gst_play_get_sink_element):
- add debugging info
- fix looking up sink elements by iterating over complete caps
- put everything except for source and autoplugger in a complete bin
2004-07-08 13:44:06 +00:00
Thomas Vander Stichele
29f63c5e99 ext/alsa/: - add debugging info
Original commit message from CVS:
* ext/alsa/gstalsa.c: (gst_alsa_drain_audio):
* ext/alsa/gstalsasink.c: (gst_alsa_sink_flush_one_pad),
(gst_alsa_sink_check_event), (gst_alsa_sink_mmap),
(gst_alsa_sink_write), (gst_alsa_sink_loop):
* ext/alsa/gstalsasink.h:
- add debugging info
- clean up schizophrenia of data/buffer/event
- fix double event unref error
2004-07-08 13:40:36 +00:00
Wim Taymans
3482e18293 gst/playback/Makefile.am: Add headers to noinst
Original commit message from CVS:
* gst/playback/Makefile.am:
Add headers to noinst
2004-07-08 12:30:52 +00:00
Thomas Vander Stichele
bb7ac88d1b update
Original commit message from CVS:
update
2004-07-08 07:44:01 +00:00
David Schleef
4682970b26 sys/dxr3/Makefile.am: noinst_SOURCES should be nodist_SOURCES
Original commit message from CVS:
* sys/dxr3/Makefile.am: noinst_SOURCES should be nodist_SOURCES
2004-07-07 22:02:27 +00:00
Wim Taymans
d6add01e63 gst/playback/: More playbin fixes. Added README. Do better element filtering.
Original commit message from CVS:
* gst/playback/Makefile.am:
* gst/playback/README:
* gst/playback/gstdecodebin.c: (gst_decode_bin_get_type),
(gst_decode_bin_class_init), (gst_decode_bin_factory_filter),
(compare_ranks), (print_feature), (gst_decode_bin_init),
(gst_decode_bin_dispose), (find_compatibles), (close_pad_link),
(try_to_link_1), (new_pad), (close_link), (type_found),
(gst_decode_bin_set_property), (gst_decode_bin_get_property),
(plugin_init):
* gst/playback/gstplaybasebin.c: (gst_play_base_bin_get_type),
(gst_play_base_bin_class_init), (gst_play_base_bin_init),
(gst_play_base_bin_dispose), (rebuild_pipeline), (queue_overrun),
(gen_preroll_element), (no_more_pads), (new_stream),
(setup_source), (gst_play_base_bin_set_property),
(gst_play_base_bin_get_property), (gst_play_base_bin_change_state),
(gst_play_base_bin_add_element),
(gst_play_base_bin_remove_element),
(gst_play_base_bin_mute_stream), (gst_play_base_bin_link_stream),
(gst_play_base_bin_unlink_stream),
(gst_play_base_bin_get_streaminfo):
* gst/playback/gstplaybasebin.h:
* gst/playback/gstplaybin.c: (gst_play_bin_get_type),
(gst_play_bin_class_init), (gst_play_bin_init),
(gst_play_bin_dispose), (gst_play_bin_set_property),
(gst_play_bin_get_property), (gen_video_element),
(gen_audio_element), (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),
(plugin_init):
* gst/playback/gststreaminfo.c: (gst_stream_type_get_type),
(gst_stream_info_get_type), (gst_stream_info_class_init),
(gst_stream_info_init), (gst_stream_info_new),
(gst_stream_info_dispose), (gst_stream_info_set_property),
(gst_stream_info_get_property):
* gst/playback/gststreaminfo.h:
* gst/playback/test.c: (gen_video_element), (gen_audio_element),
(main):
* gst/playback/test2.c: (main):
* gst/playback/test3.c: (update_scale), (main):
More playbin fixes. Added README. Do better element filtering.
Added base class to preroll media. Added test apps.
2004-07-07 16:53:54 +00:00
Thomas Vander Stichele
05079f4dd7 debugging; change sync method to picture
Original commit message from CVS:
debugging; change sync method to picture
2004-07-07 16:49:49 +00:00
Wim Taymans
5fc7b9191f gst/videobox/gstvideobox.c: Use pad_alloc where possible.
Original commit message from CVS:
* gst/videobox/gstvideobox.c: (gst_video_box_fill_get_type),
(gst_video_box_class_init), (gst_video_box_set_property),
(gst_video_box_i420), (gst_video_box_ayuv), (gst_video_box_chain):
Use pad_alloc where possible.
2004-07-07 16:35:02 +00:00
Wim Taymans
f68667a5e5 sys/oss/: Fix offset on osssrc.
Original commit message from CVS:
* sys/oss/gstosselement.c: (gst_osselement_reset),
(gst_osselement_parse_caps):
* sys/oss/gstosselement.h:
* sys/oss/gstosssrc.c: (gst_osssrc_get):
Fix offset on osssrc.
2004-07-07 16:11:39 +00:00
Wim Taymans
87aff668ef ext/theora/: Fix theora granulepos calculation.
Original commit message from CVS:
* ext/theora/theora.c: (plugin_init):
* ext/theora/theoradec.c: (theora_dec_from_granulepos),
(theora_dec_src_query), (theora_dec_chain):
* ext/theora/theoraenc.c: (gst_theora_enc_class_init),
(theora_enc_sink_link), (theora_buffer_from_packet),
(theora_push_packet), (theora_enc_chain):
Fix theora granulepos calculation.
Fix overflow in duration/position calculation.
Bump rank to PRIMARY for theoradec.
Use granulepos of last packet to calculate position.
Set keyframe flag on buffers when needed.
2004-07-07 15:57:48 +00:00
David Schleef
b972252aee gst/playback/Makefile.am: 'test' in bin_PROGRAMS? Are you serious? (Fixed, obviously.)
Original commit message from CVS:
* gst/playback/Makefile.am: 'test' in bin_PROGRAMS?  Are you
serious?  (Fixed, obviously.)
2004-07-07 01:13:40 +00:00
Thomas Vander Stichele
a84f72264f adding czech translation
Original commit message from CVS:
adding czech translation
2004-07-06 09:38:11 +00:00
Wim Taymans
7b776427a6 gst/playback/: More fixes, cleaned up playbin, make it use decodebin. Added threaded property to playbin.
Original commit message from CVS:
* gst/playback/gstdecodebin.c: (gst_decode_bin_get_type),
(gst_decode_bin_class_init), (gst_decode_bin_factory_filter),
(compare_ranks), (gst_decode_bin_init), (gst_decode_bin_dispose),
(find_compatibles), (close_pad_link), (try_to_link_1), (new_pad),
(close_link), (type_found), (gst_decode_bin_set_property),
(gst_decode_bin_get_property), (gst_decode_bin_get_event_masks),
(gst_decode_bin_send_event), (gst_decode_bin_get_formats),
(gst_decode_bin_convert), (gst_decode_bin_get_query_types),
(gst_decode_bin_query), (plugin_init):
* gst/playback/gstplaybin.c: (gst_play_bin_get_type),
(gst_play_bin_class_init), (gst_play_bin_init),
(gst_play_bin_dispose), (rebuild_pipeline), (get_audio_element),
(get_video_element), (new_pad), (setup_source),
(gst_play_bin_set_property), (gst_play_bin_get_property),
(gst_play_bin_change_state), (gst_play_bin_add_element),
(gst_play_bin_remove_element), (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), (gst_play_bin_get_clock), (plugin_init):
* gst/playback/test.c: (main):
More fixes, cleaned up playbin, make it use decodebin. Added
threaded property to playbin.
2004-07-05 15:29:49 +00:00
Wim Taymans
fb9a35e59c Added some playback helper elements and some test apps, very alpha still.
Original commit message from CVS:
* configure.ac:
* gst/playback/Makefile.am:
* gst/playback/decodetest.c: (main):
* gst/playback/gstdecodebin.c: (gst_decode_bin_get_type),
(gst_decode_bin_class_init), (gst_decode_bin_factory_filter),
(compare_ranks), (gst_decode_bin_init), (gst_decode_bin_dispose),
(find_compatibles), (close_pad_link), (try_to_link_1), (new_pad),
(close_link), (type_found), (gst_decode_bin_set_property),
(gst_decode_bin_get_property), (gst_decode_bin_change_state),
(gst_decode_bin_get_event_masks), (gst_decode_bin_send_event),
(gst_decode_bin_get_formats), (gst_decode_bin_convert),
(gst_decode_bin_get_query_types), (gst_decode_bin_query),
(plugin_init):
* gst/playback/gstplaybin.c: (gst_play_bin_get_type),
(gst_play_bin_class_init), (gst_play_bin_init),
(gst_play_bin_dispose), (gen_default_output), (rebuild_pipeline),
(collect_sink_pads), (find_compatibles), (close_pad_link),
(try_to_link_1), (new_pad), (close_link), (type_found),
(setup_source), (gst_play_bin_set_property),
(gst_play_bin_get_property), (gst_play_bin_factory_filter),
(compare_ranks), (gst_play_bin_collect_factories),
(gst_play_bin_change_state), (gst_play_bin_add_element),
(gst_play_bin_remove_element), (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), (gst_play_bin_get_clock), (plugin_init):
* gst/playback/test.c: (main):
Added some playback helper elements and some test apps, very alpha
still.
2004-07-05 11:14:30 +00:00
Benjamin Otte
3bfc61172e ext/alsa/gstalsa.c: only restart audio when we indeed have an xrun to fix repeated xruns. Fix suggested by Giuliano P...
Original commit message from CVS:
* ext/alsa/gstalsa.c: (gst_alsa_xrun_recovery):
only restart audio when we indeed have an xrun to fix repeated
xruns. Fix suggested by Giuliano Pochini.
2004-07-04 16:02:15 +00:00
David Schleef
6776b7f9ea ext/alsa/gstalsaplugin.c: Disable call to gst_debug_log() if debugging is disabled (bug #145118)
Original commit message from CVS:
* ext/alsa/gstalsaplugin.c: (gst_alsa_error_wrapper): Disable
call to gst_debug_log() if debugging is disabled (bug #145118)
2004-07-03 23:35:36 +00:00
Benjamin Otte
6789ff363a ext/alsa/gstalsa.c: use our own functions for restarting the alsa device.
Original commit message from CVS:
* ext/alsa/gstalsa.c: (gst_alsa_xrun_recovery):
use our own functions for restarting the alsa device.
* ext/alsa/gstalsasink.c: (gst_alsa_sink_check_event):
I should apply patches myself - use MIN for the third argument, not
the second, this fixes seeking
2004-07-03 12:48:30 +00:00
David Schleef
692400ea40 ext/flac/gstflacdec.c: (gst_flacdec_write): Actually, GST_PAD_CAPS() has nothing to do with the logic.
Original commit message from CVS:
* ext/flac/gstflacdec.c: (gst_flacdec_class_init),
(gst_flacdec_write):  Actually, GST_PAD_CAPS() has nothing to
do with the logic.
2004-07-03 04:27:18 +00:00
David Schleef
d3ad860293 ext/flac/gstflacdec.c: Set duration on output buffers. Fix logic mistake. (bug #144866)
Original commit message from CVS:
* ext/flac/gstflacdec.c: (gst_flacdec_write):  Set duration on
output buffers.  Fix logic mistake.  (bug #144866)
2004-07-03 04:21:39 +00:00
David Schleef
0e2359f0c9 gst-libs/gst/xoverlay/Makefile.am: xoverlay no longer depends on X. (bug #144753)
Original commit message from CVS:
* gst-libs/gst/xoverlay/Makefile.am: xoverlay no longer depends
on X.  (bug #144753)
2004-07-03 03:06:34 +00:00
David Schleef
13dd7366cd gst/wavenc/gstwavenc.c: Switch to GST_WRITE_UINT32_LE macros (bug #144624)
Original commit message from CVS:
* gst/wavenc/gstwavenc.c: (gst_wavenc_setup),
(gst_wavenc_stop_file): Switch to GST_WRITE_UINT32_LE macros
(bug #144624)
* sys/oss/gstosselement.c: (gst_osselement_probe_caps),
(gst_osselement_rate_probe_check): Add another workaround for
buggy drivers (bug #145336)
2004-07-03 02:54:53 +00:00
David Schleef
ef5f5ffb3a gst/tcp/gstmultifdsink.c: Most systems don't have MSG_NOSIGNAL.
Original commit message from CVS:
* gst/tcp/gstmultifdsink.c: (gst_multifdsink_handle_client_write):
Most systems don't have MSG_NOSIGNAL.
2004-07-02 18:02:14 +00:00
Thomas Vander Stichele
44d1d555df clean up install/dist problem
Original commit message from CVS:
clean up install/dist problem
2004-07-02 10:02:13 +00:00
Benjamin Otte
e2983a7a32 ext/ogg/gstogg.c: we require bytestream now
Original commit message from CVS:
* ext/ogg/gstogg.c: (plugin_init):
we require bytestream now
* ext/ogg/gstoggdemux.c:
huge diff to implement chain setup in a fast and generic way. This
improves tag reading and startup of huge files (read: Theora videos)
quite a bit. It probably contains bugs, too, so please test.
Seeking is not improved to the fast method.
2004-07-02 03:41:22 +00:00
Wim Taymans
ac071e9bab ext/ogg/: Fix memleak in oggdemux when running unconnected pads. doc update in mux, start working on keyframe mode.
Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_push):
* ext/ogg/gstoggmux.c:
Fix memleak in oggdemux when running unconnected pads.
doc update in mux, start working on keyframe mode.
2004-06-29 15:25:10 +00:00
Benjamin Otte
624814ddda sys/oss/: advertise correct template caps - we indeed do non-native endianness and 8bit audio has no endianness
Original commit message from CVS:
* sys/oss/gstosssink.c:
* sys/oss/gstosssrc.c:
advertise correct template caps - we indeed do non-native endianness
and 8bit audio has no endianness
* sys/ximage/ximagesink.c: (gst_ximagesink_getcaps):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_getcaps):
avoid (wrong) duplications in getcaps function and return
template caps
2004-06-29 11:20:25 +00:00
Wim Taymans
281784c338 gst/tcp/gstmultifdsink.c: Fix wrong GList iteration that could crash the server when more then 2 clients disconnect a...
Original commit message from CVS:
* gst/tcp/gstmultifdsink.c: (gst_recover_policy_get_type),
(gst_multifdsink_class_init), (gst_multifdsink_add),
(gst_multifdsink_remove), (gst_multifdsink_clear),
(gst_multifdsink_client_remove),
(gst_multifdsink_handle_client_read),
(gst_multifdsink_client_queue_data),
(gst_multifdsink_client_queue_caps),
(gst_multifdsink_client_queue_buffer),
(gst_multifdsink_handle_client_write),
(gst_multifdsink_recover_client), (gst_multifdsink_queue_buffer),
(gst_multifdsink_handle_clients), (gst_multifdsink_thread),
(gst_multifdsink_init_send), (gst_multifdsink_close):
Fix wrong GList iteration that could crash the server when
more then 2 clients disconnect at the same time. Read all the
pending commands in one batch to recover from command storms under
very heavy load.
2004-06-29 10:28:29 +00:00
Wim Taymans
ecba04a8bc gst/videomixer/videomixer.c: Avoid divide by zero, choose masterpad as the pad with the highest framerate.
Original commit message from CVS:
* gst/videomixer/videomixer.c: (gst_videomixer_pad_get_type),
(gst_videomixer_pad_class_init), (gst_videomixer_pad_get_property),
(gst_videomixer_pad_set_property),
(gst_videomixer_pad_sinkconnect), (gst_videomixer_pad_init),
(gst_video_mixer_background_get_type), (gst_videomixer_get_type),
(gst_videomixer_class_init), (gst_videomixer_init),
(gst_videomixer_request_new_pad), (gst_videomixer_blend_ayuv_i420),
(pad_zorder_compare), (gst_videomixer_sort_pads),
(gst_videomixer_fill_checker), (gst_videomixer_fill_color),
(gst_videomixer_fill_queues), (gst_videomixer_blend_buffers),
(gst_videomixer_update_queues), (gst_videomixer_loop),
(plugin_init):
Avoid divide by zero, choose masterpad as the pad with the highest
framerate.
2004-06-28 07:28:49 +00:00
Julien Moutte
599383ccbc sys/: I prefer locking the mutex in the function directly. We might want to call it from somewhere else one day.
Original commit message from CVS:
2004-06-27  Julien Moutte  <julien@moutte.net>

* sys/ximage/ximagesink.c: (gst_ximagesink_xwindow_decorate),
(gst_ximagesink_xwindow_new):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_xwindow_decorate),
(gst_xvimagesink_xwindow_new): I prefer locking the mutex in the
function directly. We might want to call it from somewhere else one day.
2004-06-27 19:02:29 +00:00
Julien Moutte
2bbfaa24c6 sys/: Trying to fix the random behaviour of window decorations.
Original commit message from CVS:
2004-06-27  Julien Moutte  <julien@moutte.net>

* sys/ximage/ximagesink.c: (gst_ximagesink_xwindow_decorate),
(gst_ximagesink_xwindow_new):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_xwindow_decorate),
(gst_xvimagesink_xwindow_new): Trying to fix the random behaviour of
window decorations.
2004-06-27 18:53:03 +00:00
Wim Taymans
e5bb1f1376 ext/dv/gstdvdec.*: Implement drop_factor property to lower the framerate with a factor.
Original commit message from CVS:
* ext/dv/gstdvdec.c: (gst_dvdec_class_init), (gst_dvdec_init),
(gst_dvdec_video_getcaps), (gst_dvdec_video_link),
(gst_dvdec_push), (gst_dvdec_loop), (gst_dvdec_change_state),
(gst_dvdec_set_property), (gst_dvdec_get_property):
* ext/dv/gstdvdec.h:
Implement drop_factor property to lower the framerate with
a factor.
2004-06-27 16:38:41 +00:00
Thomas Vander Stichele
85a72aa832 unbreak install
Original commit message from CVS:
unbreak install
2004-06-27 15:42:14 +00:00
Wim Taymans
916be7a8b3 ext/dv/gstdvdec.*: Fix timestamp, duration and offset of the buffers.
Original commit message from CVS:
* ext/dv/gstdvdec.c: (gst_dvdec_push), (gst_dvdec_loop),
(gst_dvdec_change_state):
* ext/dv/gstdvdec.h:
Fix timestamp, duration and offset of the buffers.
2004-06-27 14:42:09 +00:00
Wim Taymans
462376ab69 gst/tcp/: More multifdsink fixes, more recovery policy fixes.
Original commit message from CVS:
* gst/tcp/gstmultifdsink.c: (gst_recover_policy_get_type),
(gst_multifdsink_class_init), (gst_multifdsink_add),
(gst_multifdsink_remove), (gst_multifdsink_clear),
(gst_multifdsink_client_remove),
(gst_multifdsink_handle_client_read),
(gst_multifdsink_client_queue_data),
(gst_multifdsink_client_queue_caps),
(gst_multifdsink_client_queue_buffer),
(gst_multifdsink_handle_client_write),
(gst_multifdsink_recover_client), (gst_multifdsink_queue_buffer),
(gst_multifdsink_handle_clients), (gst_multifdsink_thread),
(gst_multifdsink_init_send), (gst_multifdsink_close):
* gst/tcp/gstmultifdsink.h:
* gst/tcp/gsttcpserversink.c:
(gst_tcpserversink_handle_server_read),
(gst_tcpserversink_handle_select), (gst_tcpserversink_close):
More multifdsink fixes, more recovery policy fixes.
Removed stupid g_print
2004-06-27 11:15:23 +00:00
Wim Taymans
eed09ab711 gst/tcp/: Added multifdsink, made tcpserversink a subclass of fdsink, removed one of the locks, added recovery policy...
Original commit message from CVS:
* gst/tcp/Makefile.am:
* gst/tcp/gstmultifdsink.c: (gst_recover_policy_get_type),
(gst_multifdsink_get_type), (gst_multifdsink_base_init),
(gst_multifdsink_class_init), (gst_multifdsink_init),
(gst_multifdsink_debug_fdset), (gst_multifdsink_client_remove),
(gst_multifdsink_handle_client_read),
(gst_multifdsink_client_queue_data),
(gst_multifdsink_client_queue_caps),
(gst_multifdsink_client_queue_buffer),
(gst_multifdsink_handle_client_write),
(gst_multifdsink_recover_client), (gst_multifdsink_queue_buffer),
(gst_multifdsink_handle_clients), (gst_multifdsink_thread),
(gst_multifdsink_chain), (gst_multifdsink_set_property),
(gst_multifdsink_get_property), (gst_multifdsink_init_send),
(gst_multifdsink_close), (gst_multifdsink_change_state):
* gst/tcp/gstmultifdsink.h:
* gst/tcp/gsttcpplugin.c: (plugin_init):
* gst/tcp/gsttcpserversink.c: (gst_tcpserversink_get_type),
(gst_tcpserversink_class_init), (gst_tcpserversink_init),
(gst_tcpserversink_handle_server_read),
(gst_tcpserversink_handle_select),
(gst_tcpserversink_set_property), (gst_tcpserversink_get_property),
(gst_tcpserversink_init_send), (gst_tcpserversink_close):
* gst/tcp/gsttcpserversink.h:
Added multifdsink, made tcpserversink a subclass of fdsink, removed
one of the locks, added recovery policy to multifdsink.
2004-06-26 16:49:42 +00:00
Thomas Vander Stichele
cff33a6e63 fix videorate decision, add latency offset to v4l
Original commit message from CVS:
fix videorate decision, add latency offset to v4l
2004-06-26 15:58:34 +00:00
Thomas Vander Stichele
eafca950d2 fix debugging
Original commit message from CVS:
fix debugging
2004-06-26 15:43:55 +00:00
Thomas Vander Stichele
e6cb212f7c fix wrong offsets
Original commit message from CVS:
fix wrong offsets
2004-06-25 18:50:31 +00:00
Thomas Vander Stichele
16c155fd92 make provided clock run in sync
Original commit message from CVS:
make provided clock run in sync
2004-06-25 17:11:31 +00:00
Wim Taymans
ea6fb9f6ba gst/tcp/gsttcpserversink.*: Serversink rewrite. Really do non blocking writes to clients and maintain an internal que...
Original commit message from CVS:
* gst/tcp/gsttcpserversink.c: (gst_tcpserversink_class_init),
(gst_tcpserversink_init), (gst_tcpserversink_handle_server_read),
(gst_tcpserversink_client_remove),
(gst_tcpserversink_handle_client_read),
(gst_tcpserversink_client_queue_data),
(gst_tcpserversink_client_queue_caps),
(gst_tcpserversink_client_queue_buffer),
(gst_tcpserversink_handle_client_write),
(gst_tcpserversink_queue_buffer),
(gst_tcpserversink_handle_clients), (gst_tcpserversink_thread),
(gst_tcpserversink_chain), (gst_tcpserversink_set_property),
(gst_tcpserversink_get_property), (gst_tcpserversink_init_send),
(gst_tcpserversink_close):
* gst/tcp/gsttcpserversink.h:
Serversink rewrite. Really do non blocking writes to clients and
maintain an internal queue to handle slower clients while not
disturbing fast clients.
2004-06-25 17:06:51 +00:00
Thomas Vander Stichele
5fe8034a8c don't override offset and offset_end
Original commit message from CVS:
don't override offset and offset_end
2004-06-25 13:05:11 +00:00
Iain Holmes
fd827005e2 Add name=source to the wavparse pipeline
Original commit message from CVS:
Add name=source to the wavparse pipeline
2004-06-25 11:57:25 +00:00
Johan Dahlin
2b0f9f1dc6 ext/theora/theoraenc.c (theora_enc_chain): Call gst_pad_try_set_caps instead of gst_pad_set_explicit_caps so the stre...
Original commit message from CVS:
* ext/theora/theoraenc.c (theora_enc_chain): Call
gst_pad_try_set_caps instead of gst_pad_set_explicit_caps so the
streamheader caps are set correctly.
2004-06-24 16:48:17 +00:00
Thomas Vander Stichele
0ac945b0ae respect minimum bitrate
Original commit message from CVS:
respect minimum bitrate
2004-06-24 15:51:24 +00:00
Thomas Vander Stichele
49053088bb fix sample rate range
Original commit message from CVS:
fix sample rate range
2004-06-24 15:44:53 +00:00
Thomas Vander Stichele
a20df00352 resolve ambiguities
Original commit message from CVS:
resolve ambiguities
2004-06-24 14:56:21 +00:00
Wim Taymans
14cb8e6a25 ext/alsa/: Use alsa trigger_tstamp to get the timestamp of the first sample in the buffer for more precise sync. Some...
Original commit message from CVS:
* ext/alsa/gstalsa.c: (gst_alsa_start), (gst_alsa_xrun_recovery):
* ext/alsa/gstalsa.h:
* ext/alsa/gstalsasrc.c: (gst_alsa_src_init),
(gst_alsa_src_update_avail), (gst_alsa_src_loop):
Use alsa trigger_tstamp to get the timestamp of the first
sample in the buffer for more precise sync. Some cleanups.
2004-06-24 12:53:17 +00:00
Wim Taymans
8751ce16cf gst/: Added some logging, fixed an overflow bug in videorate.
Original commit message from CVS:
* gst/audiorate/gstaudiorate.c: (gst_audiorate_link),
(gst_audiorate_init), (gst_audiorate_chain),
(gst_audiorate_set_property), (gst_audiorate_get_property):
* gst/videorate/gstvideorate.c: (gst_videorate_class_init),
(gst_videorate_chain):
Added some logging, fixed an overflow bug in videorate.
2004-06-24 12:45:26 +00:00
Benjamin Otte
f331f575d2 ext/kio/Makefile.am: fix for builddir != srcdir and distcheck
Original commit message from CVS:
* ext/kio/Makefile.am:
fix for builddir != srcdir and distcheck
2004-06-24 03:19:07 +00:00
Benjamin Otte
4eb2d088af don't include -enumtypes.[ch] or -marshal.[ch] files in the disted tarball.
Original commit message from CVS:
* gst-libs/gst/colorbalance/Makefile.am:
* gst-libs/gst/mixer/Makefile.am:
* gst-libs/gst/play/Makefile.am:
* gst-libs/gst/tuner/Makefile.am:
* gst/tcp/Makefile.am:
* sys/dxr3/Makefile.am:
don't include -enumtypes.[ch] or -marshal.[ch] files in the disted
tarball.
Also add all *.list files that were missing.
* Makefile.am:
add a distcheck hook to ensure the above doesn't happen again.
2004-06-24 01:43:54 +00:00
David I. Lehn
bfaca2b9b7 ext/Makefile.am: s/DTS_DIR=dvdread/DTS_DIR=dts/
Original commit message from CVS:
* ext/Makefile.am: s/DTS_DIR=dvdread/DTS_DIR=dts/
2004-06-24 01:16:02 +00:00
Colin Walters
b0d5f35988 m4/Makefile.am: Distribute gst-fionread.m4.
Original commit message from CVS:
2004-06-23  Colin Walters  <walters@redhat.com>

* m4/Makefile.am: Distribute gst-fionread.m4.
2004-06-23 19:41:37 +00:00
Thomas Vander Stichele
d2e5386230 back to dev
Original commit message from CVS:
back to dev
2004-06-23 18:21:43 +00:00
Wim Taymans
ee7c23e298 ext/alsa/: Add clock to alsasrc. Take new capture timestamp when restarting after an overrun. Split up some functions...
Original commit message from CVS:
* ext/alsa/gstalsa.c: (gst_alsa_change_state), (gst_alsa_start),
(gst_alsa_xrun_recovery):
* ext/alsa/gstalsa.h:
* ext/alsa/gstalsasink.c: (gst_alsa_sink_check_event),
(gst_alsa_sink_loop), (gst_alsa_sink_get_time):
* ext/alsa/gstalsasrc.c: (gst_alsa_src_init),
(gst_alsa_src_get_time), (gst_alsa_src_update_avail),
(gst_alsa_src_loop):
Add clock to alsasrc. Take new capture timestamp when
restarting after an overrun. Split up some functions between
alsasrc ans alsasink.
2004-06-23 18:08:26 +00:00
Thomas Vander Stichele
be687596cb merge back from release
Original commit message from CVS:
merge back from release
2004-06-23 16:57:16 +00:00
Wim Taymans
689b6f1a93 gst/audiorate/gstaudiorate.c: Implement sample dropping and notify
Original commit message from CVS:
* gst/audiorate/gstaudiorate.c: (gst_audiorate_class_init),
(gst_audiorate_init), (gst_audiorate_chain),
(gst_audiorate_set_property), (gst_audiorate_get_property):
Implement sample dropping and notify
2004-06-23 11:06:10 +00:00
Wim Taymans
6eeede0701 ext/theora/theoraenc.c: Some cleanups, make sure the timestamps are correct.
Original commit message from CVS:
* ext/theora/theoraenc.c: (gst_theora_enc_class_init),
(theora_enc_sink_link), (theora_buffer_from_packet),
(theora_push_packet), (theora_enc_chain):
Some cleanups, make sure the timestamps are correct.
2004-06-22 16:29:20 +00:00
Wim Taymans
2cc2cb26fd ext/alsa/: Cleanups, take queued samples into account when reporting the time.
Original commit message from CVS:
* ext/alsa/gstalsa.c: (gst_alsa_get_time), (gst_alsa_clock_update),
(gst_alsa_change_state), (gst_alsa_update_avail),
(gst_alsa_xrun_recovery):
* ext/alsa/gstalsa.h:
* ext/alsa/gstalsasrc.c: (gst_alsa_src_loop):
Cleanups, take queued samples into account when reporting
the time.
2004-06-22 12:01:32 +00:00
Wim Taymans
13c50d17e9 gst/videorate/gstvideorate.c: Initialize the property as well.
Original commit message from CVS:
* gst/videorate/gstvideorate.c: (gst_videorate_class_init),
(gst_videorate_init):
Initialize the property as well.
2004-06-22 11:57:22 +00:00
Wim Taymans
50df94e027 gst/videorate/gstvideorate.c: Add property to make videorate silent.
Original commit message from CVS:
* gst/videorate/gstvideorate.c: (gst_videorate_class_init),
(gst_videorate_init), (gst_videorate_chain),
(gst_videorate_set_property), (gst_videorate_get_property):
Add property to make videorate silent.
Add property to prefer new frames over old ones.
2004-06-22 11:19:46 +00:00
Zaheer Abbas Merali
ad26a01d8a sys/osxvideo/Makefile.am: Workaround so that the osxvideo .so file gets linked with the
Original commit message from CVS:
2004-06-22  Zaheer Abbas Merali  <zaheerabbas at merali.org>

* sys/osxvideo/Makefile.am:
Workaround so that the osxvideo .so file gets linked with the
2004-06-22 10:28:05 +00:00
Zaheer Abbas Merali
c360a0dcb3 sys/osxaudio/Makefile.am: Workaround so that the osxaudio .so file gets linked with the
Original commit message from CVS:
2004-06-22  Zaheer Abbas Merali  <zaheerabbas at merali.org>

* sys/osxaudio/Makefile.am:
Workaround so that the osxaudio .so file gets linked with the
2004-06-22 10:00:53 +00:00
Zaheer Abbas Merali
87b46cf122 configure.ac: Whoops, my fault...fixed build issues
Original commit message from CVS:
2004-06-22  Zaheer Abbas Merali  <zaheerabbas at merali.org>

* configure.ac:
Whoops, my fault...fixed build issues
2004-06-22 06:27:37 +00:00
Zaheer Abbas Merali
fa950fe235 configure.ac: Add objective-c support if running in Darwin/Mac OS X
Original commit message from CVS:
2004-06-22  Zaheer Abbas Merali  <zaheerabbas at merali.org>

* configure.ac:
Add objective-c support if running in Darwin/Mac OS X
* sys/Makefile.am:
* sys/osxvideo:
* sys/osxvideo/Makefile.am:
* sys/osxvideo/osxvideosink.h:
* sys/osxvideo/osxvideosink.m:
* sys/osxvideo/cocoawindow.h:
* sys/osxvideo/cocoawindow.m:
Add osxvideosink, a cocoa-based osx video sink
2004-06-22 00:21:51 +00:00
Jan Schmidt
5dc30ab521 ext/dvdnav/gst-dvd: Grab the gconf key from the right spot
Original commit message from CVS:
* ext/dvdnav/gst-dvd: Grab the gconf key from the right spot
* gst/debug/gstnavseek.c: (gst_navseek_init),
(gst_navseek_segseek), (gst_navseek_handle_src_event),
(gst_navseek_chain):
* gst/debug/gstnavseek.h: Add 's', 'e' and 'l' keypresses to navseek
to define the start,end and loop parameters of a segment seek.
* gst/videotestsrc/gstvideotestsrc.c: (gst_videotestsrc_init),
(gst_videotestsrc_get_event_masks),
(gst_videotestsrc_handle_src_event), (gst_videotestsrc_get):
* gst/videotestsrc/gstvideotestsrc.h:
Add seeking support to videotestsrc
Initialise the timestamp_offset variable.
2004-06-18 22:32:44 +00:00
Wim Taymans
5f4f8514fc ext/sidplay/gstsiddec.cc: Fix negotiation and set correct end offset.
Original commit message from CVS:
* ext/sidplay/gstsiddec.cc:
Fix negotiation and set correct end offset.
2004-06-18 11:46:32 +00:00
Thomas Vander Stichele
655eccce9b read caps in connect
Original commit message from CVS:
read caps in connect
2004-06-17 18:20:43 +00:00
Thomas Vander Stichele
9202741696 notify; don't overlimit
Original commit message from CVS:
notify; don't overlimit
2004-06-17 17:07:50 +00:00
Thomas Vander Stichele
9b5b3b1b25 add autoprobe option fixes use try_capture
Original commit message from CVS:
add autoprobe option
fixes
use try_capture
2004-06-17 17:06:23 +00:00
Thomas Vander Stichele
eb1c3d3cc5 run as finalize, not dispose
Original commit message from CVS:
run as finalize, not dispose
2004-06-17 14:15:23 +00:00
Wim Taymans
76a27c7c5d ext/alsa/: Make the xrun code timestamp and offset the buffers correctly. moved the clock to the base class, use alsa...
Original commit message from CVS:
* ext/alsa/gstalsa.c: (gst_alsa_init), (gst_alsa_dispose),
(gst_alsa_get_time), (gst_alsa_xrun_recovery):
* ext/alsa/gstalsa.h:
* ext/alsa/gstalsaclock.c: (gst_alsa_clock_get_type):
* ext/alsa/gstalsasrc.c: (gst_alsa_src_init), (gst_alsa_src_loop),
(gst_alsa_src_change_state):
* ext/alsa/gstalsasrc.h:
Make the xrun code timestamp and offset the buffers correctly.
moved the clock to the base class, use alsa methods to get time.
Do correct timestamping on outgoing buffers.
2004-06-17 14:10:20 +00:00
Wim Taymans
d59eaf300e gst/audiorate/: Added an audiorate converter that fills in gaps.
Original commit message from CVS:
* gst/audiorate/Makefile.am:
* gst/audiorate/gstaudiorate.c: (gst_audiorate_get_type),
(gst_audiorate_base_init), (gst_audiorate_class_init),
(gst_audiorate_link), (gst_audiorate_init), (gst_audiorate_chain),
(gst_audiorate_set_property), (gst_audiorate_get_property),
(gst_audiorate_change_state), (plugin_init):
Added an audiorate converter that fills in gaps.
2004-06-17 13:45:50 +00:00
Johan Dahlin
2773e2a313 ext/tcp/*: Revert Zaheer changes, to make things actually work again.
Original commit message from CVS:
* ext/tcp/*: Revert Zaheer changes, to make things actually work again.
2004-06-17 09:10:57 +00:00
Wim Taymans
e4da6e9c42 sys/v4l/: Added a copy mode to v4lsrc where it will output a copied version of its internal hardware buffer.
Original commit message from CVS:
* sys/v4l/gstv4lmjpegsrc.c: (gst_v4lmjpegsrc_get):
* sys/v4l/gstv4lsrc.c: (gst_v4lsrc_sync_mode_get_type),
(gst_v4lsrc_class_init), (gst_v4lsrc_init), (gst_v4lsrc_get_fps),
(gst_v4lsrc_get), (gst_v4lsrc_set_property),
(gst_v4lsrc_get_property):
* sys/v4l/gstv4lsrc.h:
Added a copy mode to v4lsrc where it will output a copied version
of its internal hardware buffer.
Fix the wrong FLAG_SET usage. The flags are integers, not bits, you
can't | them.
2004-06-16 15:07:57 +00:00
Wim Taymans
dfcce47075 sys/oss/gstosssrc.c: Timestamp fixes.
Original commit message from CVS:
* sys/oss/gstosssrc.c: (gst_osssrc_get):
Timestamp fixes.
2004-06-16 10:48:04 +00:00
Wim Taymans
31583fcae3 sys/v4l/: Added a sync mode enum property to control v4lsrc timestamp method
Original commit message from CVS:
* sys/v4l/gstv4lsrc.c: (gst_v4lsrc_sync_mode_get_type),
(gst_v4lsrc_class_init), (gst_v4lsrc_init), (gst_v4lsrc_get_fps),
(gst_v4lsrc_get), (gst_v4lsrc_set_property),
(gst_v4lsrc_get_property):
* sys/v4l/gstv4lsrc.h:
* sys/v4l/v4l-overlay_calls.c: (gst_v4l_set_overlay):
Added a sync mode enum property to control v4lsrc timestamp method
Removed the use-fixed-fps property and moved functionality in
the enum.
Don't error on an error value from v4l-conf, it might not always
be a real error.
2004-06-16 10:13:51 +00:00
Wim Taymans
769c847490 gst/videorate/: Added a video timestamp corrector.
Original commit message from CVS:
* gst/videorate/Makefile.am:
* gst/videorate/gstvideorate.c: (gst_videorate_get_type),
(gst_videorate_base_init), (gst_videorate_class_init),
(gst_videorate_getcaps), (gst_videorate_link),
(gst_videorate_init), (gst_videorate_chain),
(gst_videorate_set_property), (gst_videorate_get_property),
(gst_videorate_change_state), (plugin_init):
Added a video timestamp corrector.
2004-06-16 09:39:02 +00:00
Zaheer Abbas Merali
1fe9727f2e fixed a potential leak with previous commit
Original commit message from CVS:
2004-06-15  Zaheer Abbas Merali  <zaheerabbas at merali.org>

fixed a potential leak with previous commit

* gst-libs/gst/riff/riff-read.c: (gst_riff_peek_head):
2004-06-15 21:58:18 +00:00
Zaheer Abbas Merali
3725e88680 gst-libs/gst/riff/riff-read.c: Added missing refcount, fixes bug #144425
Original commit message from CVS:
2004-06-15  Zaheer Abbas Merali  <zaheerabbas at merali.org>

* gst-libs/gst/riff/riff-read.c: (gst_riff_peek_head):
Added missing refcount, fixes bug #144425
Cheers Tim for finding the bug
2004-06-15 21:25:36 +00:00
Thomas Vander Stichele
2005cb552c paranoia cleanups and a sync fix
Original commit message from CVS:
paranoia cleanups and a sync fix
2004-06-15 09:11:06 +00:00
David Schleef
bf8ecb774f ext/cdparanoia/gstcdparanoia.c: Send discont events and change timestamps appropriately when we get a seek event. (b...
Original commit message from CVS:
* ext/cdparanoia/gstcdparanoia.c: (cdparanoia_init),
(cdparanoia_get), (cdparanoia_open), (cdparanoia_change_state):
Send discont events and change timestamps appropriately when
we get a seek event.  (bug #144240)
* ext/cdparanoia/gstcdparanoia.h:
2004-06-14 20:33:56 +00:00
Christophe Fergeau
d44ccc1e8e ext/alsa/gstalsa.c: Use snd_pcm_hw_params_set_rate _near instead of snd_pcm_hw_params_set_rate since the latter fail...
Original commit message from CVS:
2004-06-14  Benjamin Otte  <otte@gnome.org>

* ext/alsa/gstalsa.c: Use snd_pcm_hw_params_set_rate _near instead of
snd_pcm_hw_params_set_rate  since the latter fails for no good
reason on some setups.<
2004-06-14 20:30:36 +00:00
David Schleef
d1d09b2645 gst/volume/demo.c: (value_changed_callback): exp10() is not standard. Thank you for playing.
Original commit message from CVS:
* gst/volume/demo.c: (value_changed_callback): exp10() is not
standard.  Thank you for playing.
2004-06-14 20:24:07 +00:00
Wim Taymans
7e8b07a018 gst/ffmpegcolorspace/imgconvert.c: Patch 1.3 broke the ordering of the colorspace info and made the plugin basically ...
Original commit message from CVS:
* gst/ffmpegcolorspace/imgconvert.c: (img_convert):
Patch 1.3 broke the ordering of the colorspace info and
made the plugin basically work by coincidence, reodered
the info.
2004-06-14 13:19:39 +00:00
Thomas Vander Stichele
0022f5c23d sync mp3 caps
Original commit message from CVS:
sync mp3 caps
2004-06-14 10:58:27 +00:00
Thomas Vander Stichele
68d379e223 added volume demo app
Original commit message from CVS:
added volume demo app
2004-06-14 10:04:44 +00:00
Jan Schmidt
d3deeade47 ext/esd/esdsink.*: Close the esd connection on pause, because esd will just wait - blocking all other esd clients ind...
Original commit message from CVS:
* ext/esd/esdsink.c: (gst_esdsink_change_state):
* ext/esd/esdsink.h:
Close the esd connection on pause, because esd will just wait -
blocking all other esd clients indefinitely.
2004-06-13 10:58:34 +00:00
Christophe Fergeau
816e9ec7c0 gst/tags/gstvorbistag.c: replaced a g_warning which I added in my previous commit with GST_DEBUG
Original commit message from CVS:
2004-06-12  Christophe Fergeau  <teuf@gnome.org>

* gst/tags/gstvorbistag.c: replaced a g_warning which I added in my
previous commit with GST_DEBUG
2004-06-12 11:24:50 +00:00
Thomas Vander Stichele
f541ffd102 fix #133002
Original commit message from CVS:
fix #133002
2004-06-12 10:59:57 +00:00
Zaheer Abbas Merali
c115dbb866 gst/tcp/: Modified the tcp plugins so they are portable (IPv4,IPv6, any future version of IP)
Original commit message from CVS:
2004-06-12  Zaheer Abbas Merali  <zaheerabbas@merali.org>

* gst/tcp/gsttcpclientsink.c: (gst_tcpclientsink_init_send):
* gst/tcp/gsttcpclientsink.h:
* gst/tcp/gsttcpclientsrc.c: (gst_tcpclientsrc_init_receive):
* gst/tcp/gsttcpclientsrc.h:
* gst/tcp/gsttcpserversink.c: (gst_tcpserversink_init),
(gst_tcpserversink_handle_server_read),
(gst_tcpserversink_init_send):
* gst/tcp/gsttcpserversink.h:
* gst/tcp/gsttcpserversrc.c: (gst_tcpserversrc_init_receive):
* gst/tcp/gsttcpserversrc.h:
Modified the tcp plugins so they are portable (IPv4,IPv6, any future
version of IP)
2004-06-12 10:55:09 +00:00
Zaheer Abbas Merali
837573cfc8 configure.ac: Added ogg library so that OSX detects libtheora properly
Original commit message from CVS:
2004-06-12  Zaheer Abbas Merali  <zaheerabbas@merali.org>

* configure.ac:
Added ogg library so that OSX detects libtheora properly
2004-06-12 10:30:59 +00:00
Wim Taymans
ee479a3902 ext/theora/theoradec.c: Don't try to decode frames before we received a keyframe
Original commit message from CVS:
* ext/theora/theoradec.c: (theora_dec_chain),
(theora_dec_change_state):
Don't try to decode frames before we received a keyframe
2004-06-11 17:34:31 +00:00
Wim Taymans
0a30f3c6f3 ext/ogg/gstoggmux.c: Added property to set the maximum delay of a page.
Original commit message from CVS:
* ext/ogg/gstoggmux.c: (gst_ogg_mux_class_init),
(gst_ogg_mux_init), (gst_ogg_mux_next_buffer),
(gst_ogg_mux_get_headers), (gst_ogg_mux_set_header_on_caps),
(gst_ogg_mux_send_headers), (gst_ogg_mux_loop),
(gst_ogg_mux_get_property), (gst_ogg_mux_set_property):
Added property to set the maximum delay of a page.
2004-06-11 14:38:59 +00:00
Wim Taymans
d605579f58 ext/ogg/gstoggmux.c: Added max-delay property to control the maximum amount of data to put in one page.
Original commit message from CVS:
* ext/ogg/gstoggmux.c: (gst_ogg_mux_class_init),
(gst_ogg_mux_init), (gst_ogg_mux_next_buffer),
(gst_ogg_mux_get_headers), (gst_ogg_mux_set_header_on_caps),
(gst_ogg_mux_send_headers), (gst_ogg_mux_loop),
(gst_ogg_mux_get_property), (gst_ogg_mux_set_property):
Added max-delay property to control the maximum amount
of data to put in one page.
2004-06-10 16:06:21 +00:00
Wim Taymans
106a9874d6 ext/theora/theoraenc.c: Set duration on encoded buffer, added some more properties
Original commit message from CVS:
* ext/theora/theoraenc.c: (gst_theora_enc_class_init),
(gst_theora_enc_init), (theora_enc_sink_link),
(theora_buffer_from_packet), (theora_enc_set_property),
(theora_enc_get_property):
Set duration on encoded buffer, added some more properties
2004-06-10 14:59:17 +00:00
Wim Taymans
f3d78f6799 ext/: Fix refcounting bugs
Original commit message from CVS:
* ext/ogg/gstoggmux.c: (gst_ogg_mux_next_buffer),
(gst_ogg_mux_get_headers), (gst_ogg_mux_set_header_on_caps),
(gst_ogg_mux_send_headers), (gst_ogg_mux_loop):
* ext/theora/theoraenc.c: (theora_enc_chain):
Fix refcounting bugs
2004-06-10 11:33:05 +00:00
Ronald S. Bultje
4ff10d6e7f gst/asfdemux/gstasfdemux.*: You know Chimaira? "I - HATE - EVERYTHING". Yeah, that's what this feels like. I think we...
Original commit message from CVS:
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_init),
(gst_asf_demux_loop), (gst_asf_demux_process_file),
(gst_asf_demux_process_data), (gst_asf_demux_handle_data),
(gst_asf_demux_process_object), (gst_asf_demux_get_stream),
(gst_asf_demux_process_chunk), (gst_asf_demux_handle_sink_event),
(gst_asf_demux_handle_src_event), (gst_asf_demux_handle_src_query),
(gst_asf_demux_change_state):
* gst/asfdemux/gstasfdemux.h:
You know Chimaira? "I - HATE - EVERYTHING". Yeah, that's what this
feels like. I think we should set a new requirement for demuxers
from now on to implement sane loop functions, data loops, query
and seek functions before first commit into CVS. And this commit
fixes all of the above.
2004-06-10 04:23:02 +00:00
Christophe Fergeau
7be5f43843 gst/tags/gstvorbistag.c: make sure parsed vorbis comments are properly encoded in UTF-8 before adding them to a GstTa...
Original commit message from CVS:
2004-06-10  Christophe Fergeau  <teuf@gnome.org>

* gst/tags/gstvorbistag.c: (gst_vorbis_tag_add): make sure parsed
vorbis comments are properly encoded in UTF-8 before adding them
to a GstTagList
2004-06-09 22:12:33 +00:00
Benjamin Otte
c360d48983 ext/alsa/gstalsa.c: handle min <= max correctly
Original commit message from CVS:
* ext/alsa/gstalsa.c: (add_channels):
handle min <= max correctly
* ext/alsa/gstalsa.c: (gst_alsa_fixate_to_mimetype),
(gst_alsa_fixate_field_nearest_int), (gst_alsa_fixate):
add fixation functions so we fixate correctly. No preferring of alaw
anymore because it's the first structure.
* ext/alsa/gstalsa.h:
* ext/alsa/gstalsa.c: (gst_alsa_sw_params_dump),
(gst_alsa_hw_params_dump):
add functions to ease debugging in alsalib
* ext/alsa/gstalsa.c: (gst_alsa_probe_hw_params),
(gst_alsa_set_hw_params), (gst_alsa_set_sw_params),
(gst_alsa_start_audio):
only specify hw params if we really setup a format (fixes #134007 -
or at least works around it)
2004-06-09 17:06:40 +00:00
Wim Taymans
5da101be78 ext/ogg/gstoggmux.c: Use stream caps to setup the initial pages in the ogg stream.
Original commit message from CVS:
* ext/ogg/gstoggmux.c: (gst_ogg_mux_init),
(gst_ogg_mux_next_buffer), (gst_ogg_mux_buffer_from_page),
(gst_ogg_mux_push_page), (gst_ogg_mux_get_headers),
(gst_ogg_mux_set_header_on_caps), (gst_ogg_mux_send_headers),
(gst_ogg_mux_loop):
Use stream caps to setup the initial pages in the ogg stream.
Correctly set the streamheader caps on the srcpad.
2004-06-09 12:22:45 +00:00
Thomas Vander Stichele
7ea62fd63e negotiating webcam framerate now works
Original commit message from CVS:
negotiating webcam framerate now works
2004-06-09 11:32:38 +00:00
Thomas Vander Stichele
2a3685b0ac mark buffers as streamheader
Original commit message from CVS:
mark buffers as streamheader
2004-06-08 16:41:41 +00:00
Thomas Vander Stichele
1cf9653cbf return EOS instead of NULL
Original commit message from CVS:
return EOS instead of NULL
2004-06-08 14:45:33 +00:00
Wim Taymans
3fdf0eb063 gst/tcp/: Memory leak fixes
Original commit message from CVS:
* gst/tcp/gsttcp.c: (gst_tcp_gdp_read_header),
(gst_tcp_gdp_read_caps), (gst_tcp_gdp_write_header),
(gst_tcp_gdp_write_caps):
* gst/tcp/gsttcpclientsrc.c: (gst_tcpclientsrc_get):
* gst/tcp/gsttcpserversrc.c: (gst_tcpserversrc_gdp_read_caps),
(gst_tcpserversrc_gdp_read_header), (gst_tcpserversrc_get):
Memory leak fixes
2004-06-08 14:24:52 +00:00
Thomas Vander Stichele
edc3d19b47 adding vorbisparse
Original commit message from CVS:
adding vorbisparse
2004-06-08 11:53:13 +00:00
Wim Taymans
37d98c27b9 ext/jpeg/: Added a new simple jpeg based codec
Original commit message from CVS:
* ext/jpeg/Makefile.am:
* ext/jpeg/README:
* ext/jpeg/gstjpeg.c: (plugin_init):
* ext/jpeg/gstsmokedec.c: (gst_smokedec_get_type),
(gst_smokedec_base_init), (gst_smokedec_class_init),
(gst_smokedec_init), (gst_smokedec_link), (gst_smokedec_chain):
* ext/jpeg/gstsmokedec.h:
* ext/jpeg/gstsmokeenc.c: (gst_smokeenc_get_type),
(gst_smokeenc_base_init), (gst_smokeenc_class_init),
(gst_smokeenc_init), (gst_smokeenc_getcaps), (gst_smokeenc_link),
(gst_smokeenc_resync), (gst_smokeenc_chain),
(gst_smokeenc_set_property), (gst_smokeenc_get_property):
* ext/jpeg/gstsmokeenc.h:
* ext/jpeg/smokecodec.c: (smokecodec_init_destination),
(smokecodec_flush_destination), (smokecodec_term_destination),
(smokecodec_init_source), (smokecodec_fill_input_buffer),
(smokecodec_skip_input_data), (smokecodec_resync_to_restart),
(smokecodec_term_source), (smokecodec_encode_new),
(smokecodec_decode_new), (smokecodec_info_free),
(smokecodec_set_quality), (smokecodec_get_quality),
(smokecodec_set_threshold), (smokecodec_get_threshold),
(smokecodec_set_bitrate), (smokecodec_get_bitrate),
(find_best_size), (abs_diff), (put), (smokecodec_encode),
(smokecodec_parse_header), (smokecodec_decode):
* ext/jpeg/smokecodec.h:
Added a new simple jpeg based codec
2004-06-08 11:47:35 +00:00
Wim Taymans
e232b09d50 gst/multipart/multipartmux.c: Fix memory leak
Original commit message from CVS:
* gst/multipart/multipartmux.c: (gst_multipart_mux_class_init),
(gst_multipart_mux_loop):
Fix memory leak
2004-06-08 11:24:45 +00:00
Thomas Vander Stichele
b2972c34f7 use streamheader
Original commit message from CVS:
use streamheader
2004-06-08 10:44:59 +00:00
Thomas Vander Stichele
c8df96ea93 clean up marshal generation
Original commit message from CVS:
clean up marshal generation
2004-06-08 10:14:50 +00:00
Thomas Vander Stichele
8638019c7f uniformized; added signals to serversink for new and removed clients
Original commit message from CVS:
uniformized; added signals to serversink for new and removed clients
2004-06-08 09:12:12 +00:00
Benjamin Otte
41247e2d4d ext/alsa/gstalsasink.c: handle discont events if they happen before caps nego
Original commit message from CVS:
* ext/alsa/gstalsasink.c: (gst_alsa_sink_check_event):
handle discont events if they happen before caps nego
2004-06-07 20:44:55 +00:00
Wim Taymans
6a59b1923e gst/multipart/: Small updates, fix a memleak
Original commit message from CVS:
* gst/multipart/multipartdemux.c: (gst_multipart_demux_base_init),
(gst_multipart_find_pad_by_mime), (gst_multipart_demux_chain),
(gst_multipart_demux_plugin_init):
* gst/multipart/multipartmux.c: (gst_multipart_mux_class_init),
(gst_multipart_mux_init), (gst_multipart_mux_loop),
(gst_multipart_mux_change_state):
Small updates, fix a memleak
2004-06-07 16:32:45 +00:00
Stéphane Loeuillet
ef2468c353 configure.ac: OSS portability
Original commit message from CVS:
* configure.ac: OSS portability
* ext/arts/gst_arts.c: idem
* sys/oss/gstosselement.c: idem
* sys/oss/gstossmixer.c: idem
* sys/oss/gstosssink.c: idem
* sys/oss/gstosssrc.c: idem
* sys/oss/oss_probe.c: idem
- check for soundcard.h in different places for some BSD
2004-06-07 13:40:08 +00:00
Jan Schmidt
192579e18b AUTHORS: Add me to the authors file
Original commit message from CVS:
* AUTHORS:
Add me to the authors file
* configure.ac:
Increase the libdv requirement to >= version 0.100
* ext/dv/gstdvdec.c: (gst_dvdec_init), (gst_dvdec_src_convert),
(gst_dvdec_src_query), (gst_dvdec_handle_sink_event),
(gst_dvdec_push), (gst_dvdec_loop), (gst_dvdec_change_state):
* ext/dv/gstdvdec.h:
Add support for the new_media flag when sending DISCONT events
Make the querying work when video pad is not linked
2004-06-07 12:01:52 +00:00
Benjamin Otte
ec11dae902 gst/mixmatrix/mixmatrix.c: create a NULL-initialized array of pads, so we don't think they exist already. (fixes #143...
Original commit message from CVS:
reviewed by Benjamin Otte  <otte@gnome.org>
* gst/mixmatrix/mixmatrix.c: (gst_mixmatrix_init):
create a NULL-initialized array of pads, so we don't think they
exist already. (fixes #143130)
2004-06-07 02:39:02 +00:00
Benjamin Otte
8796e7b160 ext/alsa/gstalsa.c: cast to GstClockTime to get higher granularity
Original commit message from CVS:
* ext/alsa/gstalsa.c: (gst_alsa_samples_to_timestamp):
cast to GstClockTime to get higher granularity
* ext/alsa/gstalsasink.c: (gst_alsa_sink_check_event):
use gst_element_set_time_delay to get the exact time
* ext/mad/gstmad.c: (gst_mad_chain):
use the negotiated rate instead of the current frame's rate which
might be wrong because of bit errors. This avoids emitting totally
bogus timestamps and screwing sync.
(fixes #143454)
2004-06-07 01:41:37 +00:00
Benjamin Otte
4eb15b5efc gst/adder/gstadder.c: properly error out when no negotiation has happened yet. (fixes #143032)
Original commit message from CVS:
reviewed by Benjamin Otte  <otte@gnome.org>
* gst/adder/gstadder.c: (gst_adder_loop):
properly error out when no negotiation has happened yet. (fixes
#143032)
2004-06-06 23:43:15 +00:00
Arwed v. Merkatz
6cd5be1276 ext/mad/gstid3tag.c: forward correctly transformed offset in discont events. Based on
Original commit message from CVS:
* ext/mad/gstid3tag.c: (gst_id3_tag_handle_event):
forward correctly transformed offset in discont events. Based on
patch by Arwed v. Merkatz. (fixes #142851)
2004-06-06 21:03:06 +00:00
David Schleef
518c249a5f gst/ffmpegcolorspace/gstffmpegcodecmap.c: that's
Original commit message from CVS:
* gst/ffmpegcolorspace/gstffmpegcodecmap.c: that's
G_HAVE_GNUC_VARARGS, not G_HAVE_GNU_VARARGS.  Should fix compile
problems on several systems.
2004-06-06 20:58:59 +00:00
Benjamin Otte
813ce171e4 ext/vorbis/vorbisdec.c: use explicit caps on the srcpad
Original commit message from CVS:
* ext/vorbis/vorbisdec.c: (gst_vorbis_dec_init):
use explicit caps on the srcpad
* ext/vorbis/vorbisdec.c: (vorbis_dec_chain):
properly error out if caps couldn't be set (fixes #142764)
2004-06-06 19:36:08 +00:00
Benjamin Otte
3704c9835f ext/alsa/gstalsa.c: - don't call set_periods_integer anymore, it breaks the configuration randomly
Original commit message from CVS:
* ext/alsa/gstalsa.c: (gst_alsa_probe_hw_params),
(gst_alsa_set_hw_params), (gst_alsa_set_sw_params),
(gst_alsa_start_audio):
- don't call set_periods_integer anymore, it breaks the
configuration randomly
- call snd_pcm_hw_params_set_access directly instead of using masks
- don't fail if the sw_params can't be set, just use the default
params and hope it works. Alsalib has weird issues when you touch
sw_params and does no proper error reporting about what failed.
* ext/alsa/gstalsa.c: (gst_alsa_open_audio),
(gst_alsa_close_audio):
make our alsa debugging go via gst debugging and not conditionally
defined
* ext/alsa/gstalsa.h:
add ALSA_DEBUG_FLUSH macro
* ext/alsa/gstalsaplugin.c: (gst_alsa_error_wrapper),
(plugin_init):
wrap alsa errors to be printed via the gst debugging system and not
spammed to stderr
2004-06-06 17:26:54 +00:00
Ronald S. Bultje
45b9c25415 gst/qtdemux/qtdemux.*: Bitch. Also known as seeking, querying & co.
Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (gst_qtdemux_init),
(gst_qtdemux_handle_src_query), (gst_qtdemux_handle_src_event),
(gst_qtdemux_handle_sink_event), (gst_qtdemux_change_state),
(gst_qtdemux_loop_header), (qtdemux_dump_mvhd),
(qtdemux_parse_trak):
* gst/qtdemux/qtdemux.h:
Bitch. Also known as seeking, querying & co.
* sys/oss/gstosssink.c: (gst_osssink_init), (gst_osssink_chain),
(gst_osssink_change_state):
* sys/oss/gstosssink.h:
Resyncing is for weenies, this hack is no longer needed and was
broken anyway (since it - unintendedly - always leaves resync to
TRUE).
2004-06-05 18:50:48 +00:00
Andrew Turner
d30bd01770 gst/tcp/gsttcp.c: portability (Solaris 10/FreeBSD)
Original commit message from CVS:
* gst/tcp/gsttcp.c: portability (Solaris 10/FreeBSD)
* gst/tcp/gsttcpclientsrc.h: idem
- define MSG_NOSIGNAL if not done
- include unistd.h for off_t
(fixes #143749)
patch by Andrew Turner <zxombie@hotpop.com>
2004-06-05 15:40:10 +00:00
Benjamin Otte
b3cdd10715 check for qt's moc preprocessor explicitly and use it
Original commit message from CVS:
* configure.ac:
* ext/kio/Makefile.am:
check for qt's moc preprocessor explicitly and use it
2004-06-05 14:34:02 +00:00
Thomas Vander Stichele
72e2e26fd3 don't get sigpipe on send
Original commit message from CVS:
don't get sigpipe on send
2004-06-03 15:34:07 +00:00
Thomas Vander Stichele
937c2f95dd check error code correctly
Original commit message from CVS:
check error code correctly
2004-06-02 17:20:13 +00:00
Thomas Vander Stichele
794db59dfc use ssize_t over size_t avoid segfault in alsa
Original commit message from CVS:

use ssize_t over size_t
avoid segfault in alsa
2004-06-02 16:50:49 +00:00
Stéphane Loeuillet
bc594fa994 real fix thise time : don't use glib 2.4 specific defines
Original commit message from CVS:
real fix thise time : don't use glib 2.4 specific defines
2004-06-02 12:01:52 +00:00
Wim Taymans
939d5f827c gst/multipart/multipartmux.c: Oops
Original commit message from CVS:
reviewed by: Johan
* gst/multipart/multipartmux.c: (gst_multipart_mux_class_init),
(gst_multipart_mux_loop):
Oops
2004-06-02 11:49:20 +00:00
Stéphane Loeuillet
9c6ea1f0c8 zaheer :
Original commit message from CVS:
zaheer :
* gst/tcp/gsttcp.c:
* gst/tcp/gsttcpclientsrc.c:
* gst/tcp/gsttcpclientsrc.h:
* gst/tcp/gsttcpserversrc.c:
- portability fix, to compile on OSX
(fixes #143146)

* sys/osxaudio/gstosxaudioelement.c:
* sys/osxaudio/gstosxaudiosink.c:
* sys/osxaudio/gstosxaudiosrc.c:
- compilation warnings on OSX
(fixes #143153)

me :
* ext/vorbis/vorbisdec.c : sign warning fixes

* gst-libs/gst/mixer/mixertrack.c : forgoten include
to define newly used G_MAXINT32, bad owen, bad
2004-06-02 11:47:09 +00:00
Wim Taymans
f9f71bae62 gst/multipart/multipartmux.c: Added configurable boundary specifier, added the value as a caps field as well.
Original commit message from CVS:
* gst/multipart/multipartmux.c: (gst_multipart_mux_class_init),
(gst_multipart_mux_init), (gst_multipart_mux_loop),
(gst_multipart_mux_get_property), (gst_multipart_mux_set_property),
(gst_multipart_mux_change_state):
Added configurable boundary specifier, added the value as a
caps field as well.
2004-06-02 11:35:20 +00:00
Christophe Fergeau
a6b8686ecb ext/flac/gstflactag.c: strip ending framing bit from vorbiscomment buffer since libflac doesn't expect it (reports a ...
Original commit message from CVS:
2004-06-01  Christophe Fergeau  <teuf@gnome.org>

* ext/flac/gstflactag.c: strip ending framing bit from vorbiscomment
buffer since libflac doesn't expect it (reports a sync error when
it encounters that)
2004-06-01 20:23:12 +00:00
Owen Fraser-Green
39aeaa3632 Added property accessors for mixertrack and mixeroptions.
Original commit message from CVS:
Added property accessors for mixertrack and mixeroptions.
2004-06-01 20:08:52 +00:00
Thomas Vander Stichele
b61f9dab55 improve _open error messages
Original commit message from CVS:
improve _open error messages
2004-06-01 15:14:08 +00:00
Thomas Vander Stichele
4385890216 leniate musicbrainz check; check for v4l-conf before calling it
Original commit message from CVS:
leniate musicbrainz check; check for v4l-conf before calling it
2004-06-01 12:10:37 +00:00
Thomas Vander Stichele
b5dbfcce73 more readable g_error
Original commit message from CVS:
more readable g_error
2004-06-01 08:51:55 +00:00
Stéphane Loeuillet
51dffab842 gst-libs/gst/tuner/tunerchannel.h: - add a freq_multiplicator field to make the conversion between internal frequency...
Original commit message from CVS:
* gst-libs/gst/tuner/tunerchannel.h:
- add a freq_multiplicator field to make the conversion
between internal frequency unit and Hz
* sys/v4l/gstv4lelement.c:
* sys/v4l2/gstv4l2element.c:
- change default video device to /dev/video0
* sys/v4l/v4l_calls.c:
* sys/v4l2/v4l2_calls.c:
- we only expose frequency to the user in Hz instead of
bastard v4lX unit (either 62.5kHz or 62.5Hz)
2004-05-31 14:16:54 +00:00
Jan Schmidt
661919ceb1 ext/vorbis/vorbisdec.c: Initialise b_o_s and e_o_s variables
Original commit message from CVS:
* ext/vorbis/vorbisdec.c: (vorbis_dec_chain):
Initialise b_o_s and e_o_s variables
* gst-libs/gst/riff/riff-media.c:
(gst_riff_create_video_caps_with_data):
Add some unusual fourcc's from mplayer avi's
* gst/multipart/multipartmux.c: (gst_multipart_mux_plugin_init):
Make the muxer have rank GST_RANK_NONE, so it doesn't mess up
autoplugging.
2004-05-31 04:56:55 +00:00
Wim Taymans
8b7c3ac223 A plugin to add an alpha channel to I420 video. Can optionally do chroma keying.
Original commit message from CVS:
* configure.ac:
* gst/alpha/Makefile.am:
* gst/alpha/gstalpha.c: (gst_alpha_method_get_type),
(gst_alpha_get_type), (gst_alpha_base_init),
(gst_alpha_class_init), (gst_alpha_init), (gst_alpha_set_property),
(gst_alpha_get_property), (gst_alpha_sink_link), (gst_alpha_add),
(gst_alpha_chroma_key), (gst_alpha_chain),
(gst_alpha_change_state), (plugin_init):
A plugin to add an alpha channel to I420 video. Can optionally do
chroma keying.
* gst/multipart/Makefile.am:
* gst/multipart/multipart.c: (plugin_init):
* gst/multipart/multipartdemux.c: (gst_multipart_demux_base_init),
(gst_multipart_demux_class_init), (gst_multipart_demux_init),
(gst_multipart_demux_finalize), (gst_multipart_demux_handle_event),
(gst_multipart_find_pad_by_mime), (gst_multipart_demux_chain),
(gst_multipart_demux_change_state),
(gst_multipart_demux_plugin_init):
* gst/multipart/multipartmux.c: (gst_multipart_mux_get_type),
(gst_multipart_mux_base_init), (gst_multipart_mux_class_init),
(gst_multipart_mux_get_sink_event_masks), (gst_multipart_mux_init),
(gst_multipart_mux_sinkconnect), (gst_multipart_mux_pad_link),
(gst_multipart_mux_pad_unlink),
(gst_multipart_mux_request_new_pad),
(gst_multipart_mux_handle_src_event),
(gst_multipart_mux_next_buffer), (gst_multipart_mux_compare_pads),
(gst_multipart_mux_queue_pads), (gst_multipart_mux_loop),
(gst_multipart_mux_get_property), (gst_multipart_mux_set_property),
(gst_multipart_mux_change_state), (gst_multipart_mux_plugin_init):
A Multipart demuxer/muxer. Not sure if it violates specs. Used to
send multipart jpeg images to a browser.
* gst/videobox/Makefile.am:
* gst/videobox/README:
* gst/videobox/gstvideobox.c: (gst_video_box_fill_get_type),
(gst_video_box_get_type), (gst_video_box_base_init),
(gst_video_box_class_init), (gst_video_box_init),
(gst_video_box_set_property), (gst_video_box_get_property),
(gst_video_box_sink_link), (gst_video_box_i420),
(gst_video_box_ayuv), (gst_video_box_chain),
(gst_video_box_change_state), (plugin_init):
Crops or adds borders around an image. can do alpha channel
borders as well.
* gst/videomixer/Makefile.am:
* gst/videomixer/README:
* gst/videomixer/videomixer.c: (gst_videomixer_pad_get_type),
(gst_videomixer_pad_base_init), (gst_videomixer_pad_class_init),
(gst_videomixer_pad_get_sink_event_masks),
(gst_videomixer_pad_get_property),
(gst_videomixer_pad_set_property),
(gst_videomixer_pad_sinkconnect), (gst_videomixer_pad_link),
(gst_videomixer_pad_unlink), (gst_videomixer_pad_init),
(gst_video_mixer_background_get_type), (gst_videomixer_get_type),
(gst_videomixer_base_init), (gst_videomixer_class_init),
(gst_videomixer_init), (gst_videomixer_request_new_pad),
(gst_videomixer_handle_src_event),
(gst_videomixer_blend_ayuv_i420), (gst_videomixer_fill_checker),
(gst_videomixer_fill_color), (gst_videomixer_fill_queues),
(gst_videomixer_blend_buffers), (gst_videomixer_update_queues),
(gst_videomixer_loop), (gst_videomixer_get_property),
(gst_videomixer_set_property), (gst_videomixer_change_state),
(plugin_init):
Generic video mixer plugin, can handle multiple inputs all with
different framerates and video sizes. Is fully alpha channel
aware.
2004-05-28 18:01:34 +00:00
Ronald S. Bultje
3837845a3b ext/alsa/gstalsamixer.c: Select first track as master track. Not sure how else to handle that...
Original commit message from CVS:
* ext/alsa/gstalsamixer.c: (gst_alsa_mixer_build_list):
Select first track as master track. Not sure how else to handle
that...
* ext/ogg/gstoggmux.c: (gst_ogg_mux_next_buffer):
Discard discont events. Should fix #142962.
2004-05-27 12:15:04 +00:00
Ronald S. Bultje
4fffc6928f ext/alsa/: Add enumerations (as GstMixerOptions). Make correct distinction between input/output tracks. Add capture/p...
Original commit message from CVS:
* ext/alsa/Makefile.am:
* ext/alsa/gstalsamixer.c: (gst_alsa_mixer_interface_init),
(gst_alsa_mixer_build_list), (gst_alsa_mixer_get_volume),
(gst_alsa_mixer_set_volume), (gst_alsa_mixer_set_mute),
(gst_alsa_mixer_set_record), (gst_alsa_mixer_set_option),
(gst_alsa_mixer_get_option):
* ext/alsa/gstalsamixer.h:
* ext/alsa/gstalsamixeroptions.c:
(gst_alsa_mixer_options_get_type),
(gst_alsa_mixer_options_class_init), (gst_alsa_mixer_options_init),
(gst_alsa_mixer_options_new):
* ext/alsa/gstalsamixeroptions.h:
* ext/alsa/gstalsamixertrack.c: (gst_alsa_mixer_track_new):
* ext/alsa/gstalsamixertrack.h:
Add enumerations (as GstMixerOptions). Make correct distinction
between input/output tracks. Add capture/playback private flag.
Use flag to decide on whether to set capture or playback volumes
or switches. Use playback and record switches.
* gst-libs/gst/mixer/Makefile.am:
* gst-libs/gst/mixer/mixer-marshal.list:
* gst-libs/gst/mixer/mixer.c: (gst_mixer_class_init),
(gst_mixer_set_option), (gst_mixer_get_option),
(gst_mixer_mute_toggled), (gst_mixer_record_toggled),
(gst_mixer_volume_changed), (gst_mixer_option_changed):
* gst-libs/gst/mixer/mixer.h:
* gst-libs/gst/mixer/mixeroptions.c: (gst_mixer_options_get_type),
(gst_mixer_options_class_init), (gst_mixer_options_init),
(gst_mixer_options_dispose):
* gst-libs/gst/mixer/mixeroptions.h:
Add GstMixerOptions.
* sys/oss/gstosselement.c: (gst_osselement_class_probe_devices):
Rename Audio Mixer to OSS Mixer (similar to Alsa Mixer). Fix
broken device detection on computers with multiple OSS sound
cards.
2004-05-27 03:36:17 +00:00
Benjamin Otte
5d38431fe7 gst/audioconvert/gstaudioconvert.c: fixate nicely even when the peer is not negotiating
Original commit message from CVS:
* gst/audioconvert/gstaudioconvert.c: (gst_audio_convert_fixate):
fixate nicely even when the peer is not negotiating
2004-05-26 14:47:23 +00:00
Benjamin Otte
ee4025af69 gst/audioconvert/gstaudioconvert.c: make sure we don't allow depth > width
Original commit message from CVS:
* gst/audioconvert/gstaudioconvert.c:
(gst_audio_convert_parse_caps):
make sure we don't allow depth > width
* gst/audioconvert/gstaudioconvert.c: (gst_audio_convert_fixate):
fixate endianness to G_BYTE_ORDER as default
* gst/audioscale/gstaudioscale.c:
we don't handle another endianness as host-endianness
2004-05-25 20:14:10 +00:00
David Schleef
18eb5192ee gst/ffmpegcolorspace/mem.c: malloc() is in stdlib.h, not malloc.h
Original commit message from CVS:
* gst/ffmpegcolorspace/mem.c:  malloc() is in stdlib.h, not malloc.h
2004-05-25 18:38:39 +00:00
Benjamin Otte
796f5776a4 ext/vorbis/oggvorbisenc.c: properly fail when we can't setup the vorbis encoder due to unsupported settings
Original commit message from CVS:
* ext/vorbis/oggvorbisenc.c: (gst_oggvorbisenc_sinkconnect),
(gst_oggvorbisenc_setup):
properly fail when we can't setup the vorbis encoder due to
unsupported settings
* ext/vorbis/vorbisenc.c: (gst_vorbisenc_sinkconnect),
(gst_vorbisenc_setup):
same
* gst/audioconvert/gstaudioconvert.c: (gst_audio_convert_link):
fix case where warnings occured when one pad was unlinked while the
other's link function was called
2004-05-24 19:19:28 +00:00
Thomas Vander Stichele
299fef2809 use GST_ENABLE_NEW
Original commit message from CVS:
use GST_ENABLE_NEW
2004-05-24 16:36:53 +00:00
Benjamin Otte
6bda979764 gst-libs/gst/resample/private.h: don't use optimizations that are #if 0'ed
Original commit message from CVS:
* gst-libs/gst/resample/private.h:
don't use optimizations that are #if 0'ed
2004-05-24 16:22:12 +00:00
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
Benjamin Otte
ed474907d4 cvs commit: warning: file 'ChangeLog' seems to still contain conflict indicators
Original commit message from CVS:
cvs commit: warning: file 'ChangeLog' seems to still contain conflict indicators
2004-05-07 00:45:12 +00:00
Benjamin Otte
952bf6bf5a ext/lame/gstlame.c: simplify
Original commit message from CVS:
* ext/lame/gstlame.c: (gst_lame_chain):
simplify
* ext/mad/gstmad.c: (gst_mad_handle_event):
fix event leak
* gst/typefind/gsttypefindfunctions.c: (mp3_type_find):
be able to detect mp3 files < 4096 bytes
2004-05-07 00:43:49 +00:00
Wim Taymans
35bea8f846 ext/theora/theoraenc.c: Also encode the first frame, cleanup some code.
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_set_property), (theora_enc_get_property):
Also encode the first frame, cleanup some code.
2004-05-06 14:32:13 +00:00
Wim Taymans
e8a8cafb13 ext/mpeg2enc/gstmpeg2enc.cc: Forward events first before deciding that negotiation was not performed.
Original commit message from CVS:
* ext/mpeg2enc/gstmpeg2enc.cc:
Forward events first before deciding that negotiation was
not performed.
2004-05-06 09:21:24 +00:00
Wim Taymans
d2b5ac130b gst/wavenc/gstwavenc.c: First process the events before deciding that negotiation was not performed.
Original commit message from CVS:
* gst/wavenc/gstwavenc.c: (gst_wavenc_chain):
First process the events before deciding that negotiation
was not performed.
2004-05-06 09:14:29 +00:00
Wim Taymans
2faacf74c8 ext/theora/: Added a theora encoder, grouped the encoder and decoder into the same plugin.
Original commit message from CVS:
* ext/theora/Makefile.am:
* ext/theora/theora.c: (plugin_init):
* ext/theora/theoradec.c: (theora_dec_change_state):
* ext/theora/theoraenc.c: (gst_theora_enc_base_init),
(gst_theora_enc_class_init), (gst_theora_enc_init),
(theora_enc_sink_link), (theora_enc_event), (theora_push_packet),
(theora_enc_chain), (theora_enc_change_state),
(theora_enc_set_property), (theora_enc_get_property):
Added a theora encoder, grouped the encoder and decoder into the
same plugin.
2004-05-06 09:10:31 +00:00
Thomas Vander Stichele
02c4deec12 ext/jpeg/gstjpegenc.c: fix DURATION on outgoing buffers
Original commit message from CVS:
* ext/jpeg/gstjpegenc.c: (gst_jpegenc_get_type),
(gst_jpegenc_chain):
fix DURATION on outgoing buffers
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_handle_sink_event):
debug using time formats
* sys/ximage/ximagesink.c: (gst_ximagesink_xcontext_get):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_get_xv_support),
(gst_xvimagesink_sink_link):
windows with width/height 0 generate X errors, so don't allow them
2004-05-05 11:29:48 +00:00
Wim Taymans
9a04866a8f ext/mpeg2dec/gstmpeg2dec.*: removed the static pad template so that we can add the more accurate framerate value to t...
Original commit message from CVS:
* ext/mpeg2dec/gstmpeg2dec.c: (src_templ),
(gst_mpeg2dec_base_init), (gst_mpeg2dec_init),
(gst_mpeg2dec_negotiate_format):
* ext/mpeg2dec/gstmpeg2dec.h:
removed the static pad template so that we can add the
more accurate framerate value to the caps.
2004-05-05 09:13:42 +00:00
Benjamin Otte
88dd3f3a80 configure.ac: check for kdemacros.h, too (should fix #141821)
Original commit message from CVS:
* configure.ac:
check for kdemacros.h, too (should fix #141821)
* ext/vorbis/vorbisdec.c: (vorbis_dec_event), (vorbis_dec_chain):
don't crash if no header was sent, but nicely error out (fixes part
of #141554)
2004-05-04 18:38:39 +00:00
Wim Taymans
f683e8e33c ext/mpeg2enc/gstmpeg2enc.cc: call the parent dispose function to avoid segfault on destroy.
Original commit message from CVS:
* ext/mpeg2enc/gstmpeg2enc.cc: (gst_mpeg2enc_dispose): call the
parent dispose function to avoid segfault on destroy.
2004-05-04 14:39:29 +00:00
Thomas Vander Stichele
fa047d23ba sys/: clean up debugging caps also recreate xvimage when format has changed
Original commit message from CVS:
* sys/ximage/ximagesink.c: (gst_ximagesink_sink_link),
(plugin_init):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_xcontext_get),
(gst_xvimagesink_sink_link):
clean up debugging caps
also recreate xvimage when format has changed
2004-05-04 14:17:24 +00:00
Benjamin Otte
8e3e575cef ext/libvisual/: use a GstAdapter to correctly adapt buffer sizes - allows using a framerate
Original commit message from CVS:
* ext/libvisual/Makefile.am:
* ext/libvisual/visual.c: (gst_visual_class_init),
(gst_visual_init), (gst_visual_dispose), (gst_visual_getcaps),
(gst_visual_srclink), (gst_visual_chain),
(gst_visual_change_state), (plugin_init):
use a GstAdapter to correctly adapt buffer sizes - allows using a
framerate
2004-05-04 00:44:19 +00:00
Thomas Vander Stichele
5feb7db35f query v4lsrc device for fps (which works for webcams)
Original commit message from CVS:
query v4lsrc device for fps (which works for webcams)
2004-05-03 17:26:43 +00:00
Stéphane Loeuillet
3792df9030 don't trust lame_init to set good values as defaults
Original commit message from CVS:
don't trust lame_init to set good values as defaults
2004-05-03 16:46:10 +00:00
Thomas Vander Stichele
afdffd4e40 ext/divx/gstdivxenc.c: fix range since -1 is the default
Original commit message from CVS:
* ext/divx/gstdivxenc.c: (gst_divxenc_get_type),
(gst_divxenc_class_init):
fix range since -1 is the default
* gst/mpeg1sys/gstmpeg1systemencode.c:
(gst_mpeg1_system_encode_get_type), (gst_system_encode_multiplex):
* gst/rtjpeg/gstrtjpegdec.c: (gst_rtjpegdec_get_type),
(gst_rtjpegdec_chain):
* gst/rtjpeg/gstrtjpegenc.c: (gst_rtjpegenc_get_type),
(gst_rtjpegenc_chain):
* sys/qcam/gstqcamsrc.c: (gst_autoexp_mode_get_type),
(gst_qcamsrc_get_type), (gst_qcamsrc_change_state):
* sys/v4l/gstv4lmjpegsink.c: (gst_v4lmjpegsink_get_type):
* sys/v4l/gstv4lmjpegsrc.c: (gst_v4lmjpegsrc_get_type):
* sys/v4l/gstv4lsrc.c:
* sys/v4l/v4l_calls.c: (gst_v4l_open):
* 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):
* sys/vcd/vcdsrc.c: (vcdsrc_get_type), (vcdsrc_get):
remove gst_info calls
2004-05-03 14:31:46 +00:00
Thomas Vander Stichele
eb95a260d6 updated translations
Original commit message from CVS:
updated translations
2004-05-03 13:37:09 +00:00
Thomas Vander Stichele
c4e5e2b8a1 gst/audioconvert/gstaudioconvert.c: refactor/comment code
Original commit message from CVS:
* gst/audioconvert/gstaudioconvert.c: (_fixate_caps_to_int):
refactor/comment code
2004-05-03 13:25:21 +00:00
Ronald S. Bultje
996c608d93 gst/asfdemux/: Add tagging support to demuxer, split out registration in its own and prevent having some tables in ou...
Original commit message from CVS:
* gst/asfdemux/Makefile.am:
* gst/asfdemux/asfheaders.c:
* gst/asfdemux/asfheaders.h:
* gst/asfdemux/gstasf.c: (plugin_init):
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_get_type),
(gst_asf_demux_base_init), (gst_asf_demux_process_comment),
(gst_asf_demux_setup_pad):
* gst/asfdemux/gstasfdemux.h:
* gst/asfdemux/gstasfmux.c:
* gst/asfdemux/gstasfmux.h:
Add tagging support to demuxer, split out registration in its own
file instead of in demux (hacky), and prevent having some tables
in our memory multiple times (in asfheaders.h).
2004-05-02 18:07:39 +00:00
Ronald S. Bultje
129c79c841 gst/matroska/: Basic tag reading support.
Original commit message from CVS:
* gst/matroska/matroska-demux.c:
(gst_matroska_demux_parse_metadata):
* gst/matroska/matroska-ids.h:
Basic tag reading support.
2004-05-01 17:27:23 +00:00
Ronald S. Bultje
5edbe32754 gst/matroska/matroska-demux.c: Really detect ac-3 audio.
Original commit message from CVS:
* gst/matroska/matroska-demux.c: (gst_matroska_demux_audio_caps):
Really detect ac-3 audio.
* gst/typefind/gsttypefindfunctions.c: (matroska_type_find):
really detect matroska files (off-by-1).
2004-05-01 02:46:38 +00:00
David Schleef
cdfd00d33e gst/qtdemux/qtdemux.c: More qtdemux hackage -- parse a lot more atoms, extract a few tags. One might even mistake th...
Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (gst_qtdemux_loop_header),
(gst_qtdemux_add_stream), (qtdemux_parse), (qtdemux_type_get),
(qtdemux_dump_stsz), (qtdemux_dump_stco), (qtdemux_dump_co64),
(qtdemux_dump_unknown), (qtdemux_parse_tree), (qtdemux_parse_udta),
(qtdemux_tag_add), (get_size), (gst_qtdemux_handle_esds): More qtdemux
hackage -- parse a lot more atoms, extract a few tags.  One might even
mistake this for tag support.  Maybe it is.
* gst/qtdemux/qtdemux.h:
2004-05-01 01:46:16 +00:00
Colin Walters
eff307f168 plug a memleak
Original commit message from CVS:
plug a memleak
2004-04-30 20:57:48 +00:00
Thomas Vander Stichele
65196de9c0 gst/ffmpegcolorspace/gstffmpegcolorspace.c: remove broken nego fix
Original commit message from CVS:
* gst/ffmpegcolorspace/gstffmpegcolorspace.c:
(gst_ffmpegcolorspace_getcaps):
remove broken nego fix
2004-04-30 12:21:11 +00:00
Benjamin Otte
b3a277889c add initial support for libvisual (http://libvisual.sourceforge.net) libvisual is still quite alpha, so expect crashe...
Original commit message from CVS:
* configure.ac:
* ext/Makefile.am:
* ext/libvisual/Makefile.am:
* ext/libvisual/visual.c:
add initial support for libvisual (http://libvisual.sourceforge.net)
libvisual is still quite alpha, so expect crashes in there :)
2004-04-30 02:25:09 +00:00
David Schleef
971c2a18cd gst/qtdemux/qtdemux.c: Hacked up qtdemux to make it spit out codec_data. Do _not_ look at this code; you will no lon...
Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (gst_qtdemux_add_stream), (qtdemux_parse),
(qtdemux_parse_trak), (get_size), (gst_qtdemux_handle_esds): Hacked
up qtdemux to make it spit out codec_data.  Do _not_ look at this
code; you will no longer respect me.
2004-04-30 02:19:16 +00:00
Stéphane Loeuillet
2f8542caab change alsa pcm device discovery to find more than 1 device per card.
Original commit message from CVS:
change alsa pcm device discovery to find more than 1 device per card.
code review by Ronald.
2004-04-30 01:20:53 +00:00
David Schleef
5545506182 sys/oss/gstosselement.c: Add a check for a driver bug on FreeBSD. (bug #140565)
Original commit message from CVS:
* sys/oss/gstosselement.c: (gst_osselement_rate_probe_check):
Add a check for a driver bug on FreeBSD.  (bug #140565)
2004-04-29 23:45:03 +00:00
Thomas Vander Stichele
0a4089343d ext/jpeg/: move format setting to inner loop
Original commit message from CVS:
* ext/jpeg/gstjpegdec.c: (gst_jpegdec_get_type):
* ext/jpeg/gstjpegenc.c: (gst_jpegenc_get_type),
(gst_jpegenc_getcaps):
move format setting to inner loop
* gst/ffmpegcolorspace/gstffmpegcolorspace.c:
(gst_ffmpegcolorspace_getcaps):
use GST_PAD_CAPS if available so that we use already negotiated
caps
* gst/qtdemux/qtdemux.c: (gst_qtdemux_loop_header),
(qtdemux_parse_moov), (qtdemux_parse):
extra debugging
* sys/qcam/qcam-Linux.c: (qc_lock_wait), (qc_unlock):
* sys/qcam/qcam-os.c: (qc_lock_wait), (qc_unlock):
move hardcoded path to DEFINE
2004-04-29 17:37:01 +00:00
David Schleef
068d8730ad gst/speed/gstspeed.c: Fix caps parsing. (bug #140064)
Original commit message from CVS:
* gst/speed/gstspeed.c: (speed_parse_caps):  Fix caps parsing.
(bug #140064)
2004-04-29 03:38:16 +00:00
Ronald S. Bultje
25bed5ba84 ext/alsa/gstalsa.c: Don't probe for playback device if we're a source element. Fixes #139658.
Original commit message from CVS:
* ext/alsa/gstalsa.c: (gst_alsa_class_probe_devices):
Don't probe for playback device if we're a source element. Fixes
#139658.
2004-04-29 00:40:14 +00:00
Benjamin Otte
f480bff725 ext/mad/gstid3tag.c: rewrite buffer offset
Original commit message from CVS:
* ext/mad/gstid3tag.c: (gst_id3_tag_handle_event),
(gst_id3_tag_chain):
rewrite buffer offset
2004-04-29 00:13:16 +00:00
Ronald S. Bultje
d58bb20923 New DTS decoder.
Original commit message from CVS:
* configure.ac:
* ext/Makefile.am:
* ext/dts/Makefile.am:
* ext/dts/gstdtsdec.c: (gst_dtsdec_get_type),
(gst_dtsdec_base_init), (gst_dtsdec_class_init), (gst_dtsdec_init),
(gst_dtsdec_channels), (gst_dtsdec_renegotiate),
(gst_dtsdec_handle_event), (gst_dtsdec_update_streaminfo),
(gst_dtsdec_loop), (gst_dtsdec_change_state),
(gst_dtsdec_set_property), (gst_dtsdec_get_property),
(plugin_init):
* ext/dts/gstdtsdec.h:
New DTS decoder.
* ext/faad/gstfaad.c: (gst_faad_sinkconnect),
(gst_faad_srcconnect):
Add ESDS atom handling (.m4a).
2004-04-29 00:00:25 +00:00
Ronald S. Bultje
9e67f51a37 ext/divx/gstdivxdec.c: Remove comment that makes no sense.
Original commit message from CVS:
* ext/divx/gstdivxdec.c: (plugin_init):
Remove comment that makes no sense.
* ext/mad/gstid3tag.c: (gst_id3_tag_set_property):
Fix for obvious typo that resulted in warnings during gst-register.
* ext/xvid/gstxviddec.c: (gst_xviddec_src_link),
(gst_xviddec_sink_link):
Fix caps negotiation a bit better.
* gst/qtdemux/qtdemux.c: (qtdemux_parse_trak):
We call this 'codec_data', not 'esds'.
2004-04-28 03:13:48 +00:00
Benjamin Otte
f7b65944ee gst/monoscope/gstmonoscope.c: make sure we only provide 256x128
Original commit message from CVS:
* gst/monoscope/gstmonoscope.c:
make sure we only provide 256x128
* gst/monoscope/monoscope.c: (monoscope_init):
assert size of 256x128
2004-04-27 15:59:57 +00:00
Thomas Vander Stichele
ab28615caa use max width and height for fixation
Original commit message from CVS:
use max width and height for fixation
2004-04-27 15:08:22 +00:00
Thomas Vander Stichele
3f8fd509e5 fix v4l for qc-usb webcams
Original commit message from CVS:
fix v4l for qc-usb webcams
2004-04-27 11:33:52 +00:00
Thomas Vander Stichele
bcab5d65d1 add num-buffers property
Original commit message from CVS:
add num-buffers property
2004-04-27 09:42:45 +00:00
Benjamin Otte
763a01a8e0 ext/mad/gstid3tag.c: set id3mux rank to NONE so it doesn't confuse spider require audio/mpeg,mpegversion=1 in id3mux
Original commit message from CVS:
* ext/mad/gstid3tag.c: (plugin_init):
set id3mux rank to NONE so it doesn't confuse spider
require audio/mpeg,mpegversion=1 in id3mux
2004-04-26 20:38:12 +00:00
Benjamin Otte
541f58ec07 configure.ac: detect faad correctly as non-working if it's indeed non-working
Original commit message from CVS:
* configure.ac:
detect faad correctly as non-working if it's indeed non-working
2004-04-26 18:03:19 +00:00
Thomas Vander Stichele
46c2655999 fix jpeg getcaps so it negotiates correctly
Original commit message from CVS:
fix jpeg getcaps so it negotiates correctly
2004-04-26 13:47:38 +00:00
Benjamin Otte
7d92cdad31 gst/audioconvert/gstaudioconvert.c: fix memleak
Original commit message from CVS:
* gst/audioconvert/gstaudioconvert.c: (_fixate_caps_to_int):
fix memleak
2004-04-25 17:56:10 +00:00
Benjamin Otte
1f1dc1339c gst-libs/gst/riff/riff-media.c: audio/x-raw-int with height rules! not. Now it's depth.
Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_audio_caps):
audio/x-raw-int with height rules! not. Now it's depth.
2004-04-23 02:32:58 +00:00
Ronald S. Bultje
0afe517495 gst/wavparse/gstwavparse.c: Missing variable initialization. Add handling of DVI ADPCM. Fix mis-parsing of LIST chunk...
Original commit message from CVS:
* gst/wavparse/gstwavparse.c: (gst_wavparse_create_sourcepad),
(gst_wavparse_parse_fmt), (gst_wavparse_handle_sink_event),
(gst_wavparse_loop):
Missing variable initialization. Add handling of DVI ADPCM. Fix
mis-parsing of LIST chunks. This works around a bug where we mis-
parse non-aligning LIST chunks (so LIST chunks where the contents
don't align with the actual LIST size). The correct fix is to use
rifflib, I'm not going to fix wavparse - too much work. All this
fixes #104878.
2004-04-23 00:47:41 +00:00
Benjamin Otte
65d9f3c173 ext/shout/gstshout.c: fix shoutcast not working (fixes #140844)
Original commit message from CVS:
reviewed by Benjamin Otte  <otte@gnome.org>
* ext/shout/gstshout.c: (gst_icecastsend_change_state):
fix shoutcast not working (fixes #140844)
2004-04-22 15:50:05 +00:00
Benjamin Otte
b550f35944 s/gst_caps_simplify/gst_caps_do_simplify/
Original commit message from CVS:
* ext/hermes/gsthermescolorspace.c:
(gst_hermes_colorspace_caps_remove_format_info):
* gst/colorspace/gstcolorspace.c:
(gst_colorspace_caps_remove_format_info):
* gst/ffmpegcolorspace/gstffmpegcolorspace.c:
(gst_ffmpegcolorspace_caps_remove_format_info):
s/gst_caps_simplify/gst_caps_do_simplify/
2004-04-22 03:52:52 +00:00
Benjamin Otte
fd7197029c gst-libs/gst/riff/riff-media.c: mpegversion is an int
Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c:
(gst_riff_create_video_caps_with_data):
mpegversion is an int
* sys/v4l/gstv4lsrc.c: (gst_v4lsrc_base_init):
don't try to create pad templates with NULL caps, use any caps
instead.
2004-04-22 03:29:01 +00:00
David Schleef
6c83a2b979 ext/sdl/Makefile.am: Link against libgstinterfaces, not libgstxoverlay. jmmv@menta.net (Julio M. Merino Vidal) (bug ...
Original commit message from CVS:
* ext/sdl/Makefile.am: Link against libgstinterfaces, not
libgstxoverlay.  jmmv@menta.net (Julio M. Merino Vidal)
(bug #140384)
2004-04-21 00:30:03 +00:00
David Schleef
a6928ee380 ext/mad/gstid3tag.c: Add stdlib.h
Original commit message from CVS:
reviewed by David Schleef
* ext/mad/gstid3tag.c: Add stdlib.h
* gst/rtp/gstrtpgsmenc.c: same
* gst/tags/gstid3tag.c: same
* gst/udp/gstudpsrc.c: (gst_udpsrc_get): Fix GST_DISABLE_LOADSAVE
* gst/tcp/gsttcpsink.c: (gst_tcpsink_sink_link): Adjust
GST_DISABLE_LOADSAVE use.
* gst/udp/gstudpsink.c: (gst_udpsink_sink_link): Likewise.
* gst/tcp/gsttcpsrc.c: (gst_tcpsrc_get): Likewise.
* ext/gnomevfs/gstgnomevfssrc.c: Include <stdlib.h> (needed by
atol(3)).
* sys/oss/gstosselement.h: Include <sys/types.h> (needed for dev_t).
* gst/tags/gstvorbistag.c: Include <stdlib.h> (needed by
strtoul(3)).
* gst/rtp/gstrtpL16enc.c: Include <stdlib.h> (needed by random(3)).
* ext/mad/Makefile.am: (libgstmad_la_CFLAGS): Add $(MAD_CFLAGS)
$(ID3_CFLAGS).
* ext/libfame/Makefile.am: (libgstlibfame_la_CFLAGS): Add
$(LIBFAME_CFLAGS).
2004-04-20 23:03:28 +00:00
David Schleef
5450836d65 gst/realmedia/rmdemux.c: This was supposed to part of the last checkin. Same idea.
Original commit message from CVS:
* gst/realmedia/rmdemux.c:  This was supposed to part of the
last checkin.  Same idea.
2004-04-20 21:05:40 +00:00
David Schleef
51c2962476 configure.ac: bump required gstreamer version to 0.8.1.1 because of following changes [--ds]
Original commit message from CVS:
reviewed by David Schleef
* configure.ac: bump required gstreamer version to 0.8.1.1
because of following changes [--ds]
* gst-libs/gst/riff/riff-read.c:  Include gst/gstutils.h.
(gst_riff_peek_head, gst_riff_peek_list, gst_riff_read_list)
(gst_riff_read_header):  Use GST_READ_UINT*
macros to access possibly unaligned memory.
* gst/typefind/gsttypefindfunctions.c: Include gst/gstutils.h.
(mp3_type_find):  Use GST_READ_UINT*
macros to access possibly unaligned memory.
(mp3_type_find, mpeg1_parse_header, qt_type_find)
(speex_type_find): Likewise
* gst/tags/gstvorbistag.c: (ADVANCE): Likewise
* gst/qtdemux/qtdemux.c: Include stdlib.h (needed by realloc).
(QTDEMUX_GUINT32_GET, QTDEMUX_GUINT16_GET, QTDEMUX_FP32_GET)
(QTDEMUX_FP16_GET, QTDEMUX_FOURCC_GET)
(gst_qtdemux_loop_header, gst_qtdemux_loop_header)
(qtdemux_node_dump_foreach, qtdemux_tree_get_child_by_type)
(qtdemux_tree_get_sibling_by_type):  Use GST_READ_UINT*
macros to access possibly unaligned memory.
* gst/mpegstream/gstmpegpacketize.c: (parse_generic, parse_chunk):
Likewise.
* gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_parse_syshead)
(gst_mpeg_demux_parse_packet, gst_mpeg_demux_parse_pes): Likewise.
* gst/mpegaudioparse/gstmpegaudioparse.c: (gst_mp3parse_chain):
Likewise.
* gst/mpeg2sub/gstmpeg2subt.c: (GST_BUFFER_DATA)
(gst_mpeg2subt_chain_subtitle): Likewise.
* gst/mpeg1videoparse/gstmp1videoparse.c: (mp1videoparse_parse_seq)
(gst_mp1videoparse_time_code, gst_mp1videoparse_real_chain):
Likewise.
* gst/mpeg1sys/buffer.c: (mpeg1mux_buffer_update_audio_info):
Likewise.
* gst/cdxaparse/gstcdxaparse.c: (gst_bytestream_peek_bytes):
Likewise.
* gst/asfdemux/gstasfdemux.c: (_read_var_length, _read_uint):
Likewise.
2004-04-20 21:04:21 +00:00
Thomas Vander Stichele
f69b9d0142 up required gst version fix po download snippet
Original commit message from CVS:
up required gst version
fix po download snippet
2004-04-20 16:07:04 +00:00
Benjamin Otte
106b4faf08 ext/mad/gstid3tag.c: remove leftover g_print
Original commit message from CVS:
* ext/mad/gstid3tag.c: (gst_id3_tag_init):
remove leftover g_print
* gst/audioconvert/gstaudioconvert.c: (gst_audio_convert_link):
don't try setting only a subset of the caps. We don't want to kill
autoplugging on purpose
2004-04-20 15:51:48 +00:00
Thomas Vander Stichele
3bb0581214 add debugging categories
Original commit message from CVS:
add debugging categories
2004-04-20 15:45:07 +00:00
Thomas Vander Stichele
07efe6f50e adding english translation
Original commit message from CVS:
adding english translation
2004-04-20 11:21:49 +00:00
David Schleef
13d3bec095 gst/qtdemux/qtdemux.c: A number of new features and hacks to extract the esds atom and put it into the caps. (bug #1...
Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (gst_qtdemux_handle_sink_event),
(qtdemux_parse), (qtdemux_type_get), (qtdemux_dump_mvhd),
(qtdemux_dump_tkhd), (qtdemux_dump_stsd), (qtdemux_dump_unknown),
(qtdemux_parse_trak), (qtdemux_video_caps), (qtdemux_audio_caps):
A number of new features and hacks to extract the esds atom and
put it into the caps.  (bug #137724)
2004-04-20 08:27:15 +00:00
David Schleef
11d1c74e12 gconf/Makefile.am: Fix for non-GNU make
Original commit message from CVS:
* gconf/Makefile.am: Fix for non-GNU make
* gst-libs/gst/Makefile.am: Change directory order to handle
GstPlay linking with gstinterfaces
* gst-libs/gst/audio/make_filter: make use of tr portable
* gst-libs/gst/play/Makefile.am: Add intended \
* gst-libs/gst/xwindowlistener/xwindowlistener.c:
(gst_xwin_set_clips): Switch to ISO variadic macro. Use a
function prototype instead of void *.
* gst/ffmpegcolorspace/gstffmpegcodecmap.c: Switch to ISO variadic
macro.
* gst/ffmpegcolorspace/gstffmpegcolorspace.c:
(gst_ffmpegcolorspace_chain): wrap NULL in GST_ELEMENT_ERROR call
* gst/videofilter/make_filter: make use of tr portable
* pkgconfig/Makefile.am: Remove GNU extension in Makefile target
2004-04-19 22:51:57 +00:00
Thomas Vander Stichele
2cc141545c adding ukrainian translation
Original commit message from CVS:
adding ukrainian translation
2004-04-19 13:50:14 +00:00
Ronald S. Bultje
2d0b40d77c ext/gsm/gstgsmdec.c: Fix capsnego, simplify chain function slightly.
Original commit message from CVS:
* ext/gsm/gstgsmdec.c: (gst_gsmdec_init), (gst_gsmdec_getcaps),
(gst_gsmdec_link), (gst_gsmdec_chain):
Fix capsnego, simplify chain function slightly.
* gst/qtdemux/qtdemux.c: (qtdemux_audio_caps):
Add GSM.
2004-04-19 02:00:24 +00:00
Ronald S. Bultje
2cb68dcdc1 gst/wavparse/gstwavparse.c: Hack to make wavparse work with spider (always -> sometimes pad).
Original commit message from CVS:
* gst/wavparse/gstwavparse.c: (gst_wavparse_init),
(gst_wavparse_destroy_sourcepad), (gst_wavparse_create_sourcepad),
(gst_wavparse_parse_fmt), (gst_wavparse_change_state):
Hack to make wavparse work with spider (always -> sometimes pad).
Fixes #135862 && #140411.
2004-04-18 23:40:34 +00:00
Benjamin Otte
38d20a00da sys/oss/gstosselement.c: get rid of \n in debug output
Original commit message from CVS:
* sys/oss/gstosselement.c: (gst_osselement_sync_parms),
(gst_osselement_rate_probe_check),
(gst_osselement_rate_check_rate), (gst_osselement_rate_add_rate):
get rid of \n in debug output
2004-04-18 20:14:36 +00:00
Iain Holmes
ec2a1ad52a Allow all events, not just EOS
Original commit message from CVS:
Allow all events, not just EOS
2004-04-17 22:33:38 +00:00
Benjamin Otte
7ae94ad5c7 ext/mad/gstid3tag.c: deprecate id3tag element and replace with id3demux/id3mux.
Original commit message from CVS:
* ext/mad/gstid3tag.c: (gst_id3_tag_get_type),
(gst_id3_tag_class_init), (gst_id3_tag_get_caps),
(gst_id3_tag_add_src_pad), (gst_id3_tag_init),
(gst_id3_tag_set_property), (gst_id3_tag_do_caps_nego),
(gst_id3_tag_src_link), (gst_id3_tag_chain),
(gst_id3_tag_change_state), (plugin_init):
deprecate id3tag element and replace with id3demux/id3mux.
great side effect: this ugly file is now even uglier, yay!
* ext/mad/gstmad.h:
remove non-available function
update for new get_type
2004-04-17 17:52:35 +00:00
Benjamin Otte
8aac9b23b8 configure.ac: require mpeg2dec >= 0.4.0
Original commit message from CVS:
* configure.ac:
require mpeg2dec >= 0.4.0
2004-04-17 03:40:37 +00:00
Benjamin Otte
3b7b81ba05 sys/xvimage/xvimagesink.c: call GST_ELEMENT_ERROR whenever get_xcontext fails. Includes assorted cleanup fixes.
Original commit message from CVS:
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_get_xv_support),
(gst_xvimagesink_xcontext_get), (gst_xvimagesink_change_state),
(gst_xvimagesink_set_xwindow_id):
call GST_ELEMENT_ERROR whenever get_xcontext fails. Includes
assorted cleanup fixes.
2004-04-17 02:30:28 +00:00
David Schleef
79da6742f3 sys/ximage/ximagesink.h: Compile fix for FreeBSD. (bug #140268)
Original commit message from CVS:
* sys/ximage/ximagesink.h: Compile fix for FreeBSD. (bug #140268)
* sys/xvimage/xvimagesink.h: same
2004-04-16 23:42:12 +00:00
Thomas Vander Stichele
eef352f700 fix wrong use of GST_ELEMENT_ERROR
Original commit message from CVS:
fix wrong use of GST_ELEMENT_ERROR
2004-04-16 17:01:15 +00:00
Ronald S. Bultje
ebf3d7c76d gst-libs/gst/riff/riff-media.c: Add div[3456] as fourccs for DivX 3 (fixes #140137).
Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c:
(gst_riff_create_video_caps_with_data):
Add div[3456] as fourccs for DivX 3 (fixes #140137).
2004-04-16 01:43:13 +00:00
Ronald S. Bultje
26fe995a13 gst/: Add MS RLE support. I added some functions to read out strf chunks into strf chunks and the data behind it. Thi...
Original commit message from CVS:
reviewed by: <delete if not using a buddy>
* gst-libs/gst/riff/riff-media.c:
(gst_riff_create_video_caps_with_data),
(gst_riff_create_video_caps), (gst_riff_create_audio_caps),
(gst_riff_create_video_template_caps),
(gst_riff_create_audio_template_caps):
* gst-libs/gst/riff/riff-media.h:
* gst-libs/gst/riff/riff-read.c:
(gst_riff_read_strf_vids_with_data), (gst_riff_read_strf_vids):
* gst-libs/gst/riff/riff-read.h:
* gst/avi/gstavidemux.c: (gst_avi_demux_add_stream):
Add MS RLE support. I added some functions to read out strf chunks
into strf chunks and the data behind it. This is usually color
palettes (as in RLE, but also in 8-bit RGB). Also use those during
caps creation. Lastly, add ADPCM (similar to wavparse - which
should eventually be rifflib based).
* gst/matroska/matroska-demux.c: (gst_matroska_demux_class_init),
(gst_matroska_demux_init), (gst_matroska_demux_reset):
* gst/matroska/matroska-demux.h:
Remove placeholders for some prehistoric tagging system. Didn't add
support for any tag system really anyway.
* gst/qtdemux/qtdemux.c:
Add support for audio/x-m4a (MPEG-4) through spider.
* gst/wavparse/gstwavparse.c: (gst_wavparse_parse_fmt),
(gst_wavparse_loop):
ADPCM support (#135862). Increase max. buffer size because we
cannot split buffers for ADPCM (screws references) and I've seen
files with 2048 byte chunks. 4096 seems safe for now.
2004-04-16 01:20:44 +00:00
Thomas Vander Stichele
9369abcfa0 bump nano to 1
Original commit message from CVS:
bump nano to 1
2004-04-15 15:21:23 +00:00
Thomas Vander Stichele
71f378638d releasing
Original commit message from CVS:
releasing
2004-04-15 15:16:31 +00:00
Thomas Vander Stichele
3df3b4e706 nano bump for prerel add bug entry for a fixed bug translation updates
Original commit message from CVS:
nano bump for prerel
add bug entry for a fixed bug
translation updates
2004-04-15 10:00:37 +00:00
Ronald S. Bultje
25e1961c8e gst-libs/gst/riff/riff-media.c: Fix typo in divxversion (3 instead of 4 for "DIVX" fourcc).
Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_video_caps):
Fix typo in divxversion (3 instead of 4 for "DIVX" fourcc).
2004-04-15 03:21:13 +00:00
Thomas Vander Stichele
a0ba619b83 bugzilla entries
Original commit message from CVS:
bugzilla entries
2004-04-14 17:08:34 +00:00
Thomas Vander Stichele
70260c3d41 use release
Original commit message from CVS:
use release
2004-04-14 16:46:36 +00:00
Thomas Vander Stichele
fc449652ba lower rank of dvddemux
Original commit message from CVS:
lower rank of dvddemux
2004-04-14 16:16:45 +00:00
Benjamin Otte
a8fe004ad2 configure.ac: save libs correctly when checking mad
Original commit message from CVS:
* configure.ac:
save libs correctly when checking mad
2004-04-14 15:42:03 +00:00
Thomas Vander Stichele
db9d8d6ee5 #139926 - lowers rank of id3tag
Original commit message from CVS:
#139926 - lowers rank of id3tag
2004-04-14 15:33:16 +00:00
David Schleef
9414aca1c5 common/m4/gst-feature.m4: Call -config scripts with
Original commit message from CVS:
* common/m4/gst-feature.m4: Call -config scripts with
--plugin-libs if it is supported.
* gst/avi/gstavimux.c: (gst_avimux_vidsinkconnect): sequences of
JPEG images are image/jpeg.
* gst/debug/Makefile.am:
* gst/debug/negotiation.c: (gst_negotiation_class_init),
(gst_negotiation_getcaps), (gst_negotiation_pad_link),
(gst_negotiation_update_caps), (gst_negotiation_get_property),
(gst_negotiation_plugin_init): Add a property that acts like
filter caps.
* testsuite/gst-lint:  Move license checking to be a standard
test.
2004-04-13 23:25:19 +00:00
Sebastien Cote
23222fefd2 gst/avi/gstavidemux.c: Fix memleak. patch from Sebastien Cote (bug #139958)
Original commit message from CVS:
* gst/avi/gstavidemux.c: (gst_avi_demux_reset): Fix memleak.
patch from Sebastien Cote (bug #139958)
2004-04-13 21:34:29 +00:00
Thomas Vander Stichele
23bcab0c9a make player example use gconf
Original commit message from CVS:
make player example use gconf
2004-04-13 13:41:20 +00:00
Thomas Vander Stichele
cd532be410 only open/close library during state changes, not creation/disposal
Original commit message from CVS:
only open/close library during state changes, not creation/disposal
2004-04-13 12:17:21 +00:00
Christian Schaller
178b620bc7 s/lstat/stat/ since it can be a symlink, ask decadix on IRC if you have questiosn
Original commit message from CVS:
s/lstat/stat/ since it can be a symlink, ask decadix on IRC if you have questiosn
2004-04-12 19:41:34 +00:00
Ronald S. Bultje
d5153a8691 gst/avi/gstavidemux.c: Handle JUNK chunks inside data section. Prevents warnings.
Original commit message from CVS:
* gst/avi/gstavidemux.c: (gst_avi_demux_stream_data):
Handle JUNK chunks inside data section. Prevents warnings.
2004-04-11 22:09:26 +00:00
Ronald S. Bultje
0b122a2891 gst-libs/gst/riff/riff-media.c: Add MS video v1.
Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_video_caps),
(gst_riff_create_video_template_caps):
Add MS video v1.
* gst/avi/gstavidemux.c: (gst_avi_demux_stream_index),
(gst_avi_demux_stream_data):
Add support for "rec-list" chunks.
2004-04-11 21:36:45 +00:00
Ronald S. Bultje
1c47f1b8ae gst-libs/gst/riff/riff-media.c: Fix another codecname mismatch.
Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_audio_caps):
Fix another codecname mismatch.
2004-04-11 19:33:55 +00:00
Ronald S. Bultje
85d7b4de2a gst-libs/gst/riff/riff-media.c: Fix divx caps mismatch and move from video/x-jpeg to image/jpeg so that MJPEG plays b...
Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_video_caps):
Fix divx caps mismatch and move from video/x-jpeg to image/jpeg
so that MJPEG plays back.
2004-04-11 17:21:31 +00:00
Ronald S. Bultje
53118fb2ee gst/mpeg1videoparse/gstmp1videoparse.*: Fix for some slight mis-cuts in buffer parsing, and for some potential overfl...
Original commit message from CVS:
* gst/mpeg1videoparse/gstmp1videoparse.c: (gst_mp1videoparse_init),
(gst_mp1videoparse_real_chain), (gst_mp1videoparse_change_state):
* gst/mpeg1videoparse/gstmp1videoparse.h:
Fix for some slight mis-cuts in buffer parsing, and for some
potential overflows or faults-causers. Adds disconts. Also fixes
#139105 while we're at it.
2004-04-10 22:40:50 +00:00
Ronald S. Bultje
b45bef1fed Workaround for missing struct v4l2_buffer declaration in Suse 9 and Mandrake 10 linux/videodev2.h header file (#135919).
Original commit message from CVS:
* configure.ac:
* sys/v4l2/gstv4l2element.h:
Workaround for missing struct v4l2_buffer declaration in Suse 9
and Mandrake 10 linux/videodev2.h header file (#135919).
2004-04-10 13:27:16 +00:00
Ronald S. Bultje
8dd4ee7910 ext/gnomevfs/gstgnomevfssink.c: Bail out if no filename was given.
Original commit message from CVS:
* ext/gnomevfs/gstgnomevfssink.c: (gst_gnomevfssink_open_file):
Bail out if no filename was given.
2004-04-10 13:07:31 +00:00
Ronald S. Bultje
a3ddde691e sys/v4l2/gstv4l2src.c: fix Y41P (was typo'ed to
Original commit message from CVS:
* sys/v4l2/gstv4l2src.c: (gst_v4l2src_v4l2fourcc_to_caps),
(gst_v4l2_fourcc_from_structure):
Add Y41B/Y42B YUV formats (see #125732), fix Y41P (was typo'ed to
Y41B somewhere).
2004-04-10 12:20:20 +00:00
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