Listen on all network interfaces for incoming connections.
Previous soup_server_listen_local() only listens on local
loopback device preventing access from network, so use
listen_all() instead to allow access through any interface.
Fixes#362
GstClapperSink now allows to specify the media rotation via the `rotation`
property, which should be of type GstVideoOrientationMethod.
The default behaviour is to detect the media rotation automatically.
Signed-off-by: Eugenio Paolantonio (g7) <me@medesimo.eu>
Rotation can be set by passing a GstVideoOrientationMethod to the
gst_clapper_paintable_set_rotation() function.
The actual rotation is done through GskTransforms directly on the
Snapshot.
Signed-off-by: Eugenio Paolantonio (g7) <me@medesimo.eu>
When started from gst-play/launch-1.0 show window right after it was created.
No need to idle dispatch window present when changing state, since we are
already on correct thread when opening resources using start() method.
The method gtk_picture_set_keep_aspect_ratio is deprecated. As per the
warnings given when compiling clapper, it is replaced with
gtk_picture_set_content_fit with the same behavior as before.
The contents of extras and lib/plugin folders should not be marked as linguist-vendored since they include only my own code made for Clapper. Lets include them in git stats.
We do not need network connection to validate our appstream file.
Make it easier to run tests in containers that do not have network access.
Closes#307
Similarly as with other properties, we should aim to make this into user config option.
For the time being remove, as our outdated default user-agent seems to be breaking
few HLS streaming services.
* New translations com.github.rafostar.Clapper.pot (Persian)
* New translations com.github.rafostar.Clapper.pot (Turkish)
* New translations com.github.rafostar.Clapper.pot (Asturian)
Do not assume that HW can do every format that GLUpload/GLColorConvert can.
Check what video formats GL context actually supports and advertise that,
so a format that HW cannot do will never be picked up.
Create a GL context handler subclass of recently added context handler base class and
rework code to use it. This simplifies a lot of things, like: switching of importers
at runtime, handling context queries, sharing data between importers, etc.
In order to bridge work with GL between GTK and GStreamer reliably, we need to create and
check context capabilities ahead of time. We also need to be able to query context at any
time during playback. Also we should avoid changing importers on context queries, this can
lead to all sort of problems.
To be able to achieve all of above, introduce new context handler base class that works
separately of importers.