Tim-Philipp Müller
b8d6962c9b
video: make GST_VIDEO_FORMAT_INFO_IS_*() macros booleans
...
Spotted by Stirling Westrup.
Fixes #726
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/926 >
2021-09-29 23:53:12 +00:00
Tim-Philipp Müller
43ed0df54c
audio: make GST_AUDIO_INFO_IS_UNPOSITIONED return a boolean
...
Luckily this worked right since the flag we check is the
only flag and its vale is 1, but feels more correct to
actually check for non-zeroness.
Spotted by Stirling Westrup.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/926 >
2021-09-29 23:53:12 +00:00
Xavier Claessens
7abb8802fe
Delete .arcconfig files
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/951 >
2021-09-29 17:52:59 +00:00
Tim-Philipp Müller
1f44dda4a8
docs: faq: monorepo: add another question and clarify bisecting section
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/953 >
2021-09-29 03:21:21 +00:00
Tim-Philipp Müller
34cd458aac
docs: faq: monorepo: import gitlab access token dialog screenshot
...
Best not to rely on external hosting.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/953 >
2021-09-29 03:21:21 +00:00
Olivier Crête
7abd83dfea
rtphdrext: Give "inherited" direction in set_attributes
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/906 >
2021-09-28 20:04:55 +00:00
Olivier Crête
6cd483d17a
rtphdrext: Use NULL-safe case insensitive comparison
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/906 >
2021-09-28 20:04:55 +00:00
Olivier Crête
2dd740c0c3
rtphdrext: Print warnings when trying to parse caps
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/906 >
2021-09-28 20:04:55 +00:00
Olivier Crête
5ec82c1c4e
rtphdrext: Pass just the attributes to the subclass
...
Since the base class now does the parsing, there is no need
to reproduce that code in all the subclasses, just pass the attributes
which are the only relevant bit anyway.
Also, only store the direction if the subclass accepted the caps
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/906 >
2021-09-28 20:04:55 +00:00
Olivier Crête
e65053a477
rtphdrext: Use fail_unless_equals_string() to make tests easier to debug
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/906 >
2021-09-28 20:04:55 +00:00
Olivier Crête
674611c851
rtphdrext test: Use helper function for caps
...
Also, let the base class parse the direction for us.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/906 >
2021-09-28 20:04:55 +00:00
Olivier Crête
2db9f42b36
rtphdrext-rfc6464: Use helper function to set caps field
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/906 >
2021-09-28 20:04:55 +00:00
Olivier Crête
87a91d1387
rtphdrext: Add helper function to set fields in caps
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/906 >
2021-09-28 20:04:55 +00:00
Olivier Crête
e76dce3c6e
rtphdrext: Parse direction from the caps
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/906 >
2021-09-28 20:04:55 +00:00
Olivier Crête
34a6b2b890
rtphdrext: Set the direction in the caps from the property
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/906 >
2021-09-28 20:04:55 +00:00
Olivier Crête
63d669e0bf
rtphdrext: Store the direction in the base class
...
Store the direction associated wit the RTP header extension in the
base class so it can use it.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/906 >
2021-09-28 20:04:55 +00:00
Olivier Crête
ba328fb98d
rtphdrext: Set caps without attributes as the default
...
Most subclasses just use the simple function, so just let the base class
do it. It makes less code in subclasses.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/906 >
2021-09-28 20:04:55 +00:00
Olivier Crête
498740fe57
rtphdrext: Put simple caps generation as the base class default
...
Instead of having a helper function that gets called by almost every
subclass, just let the base class set the caps fields automatically.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/906 >
2021-09-28 20:04:55 +00:00
Tim-Philipp Müller
ecf84cdd4e
docs: add mono repo FAQ
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/950 >
2021-09-28 19:49:12 +01:00
Brad Hards
ef05946837
doc: update IRC links to OFTC
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/945 >
2021-09-28 10:11:15 +10:00
Seungha Yang
052983014e
d3d11videosink: Add support for crop meta
...
... when upstream element is d3d11.
Note that, if upstream element is not d3d11, crop meta is almost
pointless since d3d11videosink will upload video frame to GPU memory
in any case.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/933 >
2021-09-27 16:29:09 +00:00
Seungha Yang
0fa5a06ed9
d3d11videosink: Perform propose_allocation() even when we have no configured window
...
In order to support d3d11 device update, d3d11videosink will configure
window on the first buffer. So, there might not be configured
window when propose_allocation() is required.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/933 >
2021-09-27 16:29:09 +00:00
Sebastian Dröge
a12762a29a
gs: Add support for authenticating via Service Account Credentials
...
This allows authenticating directly with Server Account credentials
instead of having it configured on host system separately, and thus
allows using arbitrary accounts configured/selected at runtime.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/934 >
2021-09-27 15:36:05 +00:00
Sebastian Dröge
c514f939c9
gs: Fix indentation and make it consistent
...
Apparently this partially used clang-format's default settings, so let's
use that for everything now.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/934 >
2021-09-27 15:36:05 +00:00
Havard Graff
6d4d4edfcc
videodecoder: request sync-points regularly on error
...
If we are not receiving a sync-point for a very long time, we need to
keep asking for them. The request-sync-point logic keeps track of how
many keyunitrequests we are allowed to send, but that would not matter
if we don't keep asking.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/930 >
2021-09-27 07:02:43 +00:00
Sebastian Dröge
dc30676002
commandline-formatter: Fix version documentation for ges_command_line_formatter_get_help()
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/929 >
2021-09-27 09:24:16 +03:00
Tim-Philipp Müller
677d8f4639
gstreamer: docs: document GST_DEBUG env var evaluation order
...
Fixes #716
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/923 >
2021-09-26 08:22:54 +00:00
Sebastian Dröge
3db957c10d
ges: Add a few missing annotations
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/921 >
2021-09-26 06:59:04 +00:00
Tim-Philipp Müller
f1a169f39d
Back to development
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/925 >
2021-09-26 01:07:02 +01:00
Sebastian Dröge
6d9ca9c679
webrtcbin: Always set SINK/SRC flags
...
webrtcbin can act as a sink/source depending on the SDP later. Without
setting this here already, surrounding bins might not notice this and
the pipeline configuration might become inconsistent, e.g. with regards
to latency.
See https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/737
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/900 >
2021-09-25 16:33:13 +03:00
Mathieu Duponchelle
b4cf146ed0
docs: link to concrete types rather than type macros
...
Latest hotdoc version extended the ignored, boilerplate macros
to now include TYPE macros for records as well
Linking to the concrete type is more informative
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/913 >
2021-09-25 01:29:38 +00:00
Mathieu Duponchelle
f0a158407c
mpegts: add missing Since comments after SCTE 35 work
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/913 >
2021-09-25 01:29:38 +00:00
Mathieu Duponchelle
555a5ea9dd
basetsmux: use private copy of g_ptr_array_copy
...
This function is only present since glib 2.62
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/913 >
2021-09-25 01:29:38 +00:00
Mathieu Duponchelle
c2eeb639b0
basetsmux: fix SCTE pts_adjustment with offsets
...
When there are elements between the demuxer and the muxer that
introduce an offset to the running time, or when offsets are
set on pads by the application, this shift must be taken into
account when calculating the final pts_adjustement.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/913 >
2021-09-25 01:29:38 +00:00
Mathieu Duponchelle
c3a161f287
basetsmux: rework SCTE section handling to handle passthrough
...
mpegtsmux can receive SCTE sections from two origins: events
created by the application, and events forwarded downstream by
mpegtsdemux, containing sections that may not have been fully
parsed, and additional data to help tsmux translate times to
the correct domain, both for requesting keyframes and calculating
an accurate pts_adjustment.
The complete approach is documented further in a comment above
the relevant function.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/913 >
2021-09-25 01:29:38 +00:00
Mathieu Duponchelle
e4f40ba526
mpegtspacketizer: handle "packetizing" already packetized data
...
.. when the section didn't have a packetizer. This can happen
as a result of building a new section from a copy of the original
data of another section.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/913 >
2021-09-25 01:29:38 +00:00
Mathieu Duponchelle
4af003bc02
tsdemux: switch SCTE 35 sections handling to a passthrough model
...
Instead of modifying the splice times in the incoming sections
to running time and expecting eg mpegtsmux to convert those back
to its local PES time domain, which might be impossible when
those splice times are encrypted or the specification is extended,
transmit the needed information to the muxer as separate fields in
the event:
* A pts offset field can be used by the muxer in order to calculate
a final pts_adjustment
* A rtime_map can be used by the muxer to determine the correct
running times at which it should request keyframes
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/913 >
2021-09-25 01:29:38 +00:00
Mathieu Duponchelle
1477d76b7d
scte-section: add support for packetizing splice_program_flag='0'
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/913 >
2021-09-25 01:29:38 +00:00
Mathieu Duponchelle
612e064154
scte-section: add support for packetizing schedule events
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/913 >
2021-09-25 01:29:38 +00:00
Mathieu Duponchelle
5ecd395d91
scte-section: Add TODO for porting to gst_bit_*
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/913 >
2021-09-25 01:29:38 +00:00
Mathieu Duponchelle
e272fb3444
scte-section: add support for parsing splice components
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/913 >
2021-09-25 01:29:38 +00:00
Mathieu Duponchelle
66533ea77d
scte-section: add support for SCHEDULE commands
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/913 >
2021-09-25 01:29:38 +00:00
Mathieu Duponchelle
ab0ab46f13
scte-section: fix typo
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/913 >
2021-09-25 01:29:37 +00:00
Mathieu Duponchelle
61fecce193
gst-scte-section: implement partial parsing
...
In cases where either the SIT is encrypted, or an unknown
command is encountered, we still want to send an event downstream.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/913 >
2021-09-25 01:29:37 +00:00
Mathieu Duponchelle
d17c7f25e6
scte35-section: semantic API break
...
Document that the constructors for the splice events expect
a running time, as users of the API can not be expected to
predict the appropriate local PTS.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/913 >
2021-09-25 01:29:37 +00:00
Mathieu Duponchelle
a9787d0c85
scte-section: add support for packetizing time_signal splices
...
time_signal splices are trivial, they only contain a splice_time()
and all the relevant information is carried in descriptors.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/913 >
2021-09-25 01:29:37 +00:00
Mathieu Duponchelle
be4d0fff23
basetsmux: extend SCTE 35 support
...
Makes it possible to support passing SCTE 35 cue points from
demuxer to muxer, while preserving correct timing.
This will also improve ex nihilo cue points injection, as splice
times and durations are now interpreted as running time values,
and may trigger key unit requests.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/913 >
2021-09-25 01:29:37 +00:00
Mathieu Duponchelle
1ca08bff57
tsdemux: Expose send-scte35-events property
...
When enabled, SCTE 35 sections (eg ad placement opportunities)
are forwarded as events donwstream.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/913 >
2021-09-25 01:29:37 +00:00
Mathieu Duponchelle
b2718ed6cf
mpegtsbase: expose vmethod to let subclass handle sections
...
This can be used by tsdemux to handle and forward SCTE 35
sections.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/913 >
2021-09-25 01:29:37 +00:00
Mathieu Duponchelle
a03c395582
mpegtssection: expose event constructor
...
This allows the demuxer to forward sections of interest downstream,
for example SCTE 35 splice information. These can then be reinjected
appropriately by a muxer for example.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/913 >
2021-09-25 01:29:37 +00:00