Stefan Kost [Thu, 9 Dec 2010 10:23:01 +0000 (12:23 +0200)]
basecamerasrc: write more details on the api docs
Stefan Kost [Thu, 9 Dec 2010 10:22:26 +0000 (12:22 +0200)]
basecamerasrc: use the enum type for mode
Stefan Kost [Thu, 9 Dec 2010 10:21:16 +0000 (12:21 +0200)]
basecamerasrc: comment cleanups
Tim-Philipp Müller [Wed, 22 Dec 2010 21:44:47 +0000 (21:44 +0000)]
mpeg4videoparse: ensure buffer metadata is writable before modifying it
https://bugzilla.gnome.org/show_bug.cgi?id=637824
Edward Hervey [Wed, 22 Dec 2010 17:13:04 +0000 (18:13 +0100)]
id3mux: Set to GST_RANK_PRIMARY
We want it to take precedence over any other id3 formatter.
Sebastian Dröge [Tue, 21 Dec 2010 17:01:28 +0000 (18:01 +0100)]
autoconvert: Fix some more leaks and reorganize unref code
benjamin gaignard [Mon, 20 Dec 2010 14:33:28 +0000 (15:33 +0100)]
autoconvert: Avoid some leaks in autoconvert
unref sink and src pad after gst_pad_by_direction calls unref
element if gst_auto_convert_activate_element failed.
See bug #637553.
Sebastian Dröge [Tue, 21 Dec 2010 16:03:43 +0000 (17:03 +0100)]
asfmux: Fix buffer leak in the unit test
Saleem Abdulrasool [Mon, 20 Dec 2010 15:19:04 +0000 (07:19 -0800)]
camerabin: fix for latest GTK+ API changes
Edward Hervey [Mon, 20 Dec 2010 16:47:29 +0000 (17:47 +0100)]
Automatic update of common submodule
From 169462a to 46445ad
Thiago Santos [Mon, 20 Dec 2010 14:06:52 +0000 (11:06 -0300)]
camerabin: Fix caps leaks
Fix some caps leaks on unit tests
Thiago Santos [Mon, 20 Dec 2010 12:37:22 +0000 (09:37 -0300)]
jifmux: Fix leaks on check test
Fix leaks in jifmux check test
Stefan Kost [Mon, 20 Dec 2010 11:51:03 +0000 (13:51 +0200)]
photography: use a flags type instead of the uint
Also use 0 as default and let the implementation set something that they support.
Hu Gang [Mon, 20 Dec 2010 09:14:49 +0000 (11:14 +0200)]
photography: add missing property and cabability flag for noise reduction
Olivier Crête [Sun, 19 Dec 2010 11:53:24 +0000 (17:23 +0530)]
tests: Fix leak in autoconvert test
Olivier Crête [Sun, 19 Dec 2010 11:46:10 +0000 (17:16 +0530)]
autoconvert: Use gst_caps_can_intersect()
Sebastian Dröge [Sun, 19 Dec 2010 11:53:34 +0000 (12:53 +0100)]
qtmux: Free AtomInfo structs
Sebastian Dröge [Sun, 19 Dec 2010 11:50:30 +0000 (12:50 +0100)]
qtmux: Free tag string after use
Sebastian Dröge [Sun, 19 Dec 2010 11:12:25 +0000 (12:12 +0100)]
tagschecking: Fix some more memory leaks
Sebastian Dröge [Sun, 19 Dec 2010 11:12:12 +0000 (12:12 +0100)]
imagecapturebin: Don't leak message in the unit test
Sebastian Dröge [Sun, 19 Dec 2010 11:09:41 +0000 (12:09 +0100)]
imagecapturebin: Don't leak pad and sink
Sebastian Dröge [Sun, 19 Dec 2010 11:05:11 +0000 (12:05 +0100)]
imagecapturebin: Don't leak pad template created from static pad template
Sebastian Dröge [Sun, 19 Dec 2010 11:03:03 +0000 (12:03 +0100)]
imagecapturebin: Don't leak location string
Sebastian Dröge [Sun, 19 Dec 2010 11:00:25 +0000 (12:00 +0100)]
jifmux: Don't leak taglist
Sebastian Dröge [Sun, 19 Dec 2010 10:38:03 +0000 (11:38 +0100)]
autovideoconvert: Don't leak pad templates created from static pad templates
Sebastian Dröge [Sun, 19 Dec 2010 10:20:25 +0000 (11:20 +0100)]
autovideoconvert: Add autoconvert child before chaining up to parent state change function
...and remove/unlink autoconvert child when going back to NULL.
Sebastian Dröge [Sun, 19 Dec 2010 10:19:38 +0000 (11:19 +0100)]
states: Ignore more vdpau elements in the generic states test
Sebastian Dröge [Sun, 19 Dec 2010 10:17:47 +0000 (11:17 +0100)]
autovideoconvert: Rename and adjust unit test too
Leo Singer [Sat, 18 Dec 2010 20:48:42 +0000 (12:48 -0800)]
applemedia: fix compiler warning: redundant declaration of 'parent_class'
GST_BOILERPLATE_FULL declares parent_class as well.
https://bugzilla.gnome.org/show_bug.cgi?id=637532
Lasse Laukkanen [Fri, 17 Dec 2010 17:41:25 +0000 (19:41 +0200)]
qtmux: allow zero duration tracks
Tim-Philipp Müller [Thu, 16 Dec 2010 15:31:23 +0000 (15:31 +0000)]
dvbsuboverlay: use GST_LOG etc. for logging
The dvbsub routines were originally designed as a mini lib with a
log callback (which from the looks of it in our case would always
be called and always assemble the string even with debug output
disabled). Some of these debug statements can probably be removed
or cleaned up some more.
Tim-Philipp Müller [Thu, 16 Dec 2010 00:19:13 +0000 (00:19 +0000)]
dvbsuboverlay: remove some unused defines
Tim-Philipp Müller [Thu, 16 Dec 2010 00:13:18 +0000 (00:13 +0000)]
dvbsuboverlay: fix atomic access
Janne Grunau [Thu, 16 Dec 2010 15:33:45 +0000 (15:33 +0000)]
dvbsuboverlay: fix rendering artefacts
Initialize source x position for odd height special case.
Edward Hervey [Thu, 16 Dec 2010 10:29:07 +0000 (11:29 +0100)]
dvbsuboverlay: The enable property is a boolean and not an integer
Sebastian Dröge [Thu, 16 Dec 2010 08:56:00 +0000 (09:56 +0100)]
autoconvert: Rename autocolorspace to autovideoconvert
This doesn't just convert between color spaces.
David Schleef [Wed, 15 Dec 2010 20:45:38 +0000 (12:45 -0800)]
element-maker: Clean up directory
Benjamin Gaignard [Wed, 15 Dec 2010 20:28:06 +0000 (21:28 +0100)]
bayer2rgb: Add framerate to the sink caps
Fixes bug #637224.
Benjamin Gaignard [Wed, 15 Dec 2010 20:19:55 +0000 (21:19 +0100)]
autocolorspace: Add unit test
Benjamin Gaignard [Wed, 15 Dec 2010 20:14:38 +0000 (21:14 +0100)]
autocolorspace: Add autoconvert based video format convert element
Fixes bug #636106.
Sebastian Dröge [Wed, 15 Dec 2010 20:11:29 +0000 (21:11 +0100)]
dvbsuboverlay: Rename DVB subtitling media type to subpicture/x-dvb
Sebastian Dröge [Wed, 15 Dec 2010 20:11:11 +0000 (21:11 +0100)]
mpegtsdemux: Rename DVB subtitling media type to subpicture/x-dvb
Sebastian Dröge [Wed, 15 Dec 2010 19:54:35 +0000 (20:54 +0100)]
dvbsuboverlay: Don't draw anything on the video if the enable property is set to FALSE
Sebastian Dröge [Wed, 15 Dec 2010 19:53:21 +0000 (20:53 +0100)]
dvbsuboverlay: Add #defines for the property default values
Sebastian Dröge [Wed, 15 Dec 2010 19:51:12 +0000 (20:51 +0100)]
dvbsuboverlay: Use g_atomic_int_get() for reading the max_page_timeout field
Sebastian Dröge [Wed, 15 Dec 2010 19:49:57 +0000 (20:49 +0100)]
mpegtsdemux: Mark array static const and use G_N_ELEMENTS instead of sizeof
Janne Grunau [Wed, 15 Dec 2010 13:39:56 +0000 (14:39 +0100)]
mpegtsdemux: add DESC_DVB_SUBTITLING descriptor for language parsing
Janne Grunau [Wed, 15 Dec 2010 13:23:58 +0000 (14:23 +0100)]
mpegtsdemux: enable gather_pes only for DVB subtitle private streams
Janne Grunau [Tue, 14 Dec 2010 13:34:56 +0000 (14:34 +0100)]
dvbsuboverlay: use atomic instructions to set/get enable property
Janne Grunau [Tue, 14 Dec 2010 13:28:45 +0000 (14:28 +0100)]
dvbsuboverlay: add property to limit page_time_out to a setable maximum
Janne Grunau [Tue, 14 Dec 2010 10:11:08 +0000 (11:11 +0100)]
dvbsuboverlay: implement display definition segment subtitle windows
simplifies subtitle scaling in blit_i420()
Janne Grunau [Sat, 11 Dec 2010 16:25:29 +0000 (17:25 +0100)]
dvbsuboverlay: scale subtitles according to the display size
Display size is either transmitted in the display definition segment or
implicitly defined to 720x576. The subtitle window information also present in
the display definition segment is not yet used.
Janne Grunau [Sat, 11 Dec 2010 16:10:25 +0000 (17:10 +0100)]
dvbsuboverlay: implement display definition segment parsing
Janne Grunau [Fri, 10 Dec 2010 11:27:54 +0000 (12:27 +0100)]
dvbsuboverlay: fix luma stride for scaled subtitles (display width != width)
Edward Hervey [Wed, 15 Dec 2010 15:48:15 +0000 (16:48 +0100)]
rsvgoverlay: Don't set uint on an int property
Stefan Kost [Wed, 15 Dec 2010 12:56:19 +0000 (14:56 +0200)]
Automatic update of common submodule
From 20742ae to 169462a
David Schleef [Wed, 15 Dec 2010 03:03:09 +0000 (19:03 -0800)]
element-maker: improve generation of several classes
Better creation of pads, test and fix many other classes. Most
classes work now, although might not create functional elements.
David Schleef [Tue, 14 Dec 2010 07:32:30 +0000 (23:32 -0800)]
y4mdec: Add y4mdec
Feel the y4m love. It seeks. It works in pitivi.
Francis Rammeloo [Mon, 13 Dec 2010 23:15:05 +0000 (23:15 +0000)]
gdiscreencapsrc: fix memory leak
Structure members of ICONINFO struct filled by GetIconInfo() must
be deleted when no longer needed according to the API reference.
https://bugzilla.gnome.org/show_bug.cgi?id=611428
Mark Nauwelaerts [Mon, 13 Dec 2010 15:23:37 +0000 (16:23 +0100)]
jpegparse: avoid leaking tag event
Mark Nauwelaerts [Mon, 13 Dec 2010 14:17:29 +0000 (15:17 +0100)]
ac3parse: relax bsid checking
... to the widest possible spec interpretation.
Fixes #637062.
Stefan Kost [Mon, 13 Dec 2010 14:23:45 +0000 (16:23 +0200)]
Automatic update of common submodule
From 011bcc8 to 20742ae
Matthew Ife [Sun, 12 Dec 2010 23:34:02 +0000 (23:34 +0000)]
rfbsrc: fail more gracefully if source gets disconnected or geometry changes
Don't get caught in an infinite loop if the source gets disconnected and also
support gracefully failing upon detecting the frame geometry has increased
(rather than segfaulting).
https://bugzilla.gnome.org/show_bug.cgi?id=635397
Mark Nauwelaerts [Sun, 12 Dec 2010 21:13:13 +0000 (22:13 +0100)]
jpegparse: avoid leaking converted comment string
Sebastian Dröge [Sun, 12 Dec 2010 11:01:38 +0000 (12:01 +0100)]
ssim: Set classification to Filter/Analyzer/Video instead of Filter/Converter/Video
Fixes bug #636109.
Jan Schmidt [Sat, 11 Dec 2010 15:24:00 +0000 (02:24 +1100)]
gaudieffects: Avoid divide by 0 in burn element
Jan Schmidt [Sat, 11 Dec 2010 15:16:49 +0000 (02:16 +1100)]
resindvd: Defer pushing tag updates until streaming.
Push tag/title info updates in the streaming thread, avoiding
spurious losses of the downstream events when flushing.
See: https://bugzilla.gnome.org/show_bug.cgi?id=594222
Jan Schmidt [Tue, 16 Nov 2010 06:18:33 +0000 (17:18 +1100)]
resindvd: Attempt to use glib language setting for DVD menus/audio
Jan Schmidt [Tue, 16 Nov 2010 06:09:06 +0000 (17:09 +1100)]
resindvd: Fix silly typo in button state tracking.
Ole André Vadla Ravnås [Thu, 9 Dec 2010 23:58:58 +0000 (00:58 +0100)]
applemedia: only enqueue buffers in the VideoToolbox callbacks
These callbacks may fire from any thread, hence we should only enqueue
buffers and let the streaming thread take care of the rest as soon as
the blocking encode or decode operation has finished.
Ole André Vadla Ravnås [Fri, 19 Nov 2010 14:53:55 +0000 (15:53 +0100)]
applemedia: bring back Leopard compatibility
At least as far as miovideosrc is concerned. Turns out that CoreVideo's
CVPixelBufferGetIOSurface is not present in Leopard's version of CoreVideo.
We solve this by making it possible for symbols to be marked as optional.
Christian Berentsen [Mon, 29 Nov 2010 12:47:11 +0000 (13:47 +0100)]
winks: fix framerate fraction range mapping
Min and max may be slightly different but compress to the same fraction.
Wim Taymans [Thu, 9 Dec 2010 17:06:38 +0000 (18:06 +0100)]
jasperdec: don't fail hard on decoding error
don't post an error and return GST_FLOW_ERROR on a simple decoding error. We can
just resume and continue decoding the next image.
Alessandro Decina [Thu, 9 Dec 2010 10:54:17 +0000 (11:54 +0100)]
qtkitvideosrc: reset the queue condition to NO_FRAMES in unlockStop.
Fixes a segfault in create: when going PLAYING -> PAUSED -> PLAYING.
Alessandro Decina [Thu, 9 Dec 2010 10:04:19 +0000 (11:04 +0100)]
qtkitvideosrc: run the mainRunLoop for a while if not running.
QTCaptureSession::addInput and QTCaptureSession::addOutput call
NSObject::performSelectorOnMainThread internally so they need the mainRunLoop to
run at least for a while to complete.
Thiago Santos [Tue, 7 Dec 2010 22:40:28 +0000 (19:40 -0300)]
basecamerasrc: Remove ghostpads
Remove ghost pads from basecamerasrc. Different implementations
of camera sources might not use ghostpads and use default pads.
Thiago Santos [Tue, 7 Dec 2010 22:12:40 +0000 (19:12 -0300)]
basecamerasrc: Removing ununsed methods
Remove one unused method _finish_image_capture()
Thiago Santos [Mon, 6 Dec 2010 14:05:17 +0000 (11:05 -0300)]
camerabin2: Only run tests if experimental is enabled
Only run camerabin2 tests and build examples if experimental
plugins are enabled
Thiago Santos [Mon, 6 Dec 2010 13:06:37 +0000 (10:06 -0300)]
camerabin2: Cleanup
Removing commented code
Thiago Santos [Sun, 5 Dec 2010 14:18:09 +0000 (11:18 -0300)]
basecamerasrc: Move start/stop capture signals to basecamerasrc
Move start/stop signals and ready-for-capture to basecamerasrc
as this should be present on all camera sources
Thiago Santos [Sat, 4 Dec 2010 13:15:34 +0000 (10:15 -0300)]
basecamerasrc: Add mode property
Move mode property from v4l2camerasrc to basecamerasrc, as all
camera sources should handle it.
Thiago Santos [Sat, 4 Dec 2010 03:27:17 +0000 (00:27 -0300)]
camerabin2: Reset all elements on video recording branch before capture
We need to reset the elements from the video recording branch, including
the queue and capsfilter in order to clear the eos state and activate
the pads.
This makes it possible to record multiple videos with camerabin2 in a
sequence, otherwise the source would get a unexpected return and
push EOS, stopping the whole pipeline.
Thiago Santos [Fri, 3 Dec 2010 15:13:07 +0000 (12:13 -0300)]
camerabin2: Fix tests capture location creation
Fixes capture location creation to use multifilesink location
like strings. E.g. using capture_%d instead of capture_0 to let
camerabin2 handle the %d replacing
Thiago Santos [Fri, 3 Dec 2010 15:12:32 +0000 (12:12 -0300)]
camerabin2: More debug logs
Sprinkle some more debugging logs
Thiago Santos [Fri, 3 Dec 2010 15:11:59 +0000 (12:11 -0300)]
examples: camerabin2: Print more info
Add some printing for error/eos cases.
Thiago Santos [Thu, 2 Dec 2010 06:44:37 +0000 (03:44 -0300)]
camerabin2: Various fixes
As video recording bin's state is locked, we should always
remember of setting it to NULL when camerabin2 goes to NULL
Be more careful when using elements that might not
have been created yet
And do not set location property recursively on videorecordingbin
Thiago Santos [Thu, 2 Dec 2010 06:08:52 +0000 (03:08 -0300)]
camerabin2: Adding tests for camerabin2
Adds some basic tests for camerabin2
Thiago Santos [Thu, 2 Dec 2010 05:21:49 +0000 (02:21 -0300)]
tests: camerabin2: adds tests for elements
Adds basic tests for both imagecapturebin and for
videorecordingbin elements
Thiago Santos [Thu, 2 Dec 2010 04:33:19 +0000 (01:33 -0300)]
viewfinderbin: Improve elements creation
Be more careful with cleanup of elements. Also add some logs and
improve docs a little.
Thiago Santos [Thu, 2 Dec 2010 03:19:05 +0000 (00:19 -0300)]
camerabin2: remove unused code
General cleanup, removing unused bits
Thiago Santos [Tue, 30 Nov 2010 23:13:27 +0000 (20:13 -0300)]
camerabin2: adds location property
Adds a location property to enable applications to select
the captured files names. Locations are handled just like
multifilesink ones
Also disables -Wformat-nonliteral to allow to use non-literals
on g_strdup_printf on camerabin and generate a sequence of
locations for captures.
Thiago Santos [Tue, 30 Nov 2010 23:15:47 +0000 (20:15 -0300)]
camerabin2: Fix set/get property function names
Add more consistency to the function names by using
gst_camera_bin as the other functions.
Thiago Santos [Tue, 30 Nov 2010 21:19:20 +0000 (18:19 -0300)]
camerabin2: Handle vidbin state change individually
Keep vidbin state locked to avoid it going to playing without
being used and leaving an empty file created.
Check the docs on the code for details on the handling.
Thiago Santos [Tue, 30 Nov 2010 14:40:18 +0000 (11:40 -0300)]
camerabin2: Keep it under --enable-experimental
camerabin2 is still under heavy development, activate it only if
the --enable-experimental flag is on.
Also add a note to the docs.
Thiago Santos [Tue, 30 Nov 2010 14:06:33 +0000 (11:06 -0300)]
v4l2camerasrc: Add ready-for-capture property
Adds property that informs if v4l2camerasrc is available
for starting a new capture.
It is useful for applications to know (via deep-notify) when the
property changes and a new capture is possible. Note, however, that
starting a new capture from the notify callback will cause a deadlock.
Thiago Santos [Tue, 30 Nov 2010 12:28:50 +0000 (09:28 -0300)]
camerabin2: Update v4l2camerasrc to use start/stop signals
Removes the old logic for v4l2camerasrc that used the mode
property switching to start/stop captures to make it identical
to camerabin2 behavior and to allow the future addition of
pausing a video recording.
This also removes the MODE_PREVIEW as it became useless.
Thiago Santos [Mon, 29 Nov 2010 21:53:34 +0000 (18:53 -0300)]
camerabin2: Cleanup capturing flag
Cleanup capturing flag when the source switches back to the
viewfinder mode
Thiago Santos [Mon, 29 Nov 2010 21:24:35 +0000 (18:24 -0300)]
v4l2camerasrc: Remove unnecessary padding
Thiago Santos [Mon, 29 Nov 2010 18:49:26 +0000 (15:49 -0300)]
v4l2camerasrc: Implement video capture
Implements video capture on v4l2camerasrc by using the mode property,
when mode is set to video, the pad probe pushes a new segment
and starts pushing buffers on the pad, when it the property is
sent back to preview, the pad probe pushes an EOS and stops
pushing buffers.
This is controlled by a Recording State variable, that is protected
by the GST_OBJECT_LOCK. I don't think locking for every buffer is
nice, so we could find an alternative lockless way here.
Thiago Santos [Mon, 29 Nov 2010 15:57:21 +0000 (12:57 -0300)]
v4l2camerasrc: Fix image capture
Once a image is captured, v4l2camerasrc should return to the
preview mode and stop capturing.