Commit graph

1011 commits

Author SHA1 Message Date
Iain Holmes
f9d5a4e8c2 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
a52dbb95f0 back to dev
Original commit message from CVS:
back to dev
2004-08-02 14:05:48 +00:00
Thomas Vander Stichele
b038e214c0 gearing up for release
Original commit message from CVS:
gearing up for release
2004-08-02 11:39:17 +00:00
Thomas Vander Stichele
68522ede8a sync xvimagesink with ximagesink
Original commit message from CVS:
sync xvimagesink with ximagesink
2004-08-02 10:04:08 +00:00
Thomas Vander Stichele
c18babeef1 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
9fc1ef7493 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
82d6902dda 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
a80fbb3727 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
28ba1c9473 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
cc2284b11d bump nano for prerel
Original commit message from CVS:
bump nano for prerel
2004-07-30 17:27:46 +00:00
Wim Taymans
9ca8127c1d 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
2e6ec17731 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
ae62bfe709 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
d42074818f 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
d989ba68a7 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:08 +00:00
Wim Taymans
b5c3d61074 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
d7126a7f3a 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
d480e8b582 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
a9e1407d51 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
5ba6a086db 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
4b76dd401e 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
408c05abc1 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
295f912130 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
f160963387 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:59 +00:00
Thomas Vander Stichele
00fb53e725 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
72072dd05a 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:09 +00:00
Steve Lhomme
9db3e5158a fix local includes and 64 bits constants
Original commit message from CVS:
fix local includes and 64 bits constants
2004-07-27 21:51:28 +00:00
Steve Lhomme
262a7336e0 more working plugins
Original commit message from CVS:
more working plugins
2004-07-27 21:41:30 +00:00
Zaheer Abbas Merali
0d14dabcc5 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
61977bbe36 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
1ac3636d12 pixel aspect ratio handling
Original commit message from CVS:
pixel aspect ratio handling
2004-07-27 16:43:19 +00:00
Thomas Vander Stichele
d99d274d5a handle stride correctly
Original commit message from CVS:
handle stride correctly
2004-07-27 15:59:09 +00:00
Thomas Vander Stichele
0b95956e9a 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
47bf1e6034 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
fe48ca526f 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:58 +00:00
Julien Moutte
3d54c486fb 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
2d5dd4b210 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
c8bfff8964 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:29 +00:00
Steve Lhomme
c863b3af82 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:47 +00:00
Julien Moutte
022231c504 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
4c3a686d98 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
757526b658 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
4cb1f86807 add debugging/cleanups
Original commit message from CVS:
add debugging/cleanups
2004-07-26 18:34:01 +00:00
Thomas Vander Stichele
fcb3e14030 fix videoscale stride bugs
Original commit message from CVS:
fix videoscale stride bugs
2004-07-26 16:49:18 +00:00
Benjamin Otte
3a0f0ccc68 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
48858d6543 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
7f5110c404 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
d520bd417a more plugins supported under windows
Original commit message from CVS:
more plugins supported under windows
2004-07-26 13:20:07 +00:00
Thomas Vander Stichele
8ad2a01a0e 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
867a2977a8 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
18a33253d7 more plugins supported under windows
Original commit message from CVS:
more plugins supported under windows
2004-07-26 10:03:16 +00:00
Iain Holmes
ad6f7e3d5d 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
6dbd7c1dce 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
2d6296735a remove unused .def files
Original commit message from CVS:
remove unused .def files
2004-07-25 11:18:02 +00:00
Steve Lhomme
13053eb24c Clean the local include
Original commit message from CVS:
Clean the local include
2004-07-25 10:28:05 +00:00
Steve Lhomme
481b9eaefc 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
a68f173374 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
8e2753acf2 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
ea893d3be4 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
f33741232c 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
8a5c7ffeb6 fix videoscale for stride
Original commit message from CVS:
fix videoscale for stride
2004-07-22 18:07:14 +00:00
Zaheer Abbas Merali
eeb2fab42e 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
fe7cb2af5e 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
424ce6bf01 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
60c2c80c95 comment algorithm
Original commit message from CVS:
comment algorithm
2004-07-22 16:43:15 +00:00
Thomas Vander Stichele
436aad5d0b cleanup and commenting
Original commit message from CVS:
cleanup and commenting
2004-07-22 15:55:33 +00:00
Wim Taymans
88c9eca15a 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
8a30f49e62 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
9c0a9dfd27 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
4ffe0873ab 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:39 +00:00
Ronald S. Bultje
b91cce0067 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:35 +00:00
David Schleef
6346acbfe9 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
e27e0ecb79 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
3123bdc840 adding hungarian translation
Original commit message from CVS:
adding hungarian translation
2004-07-20 10:53:07 +00:00
Wim Taymans
77a984e7b5 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
d742b22cc2 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
500e4f6295 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
4c124d5e48 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
3019b1a3fa 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
c5c2ff6366 make log less verbose
Original commit message from CVS:
make log less verbose
2004-07-18 16:58:08 +00:00
Thomas Vander Stichele
d7fa7e4ee6 add debug categories to matroska
Original commit message from CVS:
add debug categories to matroska
2004-07-18 15:58:03 +00:00
Wim Taymans
38bffa7705 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
8fc8c2547f 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
4f4b53ba07 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
6134cb06a4 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:54 +00:00
Wim Taymans
d5e3db4441 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
43ba8981e7 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:04 +00:00
Tim Ringenbach
856082ef6e 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
a321b0b752 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
c846f85243 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
f74315d6a4 add debug categories
Original commit message from CVS:
add debug categories
2004-07-14 13:42:23 +00:00
Johan Dahlin
e7ff2f968f 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
d2bd9fd800 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
5e9a2a9013 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
b07b450806 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
55715de3d5 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
8f82e98097 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
bf1c75da60 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
c85cc84f32 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
ebfe64cf9d 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