Music Hub ..
A session-wide music playback service
 
Loading...
Searching...
No Matches
video_sink_p.h
Go to the documentation of this file.
1/*
2 * Copyright © 2021-2022 UBports Foundation.
3 *
4 * Contact: Alberto Mardegan <mardy@users.sourceforge.net>
5 *
6 * This program is free software: you can redistribute it and/or modify it
7 * under the terms of the GNU Lesser General Public License version 3,
8 * as published by the Free Software Foundation.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU Lesser General Public License for more details.
14 *
15 * You should have received a copy of the GNU Lesser General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */
18
19#ifndef LOMIRI_MEDIAHUB_VIDEO_SINK_P_H
20#define LOMIRI_MEDIAHUB_VIDEO_SINK_P_H
21
22#include "video_sink.h"
23
24#include "dbus_constants.h"
25#include "player.h"
26
27#include <functional>
28
29namespace lomiri {
30namespace MediaHub {
31
41
42typedef std::function<VideoSink *(uint32_t textureId, QObject *parent)>
44typedef uint32_t PlayerKey;
45
47 AVBackend::Backend backend);
48
50{
51public:
52 virtual ~VideoSinkPrivate() = default;
53
55};
56
57} // namespace MediaHub
58} // namespace lomiri
59
60#endif // LOMIRI_MEDIAHUB_VIDEO_SINK_P_H
VideoSinkFactory createVideoSinkFactory(PlayerKey key, AVBackend::Backend backend)
std::function< VideoSink *(uint32_t textureId, QObject *parent)> VideoSinkFactory