Commit graph

8702 commits

Author SHA1 Message Date
Carl-Anton Ingmarsson ac8dfbea82 vdpau: properly remove "chroma-type" field from transformed caps 2010-07-30 11:33:13 +02:00
Carl-Anton Ingmarsson aa193a7b43 vdpauvideopostprocess: use GstVdp[Video|Output]BufferPool to cache our buffers
This way we'll reuse the GstVdp[Video|Output]Buffers if they're of the same
size and chroma-type/rgba-format.

Also remove gst_vdp_output_src_pad_negotiate and set a "setcaps" function on
GstVdpOutputSrcPad instead, leaving negotiation to GstVdpVideoPostProcess.
2010-07-30 11:33:13 +02:00
Carl-Anton Ingmarsson 57175ece9e vdpausink: use GstVdpOutputBufferPool to alloc our buffers
This way we'll reuse our GstVdpOutputBuffers if they're of the same size and
rgba-format
2010-07-30 11:33:13 +02:00
Carl-Anton Ingmarsson c0e1fba089 vdpau: use GstVdpVideoBufferPool in GstVdpVideoSrcPad
We also don't pad_alloc our GstVdpVideoBuffers anymore since we don't support
downstream negotation anyway.
2010-07-30 11:33:13 +02:00
Carl-Anton Ingmarsson 2d9132c590 vdpau: add GstVdpOutputBufferPool
GstVdpVideoOutputPool is a subclass of GstVdpBufferPool that caches
GstVdpOutputBuffers
2010-07-30 11:33:13 +02:00
Carl-Anton Ingmarsson d82c4acd8a vdpau: add GstVdpVideoBufferPool
GstVdpVideoBufferPool is a subclass of GstVdpBuffer that caches
GstVdpVideoBuffers
2010-07-30 11:33:13 +02:00
Carl-Anton Ingmarsson 7320eedc04 vdpau: add GstVdpBufferPool base class
GstVdpBufferPool will be used to cache GstVdp[Video|Output]Buffers since
creating these can be a costly operation on some hardware.
2010-07-30 11:33:13 +02:00
Carl-Anton Ingmarsson 093fcacc20 vdpau: remove GstVdpOutputSrcPad "template-caps" property
instead we do as GstVdpVideoSrcPad and use the "templ" property of GstPad,
which enable us to change the signature of gst_vdp_output_src_pad_new to match
gst_pad_new_from_template
2010-07-30 11:32:00 +02:00
Carl-Anton Ingmarsson 5626857ac4 vdpau: remove GstVdpOutputSrcPad code to retrieve the device from downstream
we now no longer try to get the GstVdpDevice from downstream since it in
practice didn't give us anything and complicates the code alot. Nevertheless if device
distribution should be done there's probably a lot better ways to do it.
Instead we now simply aquire the device in vdpauvideopostprocess when we're
going into PAUSED.
2010-07-30 11:31:59 +02:00
Carl-Anton Ingmarsson 00ad3c8aeb vdpau: cleanup GstVdpDecoder opening of it's GstVdpDevice
we now no longer try to get the GstVdpDevice from downstream since it in
practice didn't give us anything and complicates the code alot. Nevertheless if device
distribution should be done there's probably a lot better ways to do it.
2010-07-30 11:31:59 +02:00
Carl-Anton Ingmarsson d564e1bf19 vdpau: fix GstBaseVideoDecoder returning wrong GstStateChangeReturn
when gst_base_video_decoder_[start|stop] fails we now return
GST_STATE_CHANGE_FAILURE instead of returning what the parent class returns
2010-07-30 11:31:59 +02:00
Carl-Anton Ingmarsson 86860beeae vdpaumpegdec: remove unneeded setting of buffer flags
GstBaseVideoDecoder sets GST_VIDEO_BUFFER_TFF for us and
GST_BUFFER_FLAG_DELTA_UNIT doesn't make sense for decoded frames.
2010-07-30 11:31:59 +02:00
Andoni Morales 0390f0d765 dshowvideosrc: don't make a range if min==max
Fixes bug #625138
2010-07-29 16:08:03 +02:00
Zaheer Abbas Merali c7b195740e mpegtsparse: actually work when we have small buffers coming in
available_fast is not what we want and it will never get to discover packet
size if 188 byte buffers are being picked up.
2010-07-29 10:38:58 +01:00
Tim-Philipp Müller b1240c850a .gitignore: ignore gsettings xml schema file 2010-07-28 18:42:05 +02:00
Tim-Philipp Müller 47b3792e7a docs: add more plugins and elements to the docs 2010-07-28 18:42:05 +02:00
Tim-Philipp Müller e12ca273db ivfparse: fix up macros and function names to match guidelines 2010-07-28 18:42:05 +02:00
Tim-Philipp Müller 120d4a2955 gaudieffects: fix structure names to comply with the plugin moving guidelines 2010-07-28 18:42:05 +02:00
Marc-André Lureau 691901da51 qtmux: use caps bitrate at last chance
If we didn't get the stream's bitrate from one of the atoms,
try getting it from the caps as a last resort.

https://bugzilla.gnome.org/show_bug.cgi?id=625496
2010-07-28 12:23:21 -03:00
Marc-André Lureau 2e17f7cbf7 qtmux: btrt - max bitrate before average
According to iso base media file format, the max bitrate
is before the avg

https://bugzilla.gnome.org/show_bug.cgi?id=625496
2010-07-28 12:20:52 -03:00
Sebastian Dröge 29943c87f8 basevideodecoder: Reset the segment on FLUSH_STOP and when going back to READY 2010-07-27 18:24:20 +02:00
Tim-Philipp Müller 8559d5b9e1 vdpau: dist new header file
Fix make distcheck.
2010-07-27 18:07:00 +02:00
Julien Moutte a51d318759 dshowvideosink: Improvements contributed from the Moovida projet.
* Inherit from GstVideoSink
* Implement GstNavigation interface
* Proper COM initialization for threaded environments
* Fix Window resource leak
* Add EVR support for better video scaling on Windows Vista and above
* Only apply PAR scaling when the keep_aspect_ratio property is set to stay
consistent with the other Linux sinks
* Prevent an infinite loop with the wndproc chain
* Fix debugging messages to use the object instance
2010-07-23 19:41:29 +02:00
Carl-Anton Ingmarsson 0b3c6e4b9e vdpau: add gst_vdp_decoder_render and gst_vdp_decoder_init_decoder 2010-07-23 00:29:34 +02:00
Sebastian Dröge 6089bfd36a examples: Use cairo instead of gdk_draw_* API
Fixes bug #625003.
2010-07-22 09:21:33 +02:00
Luis de Bethencourt b870ff15b5 gaudieffects: Adds new plugin 'gaudieffects'
Adds the new 'gaudieffects' plugin, originally found
here: http://github.com/luisbg/gaudi_effects

Contains the following video effect elements: burn, chromium, dilate,
dodge, exclusion and solarize.

Thanks to Jan Schmidt for the reviewing and refactoring
2010-07-20 20:07:56 -03:00
Carl-Anton Ingmarsson b4e447375b vdpauh264dec: try to calculate framerate if we don't get one from upstream 2010-07-19 21:55:31 +02:00
Thijs Vermeir d15418d6aa vdpau: fix segfault when vdpau device could not be created 2010-07-19 11:42:26 +02:00
Carl-Anton Ingmarsson 7462a64398 vdpauh264dec: fix problem when encountering GST_NAL_AU_DELIMITER 2010-07-18 21:16:23 +02:00
Sebastian Dröge 78639dd379 wasapisrc: Use new gst_audio_clock_new_full() 2010-07-16 17:59:15 +02:00
Sebastian Dröge e245709f96 alsaspdifsink: Use new gst_audio_clock_new_full() 2010-07-16 17:59:09 +02:00
Carl-Anton Ingmarsson 2d870ee7fd vdpauh264dec: calculate width and height from bitstream info 2010-07-15 13:23:52 +02:00
Carl-Anton Ingmarsson ecbf5a4e30 vdpauh264dec: fix usage of g_bit_storage 2010-07-15 11:10:03 +02:00
Carl-Anton Ingmarsson b3ad9d7d04 vdpaumpegdec: rename zigzag matrix 2010-07-14 11:19:49 +02:00
Carl-Anton Ingmarsson c27468f1a1 vdpauh264dec: use g_bit_storage instead of log2
log2 caused compile issues on certain platforms
2010-07-14 11:19:49 +02:00
Thiago Santos 8d5755a5e2 gsettings: Fix maintainer-clean when it is not available
Do not use @GSETTINGS_RULES@ if gsettings is not available
to avoid maintainer-clean failing.
2010-07-13 00:41:35 -03:00
Sebastian Dröge 7d4fcdc5cf frei0r: Use correct order of directories to search for plugins
And don't fail if a plugin was already registered. Frei0r allows
plugins in directories with higher importance to override plugins
from directories with lower importance.
2010-07-11 10:47:37 +02:00
Sebastian Dröge 2dba63a19c vp8enc: Add support for enabling automatic insertion of alt-ref frames by the encoder 2010-07-10 16:52:10 +02:00
Sebastian Dröge 98048829b0 vp8enc: Fix handling of invisible/alt ref frames 2010-07-10 16:51:53 +02:00
Sebastian Dröge ccbb765743 basevideodecoder: Fix memory leak
The timestamps are only used if the output adapter is used, not
if complete frames are provided by the decoder and finish_frame() is
called and even in the case where the output adapter is used they
might not be used and are leaked.
2010-07-10 15:50:50 +02:00
Sebastian Dröge 68ab7e509c vp8dec: Add simple unit test for vp8dec 2010-07-10 15:46:51 +02:00
Sebastian Dröge a8d22a70cd vp8enc: Improve unit test a bit 2010-07-10 15:46:43 +02:00
Sebastian Dröge bd4ed511c5 vp8enc: Also check the output caps in the unit test 2010-07-10 15:32:29 +02:00
Sebastian Dröge 86e5f0e656 vp8enc: Add simple unit test 2010-07-10 15:30:24 +02:00
David Hoyt 3172e11121 aifmmux: use alternative way to check for inf
MSVC emits a divide-by-zero error when compiling aiffmux.c on line 205.
Fixes #623881.
2010-07-09 17:44:56 +03:00
David Hoyt e467a3e14b winks: fix compilation by using the right function
Fixes #623883.
2010-07-08 21:54:28 +01:00
Víctor Manuel Jáquez Leal 1d57953496 jpegparse: fix exif frame size
Skip the correct number of bytes when reading exif
data

Fixes #623854
2010-07-08 14:27:45 -03:00
Sebastian Dröge c15b64a515 wildmidi: Correctly initialize properties with the default values again 2010-07-08 15:07:25 +02:00
Sebastian Dröge 82c408a6d5 wildmidi: Use PROP_ instead of ARG_ for property enums and use G_PARAM_STATIC_STRINGS
Also don't use G_PARAM_CONSTRUCT, it does not make sense for elements.
2010-07-08 07:58:48 +02:00
Thiago Santos 44e3d29ec4 camerabin: Fix viewfiner-sink property for bins
Correctly iterate viewfinder-sink children when
it is a bin.

Fixes #623802
2010-07-07 23:21:52 -03:00