Skip to content

Commit 5190623

Browse files
author
Clement Champetier
committed
transcoder: fix formatting
1 parent 0350ade commit 5190623

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

src/AvTranscoder/transcoder/StreamTranscoder.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ class AvExport StreamTranscoder
136136
float _offset; ///< Offset, in seconds, at the beginning of the StreamTranscoder.
137137

138138
bool _needToSwitchToGenerator; ///< Set if need to switch to a generator during the process (because, of other streams
139-
///duration, or an offset)
139+
/// duration, or an offset)
140140
};
141141
}
142142

src/AvTranscoder/transcoder/Transcoder.cpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -599,9 +599,10 @@ void Transcoder::fillProcessStat(ProcessStat& processStat)
599599
for(size_t streamIndex = 0; streamIndex < _streamTranscoders.size(); ++streamIndex)
600600
{
601601
IOutputStream& stream = _streamTranscoders.at(streamIndex)->getOutputStream();
602-
const IInputStream* inputStream = _streamTranscoders.at( streamIndex )->getInputStream();
603-
if(inputStream == NULL) {
604-
LOG_WARN( "Cannot process statistics of generated stream." )
602+
const IInputStream* inputStream = _streamTranscoders.at(streamIndex)->getInputStream();
603+
if(inputStream == NULL)
604+
{
605+
LOG_WARN("Cannot process statistics of generated stream.")
605606
continue;
606607
}
607608
const AVMediaType mediaType = inputStream->getProperties().getStreamType();

src/AvTranscoder/transcoder/Transcoder.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,13 +236,13 @@ class AvExport Transcoder
236236
std::vector<StreamTranscoder*> _streamTranscoders; ///< All streams of the output media file after process.
237237
std::vector<StreamTranscoder*> _streamTranscodersAllocated; ///< Streams allocated inside the Transcoder (has ownership)
238238

239-
ProfileLoader _profileLoader; ///< Objet to get existing profiles, and add new ones for the Transcoder.
239+
ProfileLoader _profileLoader; ///< Objet to get existing profiles, and add new ones for the Transcoder.
240240

241241
EProcessMethod _eProcessMethod; ///< Processing policy
242242
size_t
243243
_mainStreamIndex; ///< Index of stream used to stop the process of transcode in case of eProcessMethodBasedOnStream.
244244
float _outputDuration; ///< Duration of output media used to stop the process of transcode in case of
245-
///eProcessMethodBasedOnDuration.
245+
/// eProcessMethodBasedOnDuration.
246246
};
247247
}
248248

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy