Commit graph

153 commits

Author SHA1 Message Date
Julien Moutte
7b89c1a8bf ext/ffmpeg/gstffmpegcolorspace.c: Implementing gst_pad_alloc_buffer to use optimized buffer allocation.
Original commit message from CVS:
* ext/ffmpeg/gstffmpegcolorspace.c: (gst_ffmpegcsp_chain):
Implementing gst_pad_alloc_buffer to use optimized buffer allocation.
* gst-libs/gst/xoverlay/xoverlay.c:
(gst_x_overlay_got_desired_size): Updating doc for the xid being 0.
* gst/videoscale/gstvideoscale.c: (gst_videoscale_chain):
Implementing gst_pad_alloc_buffer to use optimized buffer allocation.
* gst/videotestsrc/gstvideotestsrc.c: (gst_videotestsrc_get):
Implementing gst_pad_alloc_buffer to use optimized buffer allocation.
* sys/ximage/ximagesink.c: (gst_ximagesink_chain),
(gst_ximagesink_buffer_free), (gst_ximagesink_buffer_alloc),
(gst_ximagesink_set_xwindow_id), (gst_ximagesink_init): Implementing
the bufferalloc_function to replace bufferpools, fixing the XOverlay
interface implementation to handle xid being 0 and fix some bugs
triggered by Benjamin's testcase.
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_chain),
(gst_xvimagesink_buffer_free), (gst_xvimagesink_buffer_alloc),
(gst_xvimagesink_set_xwindow_id), (gst_xvimagesink_init): Implementing
the bufferalloc_function to replace bufferpools, fixing the XOverlay
interface implementation to handle xid being 0 and fix some bugs
triggered by Benjamin's testcase.
2004-01-09 18:05:57 +00:00
David Schleef
899b633288 ext/ffmpeg/gstffmpegenc.c: Fix pad_link function to handle formats that ffmpeg returns as multiple caps structures.
Original commit message from CVS:
* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_connect):
Fix pad_link function to handle formats that ffmpeg returns
as multiple caps structures.
* gst/videofilter/gstvideofilter.c: (gst_videofilter_chain):
Only complain if source buffer is _smaller_ than expected.
* gst/videoscale/gstvideoscale.c: (gst_videoscale_init),
(gst_videoscale_handle_src_event): Resize navigation events
when passing them upstream.
* gst/videotestsrc/gstvideotestsrc.c:
* gst/videotestsrc/gstvideotestsrc.h:
* gst/videotestsrc/videotestsrc.c:
* gst/videotestsrc/videotestsrc.h:
Rewrite many of the buffer painting functions to handle odd
sizes (for many formats, size%4!=0 or size%8!=0).  Most have
been verified to work with my video card.
* testsuite/gst-lint:  Add check for elements calling
gst_pad_get_caps() instead of gst_pad_get_allowed_caps().
2004-01-09 01:53:31 +00:00
Jan Schmidt
b22d0599b3 ext/dv/gstdvdec.c: Fix caps negotiation.
Original commit message from CVS:
* ext/dv/gstdvdec.c: (gst_dvdec_loop):
Fix caps negotiation.

* ext/dvdnav/dvdnavsrc.c: (dvdnavsrc_class_init),
(dvdnavsrc_update_buttoninfo), (dvdnavsrc_get),
(dvdnavsrc_get_event_mask), (dvdnav_handle_navigation_event),
(dvdnavsrc_event):
* ext/mpeg2dec/gstmpeg2dec.c:
* gst-libs/gst/navigation/navigation.c:
(gst_navigation_send_key_event), (gst_navigation_send_mouse_event):
* gst-libs/gst/navigation/navigation.h:
* gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_handle_src_event):
* sys/ximage/ximagesink.c: (gst_ximagesink_handle_xevents):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_handle_xevents):
Super-simple first version of mouse and keyboard events. Clicking
on a DVD menu now works, although it may not take you where you
expected.

* gst/sine/gstsinesrc.c: (gst_sinesrc_src_fixate):
* gst/videotestsrc/gstvideotestsrc.c:
(gst_videotestsrc_src_fixate):
These fixate functions were broken - they never actually
fixated :)
2004-01-06 16:42:10 +00:00
David Schleef
5cbe819fe2 Fix the fixate functions to handle new prototype:
Original commit message from CVS:
Fix the fixate functions to handle new prototype:
* gst/sine/gstsinesrc.c: (gst_sinesrc_src_fixate):
* gst/videotestsrc/gstvideotestsrc.c:
(gst_videotestsrc_src_fixate):
* sys/oss/gstosssink.c: (gst_osssink_sink_fixate):
* sys/ximage/ximagesink.c: (gst_ximagesink_fixate):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_fixate):
2004-01-04 23:46:39 +00:00
David Schleef
3b60021408 Merge CAPS branch
Original commit message from CVS:
Merge CAPS branch
2003-12-22 01:47:09 +00:00
Ronald S. Bultje
31b52089cc configure.ac: Improve mpeg2enc detection. This is for distributions that do ship mjpegtools, but without mpeg2enc. Al...
Original commit message from CVS:
2003-12-21  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* configure.ac:
Improve mpeg2enc detection. This is for distributions that do
ship mjpegtools, but without mpeg2enc. Also does object check
for might there ever be ABI incompatibility.
* ext/mpeg2enc/gstmpeg2enc.cc:
Add Andrew as second maintainer (he's helping me), and also add
an error if no caps was set. This happens if I pull before capsnego
and that's something I should solve sometime else.
* gst/matroska/matroska-demux.c:
(gst_matroska_demux_parse_blockgroup):
Fix time parsing.
* gst/matroska/matroska-mux.c: (gst_matroska_mux_audio_pad_link),
(gst_matroska_mux_track_header):
Add caps to templates.
* gst/mpegaudioparse/gstmpegaudioparse.c: (mp3_sink_factory):
Add mpegversion=1 to prevent confusion with MPEG/AAC.
* gst/mpegstream/gstmpegdemux.c:
Remove layer since it causes warnings about unfixed caps.
* gst/videotestsrc/gstvideotestsrc.c: (gst_videotestsrc_get):
Fix obvious typo (we error out if caps were set, we should of
course error out if *no* caps were set).
* sys/oss/gstosselement.c: (gst_osselement_convert):
Fix format conversion, we confused bits/bytes.
* sys/oss/gstosselement.h:
Improve documentation for 'bps'.
* sys/v4l/TODO:
Remove stuff about plugins that need removing - this was done
ages ago.
* sys/v4l/gstv4lmjpegsrc.c: (gst_v4lmjpegsrc_init),
(gst_v4lmjpegsrc_src_convert), (gst_v4lmjpegsrc_src_query):
* sys/v4l/gstv4lsrc.c: (gst_v4lsrc_init), (gst_v4lsrc_src_convert),
(gst_v4lsrc_src_query):
* sys/v4l2/gstv4l2src.c: (gst_v4l2src_init),
(gst_v4l2src_src_convert), (gst_v4l2src_src_query):
Add get_query_types(), get_formats() and query() functions.
2003-12-21 18:44:34 +00:00
Ronald S. Bultje
99e7283568 Implement query function and use GST_BUFFER_DURATION
Original commit message from CVS:
Implement query function and use GST_BUFFER_DURATION
2003-12-14 21:25:32 +00:00
Andy Wingo
80fece4f4b remove copyright field from plugins
Original commit message from CVS:
remove copyright field from plugins
2003-12-04 10:37:39 +00:00
Ronald S. Bultje
3f9d4cbd08 Remove all config.h includes from header files, add it to each source file and remove duplicate config.h includes fro...
Original commit message from CVS:
Remove all config.h includes from header files, add it to each source file and remove duplicate config.h includes from several source files
2003-11-07 12:47:02 +00:00
Benjamin Otte
c53062c038 gst_caps_get requires a NULL at the end
Original commit message from CVS:
gst_caps_get requires a NULL at the end
2003-11-04 18:10:36 +00:00
Benjamin Otte
281738cef9 fix for new plugin system
Original commit message from CVS:
fix for new plugin system
2003-11-02 20:48:33 +00:00
David Schleef
617bb56603 Fix height/width swap in function prototype. Fixes #125827
Original commit message from CVS:
Fix height/width swap in function prototype.  Fixes #125827
2003-10-30 19:24:49 +00:00
Ronald S. Bultje
ec8a0d492f gcc-2.95 fixage
Original commit message from CVS:
gcc-2.95 fixage
2003-10-14 10:08:28 +00:00
Andy Wingo
dc35dbb595 /GstBuffer/GstData/ in the API where you can pass events. Fix the plugins to deal with that. Fixes #113488.
Original commit message from CVS:
/GstBuffer/GstData/ in the API where you can pass events. Fix the plugins to deal with that. Fixes #113488.
2003-10-08 16:08:22 +00:00
David Schleef
98c89f610e Add unlink function to properly handle unreffing bufferpools.
Original commit message from CVS:
Add unlink function to properly handle unreffing bufferpools.
2003-09-11 19:25:40 +00:00
David Schleef
0228717f04 Remove redundant plugindir definition
Original commit message from CVS:
Remove redundant plugindir definition
2003-08-10 00:01:58 +00:00
David Schleef
fb01948689 Fix handling of RGB caps
Original commit message from CVS:
Fix handling of RGB caps
2003-07-27 05:31:01 +00:00
David Schleef
bca87c1449 Caps fixes. Change meaning of parameters to "default" size and rate. Minor fixes with timestamps. Added 'YUV9', 'Y...
Original commit message from CVS:
Caps fixes.  Change meaning of parameters to "default" size and
rate.  Minor fixes with timestamps.  Added 'YUV9', 'YVU9', and 'IYU2'
formats.
2003-07-14 08:36:03 +00:00
David Schleef
9567e9fdc5 Fixes from caps changes
Original commit message from CVS:
Fixes from caps changes
2003-07-08 07:40:09 +00:00
Ronald S. Bultje
b005531324 New mimetypes gone into effect today - this commit changes all old mimetypes over to the new mimetypes spec as descri...
Original commit message from CVS:
New mimetypes gone into effect today - this commit changes all old mimetypes over to the new mimetypes spec as described in the previous commit's document. Note: some plugins will break, some pipelines will break, expect HEAD to be broken or at least not 100% working for a few days, but don't forget to report bugs
2003-07-06 20:49:52 +00:00
Benjamin Otte
ffa5706370 compatibility fix for new GST_DEBUG stuff.
Original commit message from CVS:
compatibility fix for new GST_DEBUG stuff.
Includes fixes for missing includes for config.h and unistd.h

I only ensured for plugins I can build that they work, so if some of them are still broken, you gotta fix them yourselves unfortunately.
2003-06-29 19:46:12 +00:00
Thomas Vander Stichele
5a33944070 fix object reset
Original commit message from CVS:
fix object reset
2003-06-11 22:39:37 +00:00
Ronald S. Bultje
c64c58bd11 Backport of #109069
Original commit message from CVS:
Backport of #109069
2003-06-10 16:22:41 +00:00
Wim Taymans
6f687403fe - return result of parent state change too
Original commit message from CVS:
- return result of parent state change too
2003-05-24 10:18:38 +00:00
Brian Cameron
361c9eff09 Updated autogen.sh/configure.ac and various Makefiles to make the configure script set up all gcc specific compiler a...
Original commit message from CVS:
Updated autogen.sh/configure.ac and various Makefiles to make the
configure script set up all gcc specific compiler arguments, rather
than hardcoding them in the Makefile.am files
2003-05-21 15:16:51 +00:00
David Schleef
e8d4772d3f Add sync parameter
Original commit message from CVS:
Add sync parameter
2003-05-18 23:20:24 +00:00
David Schleef
90e3d8cd2e Fix issues with invalid fourcc parameters.
Original commit message from CVS:
Fix issues with invalid fourcc parameters.
2003-05-14 18:43:36 +00:00
David Schleef
5dd299ff83 code cleanup. Changed g_print to GST_DEBUG(). Fixed RGB caps to work with 0.6.
Original commit message from CVS:
code cleanup.  Changed g_print to GST_DEBUG().  Fixed RGB caps to
work with 0.6.
2003-05-13 07:14:36 +00:00
Thomas Vander Stichele
8991e57614 fixes #112711
Original commit message from CVS:
fixes #112711
2003-05-10 17:37:27 +00:00
David Schleef
75dd6425ed restore wtay's clocking changes in 1.17->1.18
Original commit message from CVS:
restore wtay's clocking changes in 1.17->1.18
2003-05-01 06:24:34 +00:00
David Schleef
fcb4b55a0c Add parameter to set the type of test pattern. Fix black test pattern.
Original commit message from CVS:
Add parameter to set the type of test pattern.  Fix black test pattern.
2003-04-23 07:38:32 +00:00
David Schleef
35c9b84644 Added a test pattern for black. Made it the default (temporarily)
Original commit message from CVS:
Added a test pattern for black.  Made it the default (temporarily)
2003-04-22 22:21:08 +00:00
David Schleef
7d7d7df539 Fix height/width caps negotiation
Original commit message from CVS:
Fix height/width caps negotiation
2003-04-17 07:34:18 +00:00
David Schleef
4a2b1b2947 Significant improvements to videotestsrc. More modular, handles RGB formats.
Original commit message from CVS:
Significant improvements to videotestsrc.  More modular, handles RGB
formats.
2003-04-16 07:52:54 +00:00
Wim Taymans
244658dc96 Do rate control, skip frames when too old.
Original commit message from CVS:
Do rate control, skip frames when too old.
2003-02-11 21:31:28 +00:00
Wim Taymans
5e9794a11a ref the caps when returning it as the result of a getcaps function as we're reusing it.
Original commit message from CVS:
ref the caps when returning it as the result of a getcaps function as we're
reusing it.
2003-02-11 20:53:01 +00:00
Thomas Vander Stichele
e976ccb298 PadConnect -> PadLink
Original commit message from CVS:
PadConnect -> PadLink
2003-01-10 13:38:32 +00:00
Thomas Vander Stichele
9032557b33 another batch of connect->link fixes please let me know about issues and please refrain of making them yourself, so t...
Original commit message from CVS:
another batch of connect->link fixes
please let me know about issues
and please refrain of making them yourself, so that I don't spend double
the time resolving conflicts
2003-01-10 10:22:25 +00:00
Thomas Vander Stichele
3b540378fb parallel install fixes
Original commit message from CVS:
parallel install fixes
2002-12-08 14:50:09 +00:00
David Schleef
60ad16aadf Fix divide by zero bug when rate==0
Original commit message from CVS:
Fix divide by zero bug when rate==0
2002-11-09 01:21:00 +00:00
David I. Lehn
367bda475d use G_{BEGIN,END}_DECLS
Original commit message from CVS:
use G_{BEGIN,END}_DECLS
2002-10-30 09:17:12 +00:00
David I. Lehn
0f52282149 fix videotestsrc ! fakesink: use macro to null terminate props reformat a few lines
Original commit message from CVS:
fix videotestsrc ! fakesink: use macro to null terminate props
reformat a few lines
2002-10-30 09:16:03 +00:00
David Schleef
506fbb6766 add rate parameter
Original commit message from CVS:
add rate parameter
2002-10-23 06:03:03 +00:00
David Schleef
dbe3e46c71 add black, superblack, darkgrey areas
Original commit message from CVS:
add black, superblack, darkgrey areas
2002-10-23 04:35:55 +00:00
Andy Wingo
6e2a4b063c comment out unused function
Original commit message from CVS:
comment out unused function
2002-10-15 20:44:15 +00:00
David Schleef
3c967ffc03 Lots of new goodness. Will negotiate caps and output images in about 20 different formats. Some code cleanup. Fixe...
Original commit message from CVS:
Lots of new goodness.  Will negotiate caps and output images in
about 20 different formats.  Some code cleanup.  Fixed YUV color
values for -I and Q.
2002-10-04 06:49:51 +00:00
Christian Schaller
e127f803f0 plugins part of license field patch
Original commit message from CVS:
plugins part of license field patch
2002-09-18 19:02:52 +00:00
David Schleef
2af7be18a3 Use bufferpool, if available
Original commit message from CVS:
Use bufferpool, if available
2002-07-30 07:38:01 +00:00
David Schleef
eea061c98b Will now negotiate I420, YV12, and RGB
Original commit message from CVS:
Will now negotiate I420, YV12, and RGB
2002-07-30 07:17:37 +00:00
David Schleef
463055e531 Add timestamping
Original commit message from CVS:
Add timestamping
2002-07-30 01:25:26 +00:00
Steve Baker
c9b9e1dd22 #include <string.h>
Original commit message from CVS:
#include <string.h>
2002-07-28 13:40:53 +00:00
David Schleef
768253dc38 Added reasonable values for primaries in YUV space. Added second reverse blue pattern. Added a crummy but very fast...
Original commit message from CVS:
Added reasonable values for primaries in YUV space.  Added second
reverse blue pattern.  Added a crummy but very fast RNG to replace
calls to random().
2002-07-28 04:23:07 +00:00
David Schleef
e5f5cc155c New plugin for generating a test video stream
Original commit message from CVS:
New plugin for generating a test video stream
2002-07-26 22:18:57 +00:00