1
0
Fork 0
mirror of https://github.com/HenkKalkwater/harbour-sailfin.git synced 2025-09-06 18:32:45 +00:00

WIP: logic rewrite

WIP: adding loaders
This commit is contained in:
Chris Josten 2021-03-24 20:04:03 +01:00
parent b9b08ab384
commit 2360b261f7
1769 changed files with 124903 additions and 1963 deletions

View file

@ -33,6 +33,54 @@ namespace Jellyfin {
namespace DTO {
MediaStream::MediaStream() {}
MediaStream::MediaStream(const MediaStream &other) :
m_codec(other.m_codec),
m_codecTag(other.m_codecTag),
m_language(other.m_language),
m_colorRange(other.m_colorRange),
m_colorSpace(other.m_colorSpace),
m_colorTransfer(other.m_colorTransfer),
m_colorPrimaries(other.m_colorPrimaries),
m_comment(other.m_comment),
m_timeBase(other.m_timeBase),
m_codecTimeBase(other.m_codecTimeBase),
m_title(other.m_title),
m_videoRange(other.m_videoRange),
m_localizedUndefined(other.m_localizedUndefined),
m_localizedDefault(other.m_localizedDefault),
m_localizedForced(other.m_localizedForced),
m_displayTitle(other.m_displayTitle),
m_nalLengthSize(other.m_nalLengthSize),
m_isInterlaced(other.m_isInterlaced),
m_isAVC(other.m_isAVC),
m_channelLayout(other.m_channelLayout),
m_bitRate(other.m_bitRate),
m_bitDepth(other.m_bitDepth),
m_refFrames(other.m_refFrames),
m_packetLength(other.m_packetLength),
m_channels(other.m_channels),
m_sampleRate(other.m_sampleRate),
m_isDefault(other.m_isDefault),
m_isForced(other.m_isForced),
m_height(other.m_height),
m_width(other.m_width),
m_averageFrameRate(other.m_averageFrameRate),
m_realFrameRate(other.m_realFrameRate),
m_profile(other.m_profile),
m_type(other.m_type),
m_aspectRatio(other.m_aspectRatio),
m_index(other.m_index),
m_score(other.m_score),
m_isExternal(other.m_isExternal),
m_deliveryMethod(other.m_deliveryMethod),
m_deliveryUrl(other.m_deliveryUrl),
m_isExternalUrl(other.m_isExternalUrl),
m_isTextSubtitleStream(other.m_isTextSubtitleStream),
m_supportsExternalStream(other.m_supportsExternalStream),
m_path(other.m_path),
m_pixelFormat(other.m_pixelFormat),
m_level(other.m_level),
m_isAnamorphic(other.m_isAnamorphic){}
MediaStream MediaStream::fromJson(QJsonObject source) {
MediaStream instance;