| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Until the examples are ported to opengl3/gles2, they will not work with any
other GL api.
|
|
|
|
| |
Fixes some sporadic X11 threading assertions.
|
|
|
|
|
|
| |
The examples don't work with any other GL API.
Also fix the yuv example to not translate the cube out of the clipping area.
|
|
|
|
| |
Fixes a negotiation failure in the example
|
|
|
|
|
|
|
|
|
| |
With e38af2304427db908a16bbae0e60aa68be1ba5b5 returning the correct contexts,
gst_gl_display_add_context() was susceptible to causing infinte loops when
adding the same GstGLContext more than once. Fix and add a test for
gst_gl_display_add_context().
Fixes glvideomixer gst-validate tests.
|
|
|
|
|
| |
X11_LIBS is needed for XInitThreads() and without the #define we get
warnings about the GL API being still unstable.
|
|
|
|
|
|
|
|
|
| |
When the start_type is GST_SEEK_TYPE_NONE for a forward seek
(or stop_type for a reverse) is not set on a snap seeking operation,
the element should use the current position and then snap as requested.
Also fixes uninitialized variable complaint by clang about
'ts' variable.
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=756282
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
All hlsdemux tests create a GstStructure called "state" that can be used
by test cases to store information during a test. The name of this
structure is arbitrary. When the code was written, the intention was
to use the name of the test, to aid debugging. However, during
development this was lost, so that the state GstStructure is always
given the name "setup_test_variables".
This commit changes this so that the name of the test is used.
https://bugzilla.gnome.org/show_bug.cgi?id=762684
|
|
|
|
|
|
|
|
| |
The default one is 6 minutes, the test was using 5 minutes so just
resort to using the default.
For the non-valgrind test also use the default 20 secs instead of
reducing it to 6s. No real reason to set a custom value here.
|
|
|
|
|
| |
Verifies that proper caps are returned based on what downstream
restricts.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When caps are already negotiated it should be possible to
select formats other than the one that was negotiated. If downstream
allows alpha video caps and it has already negotiated to a non-alpha
format, caps queries should still return the alpha caps as a possible
format as caps renegotiation can happen.
Includes tests (for compositor) to check that caps queries done after
a caps has been negotiated returns complete results
https://bugzilla.gnome.org/show_bug.cgi?id=757610
|
| |
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=719849
|
|
|
|
|
|
|
| |
Resurrected from the Farstream repository and given an
overhaul to fix races, deadlocks etc.
https://bugzilla.gnome.org/show_bug.cgi?id=756252
|
|
|
|
|
|
|
|
|
|
|
|
| |
gst_mpd_client_get_next_segment_availability_start_time
The function actually returns the segment availability start time (as defined by the standard).
That is at the end of the segment, but it is called availability start time.
Availability end time is something else (the time when the segment is no longer
available on the server). The function name was misleading.
https://bugzilla.gnome.org/show_bug.cgi?id=757655
|
|
|
|
|
|
| |
segment timeline is used
https://bugzilla.gnome.org/show_bug.cgi?id=757655
|
|
|
|
|
|
|
| |
When removing a pad, the on_demuxPadRemoved function must find a stream
for that pad.
https://bugzilla.gnome.org/show_bug.cgi?id=760328
|
|
|
|
|
|
| |
on_demuxNewPad registered the on_appsink_event callback on a wrong pad.
https://bugzilla.gnome.org/show_bug.cgi?id=760328
|
|
|
|
|
|
|
|
| |
The demux_sent_eos callback is unused in tests. It was also registered on
a wrong pad, so it actually triggered when demux received eos from a
fragment download.
https://bugzilla.gnome.org/show_bug.cgi?id=760328
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=760328
|
|
|
|
|
|
| |
To get the CK_DEFAULT_TIMEOUT defined for all tests
https://bugzilla.gnome.org/show_bug.cgi?id=761472
|
|
|
|
|
|
|
|
|
|
| |
Adds unit tests similar to the ones that we have for DASH and HLS.
Tests:
* manifest parsing finishes successfully
* some queries (duration, seekable, latency)
* seeking with various values and flags
|
|
|
|
|
|
|
|
|
|
|
| |
Similar to HLS but DASH has the extra issue that it can have
multiple streams so snapping can be tricky as streams usually
won't be aligned.
For now, those tests handle the case of only having a single
stream.
https://bugzilla.gnome.org/show_bug.cgi?id=759158
|
|
|
|
|
| |
Test that a seek that only updates the stop position works
as expected
|
|
|
|
|
| |
8e788f284508612982e8e38336eed676c2eec35a broke one of the
dash mpd tests. This updates and fixes it.
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=756082
|
|
|
|
|
|
|
| |
Don't think we need this any longer or want to
support it, and clearly no one has been missing
it all these years either, so let's just get rid
of it.
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=760600
|
|
|
|
|
|
|
|
|
|
|
|
| |
Handling the ghostpad and its internal pad was causing more issues
than helping because of their coupled activation/deactivation
actions.
As we have to install custom chain,event and query functions it is
better to use a floating sink pad internally in the demuxer and just
use those pad functions to push through a standard pad in the demuxer
https://bugzilla.gnome.org/show_bug.cgi?id=757951
|
|
|
|
| |
Currently only GL_TIME_ELAPSED and GL_TIMESTAMP are supported
|
|
|
|
|
| |
Add a test for seeking that only updates stop position and verifies
that start is unmodified
|
|
|
|
|
|
|
|
| |
Some operations are unnecessary when running with only a single GL
context.
e.g. glFlush when setting a fence object as the flush happens on wait.
API: gst_gl_context_is_shared
|
|
|
|
|
|
|
| |
Checks if the post seek segment is what is expected.
Also makes it easy to add more tests with different seeking flags using the
same functions.
|
|
|
|
|
| |
Add tests to ensure snap flags work as expected for reverse
rates
|
|
|
|
|
|
| |
Tests that check that the segment sent after a seek is correct.
Allows testing that multiple seeking flags work as expected
|
|
|
|
|
|
| |
Allows writing tests that verify that events are correct.
Useful to monitor and check segments after seeks, for example.
|
|
|
|
|
| |
Allows defining a seek event to be able to change seeking parameters
and create more seeking test scenarios
|
| |
|
|
|
|
|
|
|
|
| |
constructor
In very few cases the simple version was actually needed and having the
parameters hidden by a _full() version caused application that actually needed
it to not use it.
|
|
|
|
| |
Allows quicker inspection of what failed.
|
| |
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=756573
|
|
|
|
|
| |
The unit test is downloading a few small media files from the Internet,
which are then used during the test. "make clean" removes the files again.
|
|
|
|
|
|
|
|
|
|
|
| |
If the query parameter (for example
http://example.net/1054559_1500k.mp4/master.m3u8?acl=/*1054559_1500k.mp4),
check that m3u8.c correctly converts the relative URLs of the media
playlists in to absolute URLs. It must not use the last '/' it finds in
the URL, as according to RFC3986 the '/' character is allowed in
the query part of the URL.
https://bugzilla.gnome.org/show_bug.cgi?id=758384
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The URI attribute from the EXT-X-KEY tag and the URI attribute from the
EXT-X-I-FRAMES-ONLY tag are both quoted-string attibutes that have their
quotation marks removed during parsing. The CODECS attribute of the
EXT-X-STREAM-INF is also a quoted-string attribute, but this attribute
was not being un-quoted.
This commit changes the parser to always unquote all quoted-string
attributes and adjusts the unit tests to this new bevahiour for the
CODECS attribute.
An additional test is added to check that parsing of all of the fields
in the EXT-X-STREAM tag is correct, including those that contain comma
characters.
https://bugzilla.gnome.org/show_bug.cgi?id=758384
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Using the new GstAdaptiveDemux test framework, add tests that
exercise hlsdemux. The following tests are added:
simpleTest
A simple playlist that contains some media URLs
testMediaPlaylist
A master playlist with a variant playlist that contains media URLs
testMediaPlaylistNotFound
A master playlist that points to a missing variant playlist
testFragmentNotFound
A master playlist with a variant playlist that contains media URLs
There is a missing media file referenced from the variant playlist.
testFragmentDownloadError
A master playlist with a variant playlist that contains media URLs
During the download of one media file, the test simulates the network
connection being dropped.
testSeek
A simple test of trying to perform a seek on an HLS stream.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
To allow code from dash_demux.c to be used by other elements
that are based upon GstAdaptiveDemux, the code has been
refactored into four new files:
adaptive_demux_engine.[ch]
adaptive_demux_common.[ch]
The code in adaptive_demux_engine.c provides a generic
test engine for elements based upon GstAdaptiveDemux.
The code in adaptive_demux_common.c provides a set
of utility functions that are common between the tests
for hlsdemux and dashdemux.
As part of the refactoring, variables in structures were
renamed from using camelCase to underscore_case to match other
GStreamer source code.
The fake_http_src was renamed test_http_src and changed to use
callbacks to provide input data and error conditions. Rather than
using an array of input data that tries to encode all the
possible use cases for the GstTestHTTPSrc element, use a struct of
callbacks.
Users of this element are obliged to implement at least the src_start
callback, which provides a way to link from a URI to the settings
for that URI.
|
| |
|
|
|
|
| |
The convention is to have the destroy notify last after any user data
|