LibreOffice Module avmedia (master) 1
Namespaces | Macros | Functions | Variables
gstplayer.cxx File Reference
#include <sal/config.h>
#include <algorithm>
#include <cassert>
#include <chrono>
#include <cstddef>
#include <cstring>
#include <map>
#include <set>
#include <vector>
#include <math.h>
#include <com/sun/star/text/GraphicCrop.hpp>
#include <cppuhelper/supportsservice.hxx>
#include <sal/log.hxx>
#include <rtl/string.hxx>
#include <salhelper/thread.hxx>
#include <vcl/svapp.hxx>
#include <vcl/syschild.hxx>
#include <vcl/sysdata.hxx>
#include <vcl/graph.hxx>
#include <avmedia/mediaitem.hxx>
#include "gstplayer.hxx"
#include "gstframegrabber.hxx"
#include "gstwindow.hxx"
#include <gst/video/videooverlay.h>
#include <gst/pbutils/missing-plugins.h>
#include <gst/pbutils/pbutils.h>
Include dependency graph for gstplayer.cxx:

Go to the source code of this file.

Namespaces

namespace  avmedia
 
namespace  avmedia::gstreamer
 

Macros

#define AVVERSION   "gst 1.0: "
 
#define LCL_WAYLAND_DISPLAY_HANDLE_CONTEXT_TYPE   "GstWaylandDisplayHandleContextType"
 

Functions

static gboolean avmedia::gstreamer::pipeline_bus_callback (GstBus *, GstMessage *message, gpointer data)
 
static GstBusSyncReply avmedia::gstreamer::pipeline_bus_sync_handler (GstBus *, GstMessage *message, gpointer data)
 
static bool avmedia::gstreamer::lcl_is_wayland_display_handle_need_context_message (GstMessage *msg)
 
static GstContext * avmedia::gstreamer::lcl_wayland_display_handle_context_new (void *display)
 

Variables

constexpr OUStringLiteral AVMEDIA_GST_PLAYER_IMPLEMENTATIONNAME = u"com.sun.star.comp.avmedia.Player_GStreamer"
 
constexpr OUStringLiteral AVMEDIA_GST_PLAYER_SERVICENAME = u"com.sun.star.media.Player_GStreamer"
 

Macro Definition Documentation

◆ AVVERSION

#define AVVERSION   "gst 1.0: "

Definition at line 54 of file gstplayer.cxx.

◆ LCL_WAYLAND_DISPLAY_HANDLE_CONTEXT_TYPE

#define LCL_WAYLAND_DISPLAY_HANDLE_CONTEXT_TYPE   "GstWaylandDisplayHandleContextType"

Definition at line 414 of file gstplayer.cxx.

Variable Documentation

◆ AVMEDIA_GST_PLAYER_IMPLEMENTATIONNAME

constexpr OUStringLiteral AVMEDIA_GST_PLAYER_IMPLEMENTATIONNAME = u"com.sun.star.comp.avmedia.Player_GStreamer"
constexpr

Definition at line 52 of file gstplayer.cxx.

Referenced by avmedia::gstreamer::Player::getImplementationName().

◆ AVMEDIA_GST_PLAYER_SERVICENAME

constexpr OUStringLiteral AVMEDIA_GST_PLAYER_SERVICENAME = u"com.sun.star.media.Player_GStreamer"
constexpr

Definition at line 53 of file gstplayer.cxx.

Referenced by avmedia::gstreamer::Player::getSupportedServiceNames().

◆ currentDetails_

std::vector<OString> currentDetails_
private

Definition at line 105 of file gstplayer.cxx.

◆ currentSources_

std::set<rtl::Reference<Player> > currentSources_
private

Definition at line 106 of file gstplayer.cxx.

◆ currentThread_

rtl::Reference<MissingPluginInstallerThread> currentThread_
private

Definition at line 104 of file gstplayer.cxx.

◆ flag_

bool& flag_
private

Definition at line 69 of file gstplayer.cxx.

◆ inCleanUp_

bool inCleanUp_
private

Definition at line 108 of file gstplayer.cxx.

◆ launchNewThread_

bool launchNewThread_
private

Definition at line 107 of file gstplayer.cxx.

◆ mutex_

osl::Mutex mutex_
private

Definition at line 101 of file gstplayer.cxx.

◆ queued_

std::map<OString, std::set<rtl::Reference<Player> > > queued_
private

Definition at line 103 of file gstplayer.cxx.

◆ reported_

std::set<OString> reported_
private

Definition at line 102 of file gstplayer.cxx.