Commit graph

3315 commits

Author SHA1 Message Date
Ronald S. Bultje
634943e381 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
41c277d1b7 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
e57a509a0c 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
c40482cc34 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
83c64012fb 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
dca86a50a8 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:11 +00:00
Tim-Philipp Müller
76f3f25ecf 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:02 +00:00
Tim-Philipp Müller
a649c14c8c 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:18 +00:00
Andy Wingo
d5973ae642 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
479326199a 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
Christian Schaller
47480267a2 update spec file and fix some disting omissions
Original commit message from CVS:
update spec file and fix some disting omissions
2005-08-08 16:30:17 +00:00
Ronald S. Bultje
a605edf5c3 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
70472f8db3 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
a96f538f00 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
1a2ab156b8 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
b442f74dd2 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
708725e321 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
Stefan Kost
952fba80a3 delete obsolete example
Original commit message from CVS:
delete obsolete example
2005-08-02 12:15:25 +00:00
Stefan Kost
adc0d6f433 removed obsolete include
Original commit message from CVS:
removed obsolete include
2005-08-02 11:53:31 +00:00
Edward Hervey
63d0089f78 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
4227b442c6 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
0e6ea270ef 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:15 +00:00
Wim Taymans
3953f4a03e 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:24 +00:00
Christian Schaller
e63e17c381 update spec and add missing header file
Original commit message from CVS:
update spec and add missing header file
2005-07-25 15:23:42 +00:00
Thomas Vander Stichele
9b8654dd8b 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
61e8223f35 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
544ef435b3 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
426220d297 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
0e68f3906d 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
97dd4620d0 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
b699df6dfd 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:09 +00:00
Ronald S. Bultje
0bc3143021 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
Edgard Lima
a853a4b182 Ported to 0.9 (faad, amrnb, mpeg2dec)
Original commit message from CVS:
Ported to 0.9 (faad, amrnb, mpeg2dec)
2005-07-19 20:51:15 +00:00
Wim Taymans
a29a07acfb 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
998eca2d96 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:17 +00:00
Andy Wingo
8fb69f43a2 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:07 +00:00
Andy Wingo
3747545784 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
5b71eb804f 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:10 +00:00
Andy Wingo
1fffa5aa3f 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
e87fe253d8 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
Andy Wingo
4f7d856857 configure.ac (DEFAULT_AUDIOSINK, DEFAULT_AUDIOSRC): Use alsa by default. Also because it's the only thing that really...
Original commit message from CVS:
2005-07-18  Andy Wingo  <wingo@pobox.com>

* configure.ac (DEFAULT_AUDIOSINK, DEFAULT_AUDIOSRC): Use alsa by
default. Also because it's the only thing that really works. (This
is used in the GConf elements).
Use AS_LIBTOOL_TAGS. Fix crap commit re: gettext.
2005-07-18 15:44:48 +00:00
Wim Taymans
8642b5cc4a 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
581a3818a0 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
94a0f38567 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
8bb4659406 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
ff95b62fea 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
75a4352e91 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
0554531466 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
d2a2a132d9 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
5a99d3278d 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