Vincent Penquerc'h
0d66d05c98
videotestsrc: fix unit test breaking on duration query
...
The new switch caused breaks to not break of the main switch
anymore, causing fall through.
2014-01-10 14:24:12 +00:00
Vincent Penquerc'h
1185fbd29a
videotestsrc: do not set TIME duration when asked for another format
...
This fixes asserts in pipelines such as:
gst-launch-1.0 videotestsrc num-buffers=1000 ! x264enc ! h264parse ! \
matroskamux name=mux ! filesink location=test.mkv
2014-01-10 09:56:34 +00:00
Sebastian Dröge
eff7866dd0
videotestsrc: Always set pixel-aspect-ratio and interlace-mode in the fixed caps
...
Otherwise our caps will not be compatible with elements that require a
1/1 pixel-aspect-ratio or progressive video.
https://bugzilla.gnome.org/show_bug.cgi?id=721103
2013-12-30 19:48:29 +01:00
Thiago Santos
c2eb3d4e71
videotestsrc: implement duration query
...
Add duration query to videotestsrc, it can answer this query when
the num-buffers property is set.
https://bugzilla.gnome.org/show_bug.cgi?id=709646
2013-10-08 16:10:54 -03:00
Thiago Santos
866f132821
videotestsrc: implement reverse playback
...
Decrement the n_frames counter when doing reverse playback to
have timestamps and offsets reducing instead of increasing
https://bugzilla.gnome.org/show_bug.cgi?id=701813
2013-10-08 09:34:47 -04:00
Wim Taymans
ede804041c
videotestsrc: flush pending lines on odd height
2013-09-05 17:46:03 +02:00
Edward Hervey
258aca37dd
videotestsrc: Demote ERROR statement back to DEBUG
...
It crawled in with david's latest commit
2013-08-02 11:00:06 +02:00
David Schleef
0c4beda8f0
videotestsrc: Add pinwheel and spokes patterns
2013-07-31 11:37:33 -07:00
Edward Hervey
46ce07333b
videotestsrc: Initialize GstVideoInfo in ::start()
...
Otherwise we end up with bogus values and races
2013-07-26 16:14:05 +02:00
Edward Hervey
96efe720a1
videotestsrc: Don't error on not-negotiated
...
Base classes will handle re-negotiation if needed, but emitting an
error message will make applications stop.
2013-07-26 16:14:05 +02:00
Patricia Muscalu
f9acd972ef
videotestsrc: do not leak lines
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=703177
2013-06-27 12:39:47 +02:00
Wim Taymans
e5bc2b0d05
videotestsrc: subsample chroma before packing
...
Run the chroma subsampler before packing.
2013-05-27 11:05:08 +02:00
Tim-Philipp Müller
f5c0d61be7
Update disted orc backup files
...
Generated with 0.4.17 now.
2013-04-22 13:58:33 +01:00
Sebastian Dröge
948a4a3632
gst: Add better support for static plugins
2013-04-15 15:52:58 +02:00
Stefan Sauer
c6c27b9926
videotestsrc: make colors controlable
...
Also trim since markers.
2013-03-07 09:39:14 +01:00
Tim-Philipp Müller
dce49a1a7e
video: fix return type of _get_palette() and add since markers to docs
...
'const gpointer' is not the same as 'gconstpointer', see
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35928 .
2013-02-06 12:43:51 +00:00
Wim Taymans
ebf24e292e
videotestsrc: use video library palette
...
Use the palette provided and used by the video library instead of making our own
copy.
2013-02-05 11:20:20 +01:00
Tim-Philipp Müller
5f59b4f7ee
Fix FSF address
...
https://bugzilla.gnome.org/show_bug.cgi?id=687520
2012-11-03 23:05:09 +00:00
Sebastian Dröge
3c1041d5eb
Revert "gst: Add better support for static plugins"
...
This reverts commit d2d79e3bc2
,
which was accidentially pushed.
2012-10-24 13:26:26 +02:00
Sebastian Dröge
d2d79e3bc2
gst: Add better support for static plugins
2012-10-24 12:10:44 +02:00
Wim Taymans
d73dcb6af3
videotestsrc: make and copy palette
2012-10-15 16:33:24 +02:00
Thiago Santos
386206e627
videotestsrc: keep track of the correct running time after renegotiations
...
Need to store the old running time and frame numbers when renegotiating and
start from 0 again when a new caps is set, preventing that framerate changes
cause timestamping issues.
For example, if a stream pushed 10 buffers on framerate=2/1, its
running time will be 5s. If a new framerate of 1/1 is set, it would
make the running time go to 10s as it would count those 10 buffers
as being sent on this new framerate.
Fixes camerbin unit test.
https://bugzilla.gnome.org/show_bug.cgi?id=682973
2012-09-23 17:48:56 +01:00
Tim-Philipp Müller
f7c6aa5abd
Release 0.11.94
2012-09-14 02:47:54 +01:00
Wim Taymans
8c5ce3adb8
videotestsrc: prefix orc functions with video_test_src_orc
2012-07-24 09:09:22 +02:00
Wim Taymans
fec11c7809
videotestsrc: fix 10 bits formats
...
We need to check the number of bits of the unpack format when we prepare the
pixels for the pack function.
2012-07-16 11:22:03 +02:00
Wim Taymans
177fd005ab
update for query api changes
2012-07-06 11:23:48 +02:00
Wim Taymans
044afd72eb
videotestsrc: set DTS and PTS, sync on DTS
2012-06-27 17:18:35 +02:00
Wim Taymans
f28e2e7bea
fix interlace-mode
2012-06-26 17:15:49 +02:00
Wim Taymans
7a3830c40a
videotestsrc: Remove more redundant code
...
Use the video library to do the setup instead of keeping a separate incomplete
list.
2012-06-06 11:18:56 +02:00
Wim Taymans
dd907f2a6e
videotestsrc: don't artificially restrict caps
...
Use all the formats that the video library supports without any restrictions on
colorimetry or other parameters such as chroma-siting.
2012-06-06 11:18:56 +02:00
Wim Taymans
d7af12a754
videotestsrc: enable more formats
2012-05-30 17:17:24 +02:00
Wim Taymans
0290e116eb
videotestsrc: use generic packing code
...
Use the pack functions of the video library to construct the target
image.
Remove redundant functions.
2012-05-29 17:52:07 +02:00
Wim Taymans
03dc5d4a1b
video: fix UYVP packing function
2012-05-28 17:11:46 +02:00
Wim Taymans
27d4061c6c
videotestsrc: add support for I420_10 format
...
Add support for the I420_10 formats
Use the video frame api to get pixels and strides instead of our own
custom versions. Fixes the YVU9 format and probably some others.
2012-05-28 16:16:24 +02:00
Wim Taymans
0d12423aa2
videotestsrc: fix AYUV64 format string
2012-05-28 14:58:52 +02:00
Sebastian Dröge
4e649b5bff
videotestsrc: Update for basesrc API changes
2012-05-01 13:33:20 +02:00
Tim-Philipp Müller
3c6a3ad629
Use new gst_element_class_set_static_metadata()
2012-04-10 00:45:16 +01:00
Sebastian Dröge
ad42b16375
gst: Update for GST_PLUGIN_DEFINE() API change
2012-04-05 15:11:05 +02:00
Sebastian Dröge
65307dd132
gst: Update versioning
2012-04-04 14:55:15 +02:00
Wim Taymans
1982d1ce12
Release 0.11.3
2012-03-22 15:51:39 +01:00
Wim Taymans
dd819ddc6b
orc: avoid precompilation
...
Avoid compiling all the functions at startup but compile only what's needed when
needed.
2012-03-20 15:37:42 +01:00
Wim Taymans
e13a7c76a7
videotestsrc: fix decide_allocation
...
We want to propose a videopool even if downstream didn't provide one.
2012-03-16 20:22:19 +01:00
Wim Taymans
7c0e2b5b1e
update for allocation query changes
2012-03-15 20:36:51 +01:00
Wim Taymans
39d78762b9
take padding into account
2012-03-14 19:56:51 +01:00
Wim Taymans
9d8db57eb0
videotestsrc: don't leak the bufferpool
2012-03-12 19:51:21 +01:00
Wim Taymans
25137962ad
fix for caps API changes
2012-03-11 19:04:41 +01:00
Wim Taymans
d8f698fe20
x-raw-bayer -> x-bayer
...
Rename x-raw-bayer to x-bayer. We might want to merge this with x-raw eventually
but for now keep the x-raw namespace clean.
2012-03-05 12:42:27 +01:00
Tim-Philipp Müller
aa7ee3733d
videotestsrc: fix YV12 chroma plane confusion
...
GST_VIDEO_FRAME_PLANE_DATA() returns the data for the n-th plane,
not the n-th component. In this case, the chroma planes are swapped.
2012-02-22 09:58:20 +00:00
Sebastian Dröge
dc8984d76c
Merge branch 'master' into 0.11
...
Conflicts:
gst-libs/gst/app/gstappsrc.c
gst-libs/gst/audio/multichannel.h
gst-libs/gst/video/videooverlay.c
gst/playback/gstplaysink.c
gst/playback/gststreamsynchronizer.c
tests/check/Makefile.am
win32/common/libgstvideo.def
2012-01-10 13:15:12 +01:00
Havard Graff
cfdb48ba8f
videotestsrc: keep the calculation fixed-point
...
https://bugzilla.gnome.org/show_bug.cgi?id=667315
2012-01-05 11:00:47 +00:00