Lasse Laukkanen [Tue, 23 Jun 2009 10:01:52 +0000 (13:01 +0300)]
camerabin: buffer-alloc support fixes to image and video bin handling
Keep image bin in PAUSED state in image mode except when processing/saving (PLAYING/READY).
Change output-selector to view finder before setting video bin to READY.
Fix filename sent with img-done signal.
Lasse Laukkanen [Tue, 23 Jun 2009 10:01:13 +0000 (13:01 +0300)]
camerabin: fix setting mute when video bin elements haven't been created
Lasse Laukkanen [Tue, 16 Jun 2009 15:12:29 +0000 (18:12 +0300)]
camerabin: set image bin to PAUSED when starting capture
Set image bin to PAUSED also when starting capture using photography
interface.
Lasse Laukkanen [Tue, 21 Apr 2009 07:55:36 +0000 (10:55 +0300)]
camerabin: leave v4l2camsrc "capture-mode" as video mode when pausing
Jan Schmidt [Wed, 24 Jun 2009 14:14:33 +0000 (15:14 +0100)]
Automatic update of common submodule
From
f3bb51b to
f810030
Jan Schmidt [Mon, 22 Jun 2009 02:55:27 +0000 (03:55 +0100)]
VDPAU: Move I420/YV12 to the front of the caps. Add debug.
Make I420/YV12 caps be preferred when downloading to YUV buffers,
when possible, by listing them first in the set of output caps.
Add some debug in the caps selection code.
Mark Nauwelaerts [Tue, 23 Jun 2009 16:01:18 +0000 (18:01 +0200)]
xvidenc: also allow video/mpeg on output caps. Fixes #377784.
Sebastian Dröge [Tue, 23 Jun 2009 16:23:13 +0000 (18:23 +0200)]
shapewipe: Correctly handle 0/1 fps
Stefan Kost [Mon, 22 Jun 2009 20:50:49 +0000 (23:50 +0300)]
signalprocessor: use $(top_builddir) instead of relative paths
Stefan Kost [Mon, 22 Jun 2009 20:49:03 +0000 (23:49 +0300)]
camerabin: add local include dir to CFLAGS
Dave Robillard [Wed, 29 Apr 2009 03:24:45 +0000 (23:24 -0400)]
Working LV2 plugin discovery.
- Separate gstsignalprocessor into a separate library (not sure if this
is in the right place, but it works for now anyway)
- Create LV2 element based on LADSPA element, port most discovery
functionality
Dave Robillard [Sun, 29 Mar 2009 17:31:21 +0000 (13:31 -0400)]
Fix inconsistent style (trivial test commit).
Dave Robillard [Sun, 29 Mar 2009 17:23:02 +0000 (13:23 -0400)]
Add configure check for SLV2.
Stefan Kost [Mon, 22 Jun 2009 19:01:22 +0000 (22:01 +0300)]
camerabin: debug log only change
Stefan Kost [Mon, 22 Jun 2009 15:35:21 +0000 (18:35 +0300)]
metadata: map more tags and fix reading of xmp tags
Register xmp schemas for photoshop and iptc. Map a few location tags there.
Add more dc tags. Fix reading xmp tag by iteration over known schemas. Add
some more debug logging.
Stefan Kost [Tue, 16 Jun 2009 14:12:27 +0000 (17:12 +0300)]
camerabin: more cleanup in tests
Add more debug logging. Remove unused mutex and cond.
Stefan Kost [Fri, 12 Jun 2009 11:26:24 +0000 (14:26 +0300)]
camerabin: code cruft removal and debug logs
Remove unused code. Add lots of debug loging. Change comments for local
functions to not use /** gtk-doc start style.
Stefan Kost [Fri, 12 Jun 2009 07:40:48 +0000 (10:40 +0300)]
camerabin: add camerabin examples
gst-camera is a gtk-test app to play with the imagecapture and videorecording.
gst-camera-perf is a tool to run various scenarios and take time meassurements
(e.g. shot-to-shot). Also sort the output files in configure.ac a bit to be
in alphabetical order.
Stefan Kost [Wed, 10 Jun 2009 08:15:01 +0000 (11:15 +0300)]
metadata: fix conversion of geo coordinates
Coordinate conversion has been verified with exiv2 and some webpages.
Minutes wher totally off and seconds were not used at all.
Wim Taymans [Mon, 22 Jun 2009 09:19:07 +0000 (11:19 +0200)]
h264parse: detect and fix for bad NALU sizes
when in AVC mode a nalu size seems invalid, assume the NALU has the size of the
available data instead of looping forever.
Fixes #586354
Jan Schmidt [Fri, 19 Jun 2009 20:20:26 +0000 (21:20 +0100)]
VDPAU: Add some debug statements
Jan Schmidt [Thu, 18 Jun 2009 16:06:23 +0000 (17:06 +0100)]
VDPAU: Fix build flags to pull in gst-plugins-base libs
Jan Schmidt [Mon, 15 Jun 2009 17:33:06 +0000 (18:33 +0100)]
VDPAU: Refactor the error path to a common output, and fix a leak.
Don't leak the input buffer on errors. Add some debug statements.
Jan Schmidt [Mon, 15 Jun 2009 17:29:56 +0000 (18:29 +0100)]
VDPAU: Fix up caps in vdpaumpegdec. Remove extra semicolon
Fix a typo in the caps for the VDPAU mpeg decoder (chroma_type->chroma-type)
and use the GST_VDP_VIDEO_CAPS for the pad template.
Remove a stray semicolon.
Jan Schmidt [Fri, 12 Jun 2009 15:39:39 +0000 (16:39 +0100)]
VDPAU: Enhance the configure tests
Check for the VDPAU headers in /usr/include/nvidia as they are on some
platforms (Fedora/rpmfusion). Also check that the libvdpau library is
available.
Carl-Anton Ingmarsson [Tue, 9 Jun 2009 21:14:26 +0000 (23:14 +0200)]
vdpaumpegdec: use fixed src caps
Carl-Anton Ingmarsson [Mon, 8 Jun 2009 12:35:29 +0000 (14:35 +0200)]
vdpaumpegdec: drop all frames before a GOP when we seek
Carl-Anton Ingmarsson [Mon, 8 Jun 2009 12:15:03 +0000 (14:15 +0200)]
vdpaumpegdec: small cleanup
Carl-Anton Ingmarsson [Sun, 7 Jun 2009 21:46:38 +0000 (23:46 +0200)]
vdpau: s/IS_VDPAU/IS_VDP
Carl-Anton Ingmarsson [Sat, 6 Jun 2009 23:25:01 +0000 (01:25 +0200)]
vdpaumpegdec: send newsegment event if only the rate has been updated
Carl-Anton Ingmarsson [Sat, 6 Jun 2009 23:12:50 +0000 (01:12 +0200)]
vdpaumpegdec: use mutex to protect mpeg_dec->seeking from concurrent access
Carl-Anton Ingmarsson [Sat, 6 Jun 2009 22:55:55 +0000 (00:55 +0200)]
vdpaumpegdec: use gst_pad_get_parent for threadsafety
Carl-Anton Ingmarsson [Sat, 6 Jun 2009 19:27:52 +0000 (21:27 +0200)]
vdpaumpegdec: further work on seeking
Carl-Anton Ingmarsson [Fri, 5 Jun 2009 21:11:18 +0000 (23:11 +0200)]
vdpaumpegdec: small cleanups
Carl-Anton Ingmarsson [Fri, 5 Jun 2009 20:28:02 +0000 (22:28 +0200)]
vdpaumpegdec: set GST_BUFFER_FLAG_DELTA_UNIT on non I_FRAME's
Carl-Anton Ingmarsson [Fri, 5 Jun 2009 19:48:28 +0000 (21:48 +0200)]
vdpaumpegdec: rename gstvdpmpegdecoder.[ch] to gstvdpmpegdec.[ch]
Carl-Anton Ingmarsson [Fri, 5 Jun 2009 19:46:08 +0000 (21:46 +0200)]
vdpaumpegdec: rename GstVdpMpegDecoder to GstVdpMpegDec
Carl-Anton Ingmarsson [Fri, 5 Jun 2009 19:42:30 +0000 (21:42 +0200)]
vdpaumpegdec: pass buffer size directly to gst_vdp_mpeg_decoder_decode
Carl-Anton Ingmarsson [Fri, 5 Jun 2009 19:18:47 +0000 (21:18 +0200)]
vdpaumpegdec: small cleanup
Carl-Anton Ingmarsson [Fri, 5 Jun 2009 19:16:48 +0000 (21:16 +0200)]
vdpaumpegdec: calculate byterate from the size of the incoming data
Carl-Anton Ingmarsson [Fri, 5 Jun 2009 17:08:24 +0000 (19:08 +0200)]
vdpaumpegdec: print frame_nr in debug print
Carl-Anton Ingmarsson [Fri, 5 Jun 2009 16:28:17 +0000 (18:28 +0200)]
vdpaumpegdec: interlaced fixes
Carl-Anton Ingmarsson [Fri, 5 Jun 2009 16:18:38 +0000 (18:18 +0200)]
vdpaumpegdec: only set base duration once
Carl-Anton Ingmarsson [Fri, 5 Jun 2009 15:53:16 +0000 (17:53 +0200)]
vdpaumpegdec: don't send the EVENT_NEWSEGMENT downstream if we're seeking
Carl-Anton Ingmarsson [Fri, 5 Jun 2009 15:43:49 +0000 (17:43 +0200)]
vdpaumpegdec: implement seeking
Carl-Anton Ingmarsson [Fri, 5 Jun 2009 09:54:17 +0000 (11:54 +0200)]
vdpaumpegdec: change a GST_DEBUG to GST_WARNING
Carl-Anton Ingmarsson [Fri, 5 Jun 2009 09:52:32 +0000 (11:52 +0200)]
vdpaumpegdec: remove unused broken_gop field
Carl-Anton Ingmarsson [Fri, 5 Jun 2009 09:51:41 +0000 (11:51 +0200)]
vdpaumpegdec: add new gst_vdp_mpeg_decoder_flush for flushing the decoder
Carl-Anton Ingmarsson [Fri, 5 Jun 2009 09:24:34 +0000 (11:24 +0200)]
vdpaumpegdec: use GSE_DEBUG_FUNCPTR
Carl-Anton Ingmarsson [Fri, 5 Jun 2009 09:20:56 +0000 (11:20 +0200)]
vdpaumpegdec: don't drop discont buffers
Carl-Anton Ingmarsson [Fri, 5 Jun 2009 09:17:16 +0000 (11:17 +0200)]
vdpaumpegdec: handle GST_QUERY_POSITION and GST_QUERY_DURATION
Carl-Anton Ingmarsson [Thu, 4 Jun 2009 19:17:40 +0000 (21:17 +0200)]
vdpaumpegdec: calculate correct duration from data in MPEG_PACKET_EXT_PICTURE_CODING
Carl-Anton Ingmarsson [Thu, 4 Jun 2009 17:30:02 +0000 (19:30 +0200)]
vdpaumpegdec: fix so that the first frame in a raw mpegvideo stream get timestamp 0
Carl-Anton Ingmarsson [Thu, 4 Jun 2009 17:17:14 +0000 (19:17 +0200)]
vpdaumpegdec: remove useless GstVdpDecoder baseclass
Carl-Anton Ingmarsson [Thu, 4 Jun 2009 16:11:06 +0000 (18:11 +0200)]
vdpaumpegdec: use GstBitReader to parse bitstream
Carl-Anton Ingmarsson [Wed, 6 May 2009 21:07:00 +0000 (23:07 +0200)]
vdpau: change element rank for testing purposes
set mpegvideoparse rank to primary and vdpaumpegdec to primary - 1 to get vdpaumpegdec
correctly plugged into playbin
Carl-Anton Ingmarsson [Tue, 5 May 2009 21:19:56 +0000 (23:19 +0200)]
vdpau: add debug on GstVdpDevice destroy
Carl-Anton Ingmarsson [Tue, 5 May 2009 21:13:25 +0000 (23:13 +0200)]
vdpaumpegdec: small code cleanup
Carl-Anton Ingmarsson [Tue, 5 May 2009 21:08:51 +0000 (23:08 +0200)]
vdpaumpegdec: remove unnused GstVdpBFrame struct
Carl-Anton Ingmarsson [Tue, 5 May 2009 21:07:06 +0000 (23:07 +0200)]
vdpaumpegdec: fix small typo in debug print
Carl-Anton Ingmarsson [Tue, 5 May 2009 16:54:31 +0000 (18:54 +0200)]
vdpaumpegdec: fixup timestamping of outgoing buffers
Carl-Anton Ingmarsson [Tue, 5 May 2009 16:45:07 +0000 (18:45 +0200)]
vdpaumpegdec: don't add forward_reference if the frame is an I_FRAME
Carl-Anton Ingmarsson [Tue, 5 May 2009 16:37:50 +0000 (18:37 +0200)]
vdpaumpegdec: set correct timestamps
Carl-Anton Ingmarsson [Tue, 5 May 2009 15:30:33 +0000 (17:30 +0200)]
vdpaumpegdec: remove unneeded locking since we know do StateChange correctly
Carl-Anton Ingmarsson [Tue, 5 May 2009 15:28:19 +0000 (17:28 +0200)]
s/GST_TYPE_VDPAU/GST_TYPE_VDP/g
Carl-Anton Ingmarsson [Tue, 5 May 2009 15:20:16 +0000 (17:20 +0200)]
vdpau: s/GST_TYPE_VDPAU/GST_TYPE_VDP/g
Carl-Anton Ingmarsson [Tue, 5 May 2009 15:15:33 +0000 (17:15 +0200)]
vdpaumpegdec: fixup state change
Carl-Anton Ingmarsson [Tue, 5 May 2009 14:29:24 +0000 (16:29 +0200)]
vdpau: init "vdpaudevice" debug catoegory in gst_vdp_get_device
Carl-Anton Ingmarsson [Tue, 5 May 2009 06:11:03 +0000 (08:11 +0200)]
vdpaumpegdec: hold the lock in change_state
Carl-Anton Ingmarsson [Sun, 3 May 2009 19:52:49 +0000 (21:52 +0200)]
vdpaumpegdec: the B_FRAME decoding was completely wrong, fix it
the buffers don't come in output order so fix the decoder to handle this
add new gst_vdp_video_buffer_add_reference method to GstVdpVideoBuffer to be able to keep
buffers alive. Ie. a B_FRAME need to have both the forward reference and the backward
reference alive during it's lifetime.
add mutex to protect for threadsafety issues when we reset the decoder in FLUSH_STOP
Carl-Anton Ingmarsson [Thu, 30 Apr 2009 19:58:01 +0000 (21:58 +0200)]
vdpaumpegdec: set full_pel_forward_vector to 0 when pic_type == P_FRAME
Carl-Anton Ingmarsson [Mon, 27 Apr 2009 19:30:59 +0000 (21:30 +0200)]
vdpaumpegdec: drop frames if we haven't got an I_FRAME yet
Carl-Anton Ingmarsson [Mon, 27 Apr 2009 18:57:12 +0000 (20:57 +0200)]
vdpau: set vdpauvideoyuv and vdpauyuvvideo to GST_RANK_PRIMARY
Carl-Anton Ingmarsson [Mon, 27 Apr 2009 18:50:11 +0000 (20:50 +0200)]
vdpaumpegdec: destroy the VdpDecoder and reset the decoder on state change
Carl-Anton Ingmarsson [Mon, 27 Apr 2009 18:45:11 +0000 (20:45 +0200)]
vdpau: fix error where we forgot to pass a trailing NULL to g_object_new
Carl-Anton Ingmarsson [Mon, 27 Apr 2009 18:21:44 +0000 (20:21 +0200)]
vdpau: close display on finalize
Carl-Anton Ingmarsson [Mon, 27 Apr 2009 18:18:52 +0000 (20:18 +0200)]
vdpau: small fixes
init create GstVdpDevice on GST_STATE_CHANGE_READY_TO_PAUSED instead of on
GST_STATE_CHANGE_NULL_TO READY
add back incrementing of frame_nr
Carl-Anton Ingmarsson [Mon, 27 Apr 2009 18:15:07 +0000 (20:15 +0200)]
vdpau: use g_once_init_enter instead of g_once
Carl-Anton Ingmarsson [Mon, 27 Apr 2009 16:34:53 +0000 (18:34 +0200)]
vdpaumpegdec: if available use incoming buffer timestamp as output timestamp
Carl-Anton Ingmarsson [Mon, 27 Apr 2009 13:12:26 +0000 (15:12 +0200)]
vdpaumpegdec: clear the adapter when we reset the decoder
Carl-Anton Ingmarsson [Sun, 26 Apr 2009 21:25:33 +0000 (23:25 +0200)]
vdpau: fixup renaming
the rename work done in commit
24cf84d06b2f4b2edec3383b198441a07829618b didn't
include typecasts. This commit fixes this.
Carl-Anton Ingmarsson [Sun, 26 Apr 2009 21:20:30 +0000 (23:20 +0200)]
vdpaumpegdec: reset decoder on GST_EVENT_FLUSH_STOP
Carl-Anton Ingmarsson [Sun, 26 Apr 2009 20:05:11 +0000 (22:05 +0200)]
vdpaumpegdec: reset decoder when we get a discont buffer
Carl-Anton Ingmarsson [Sun, 26 Apr 2009 18:40:45 +0000 (20:40 +0200)]
vdpaumpegdec: add "MPEG_PACKET_EXT_PICTURE_CODING" debug statement
Carl-Anton Ingmarsson [Wed, 22 Apr 2009 21:35:07 +0000 (23:35 +0200)]
vdpaumpegdec: handle broken_gop field
Carl-Anton Ingmarsson [Wed, 22 Apr 2009 19:04:58 +0000 (21:04 +0200)]
vdpaumpegdec: convert all manual parsing to use read_bits instead
Carl-Anton Ingmarsson [Wed, 22 Apr 2009 18:28:19 +0000 (20:28 +0200)]
vdpaumpegdec: remove unneded gst_buffer_ref and the accompanying gst_buffer_unref
Carl-Anton Ingmarsson [Wed, 22 Apr 2009 18:25:55 +0000 (20:25 +0200)]
vdpaumpegdec: fixup error where we set forward_reference instead of backward_reference
Carl-Anton Ingmarsson [Thu, 16 Apr 2009 21:43:24 +0000 (23:43 +0200)]
vdpaumpegdec: handle multiple B_FRAMEs in a row
Carl-Anton Ingmarsson [Thu, 16 Apr 2009 20:30:27 +0000 (22:30 +0200)]
vdpaumpegdec: more B_FRAME work
Carl-Anton Ingmarsson [Thu, 16 Apr 2009 20:06:50 +0000 (22:06 +0200)]
vdpaumpegdec: inital support at handling B_FRAMES
Carl-Anton Ingmarsson [Wed, 15 Apr 2009 21:49:07 +0000 (23:49 +0200)]
vdpaumpegdec: fixup GstFlowReturn propagation a bit
Carl-Anton Ingmarsson [Wed, 15 Apr 2009 21:38:53 +0000 (23:38 +0200)]
vdpaumpegdec: parse PICTURE_CODING_EXTENSION alternate_scan bit
Carl-Anton Ingmarsson [Wed, 15 Apr 2009 21:31:33 +0000 (23:31 +0200)]
vdpaumpegdec: fixup quantmatrix extension parsing
Carl-Anton Ingmarsson [Wed, 15 Apr 2009 16:17:54 +0000 (18:17 +0200)]
vdpaumpegdec: correct some default values
mpeg1 now give nearly correct output :)
Carl-Anton Ingmarsson [Wed, 15 Apr 2009 15:52:27 +0000 (17:52 +0200)]
vdpaumpegdecoder: remove unused slice field
Carl-Anton Ingmarsson [Tue, 14 Apr 2009 21:47:40 +0000 (23:47 +0200)]
vdpau: rename "video/vdpau-video" caps to "video/x-vdpau-video"
Carl-Anton Ingmarsson [Tue, 14 Apr 2009 19:07:32 +0000 (21:07 +0200)]
vdpau: remove "silent" property from GstVdpDecoder
Carl-Anton Ingmarsson [Tue, 14 Apr 2009 19:05:44 +0000 (21:05 +0200)]
vdpau: don't set element details in GstVdpDecoder
Carl-Anton Ingmarsson [Tue, 14 Apr 2009 19:04:59 +0000 (21:04 +0200)]
vdpaumpegdecoder: rename to "vdpaumpegdec"