summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-10-08 20:01:52 +0200
committerCarl Hetherington <cth@carlh.net>2025-10-15 22:33:26 +0200
commit21d1c4bb94858baca4f5ff73c3a01f4d81906977 (patch)
tree240e973b2b3b5b4716162ebf8384319a2d8f2141
parent51456ece6c265028f96dc4b6555676aaca40d9b3 (diff)
White space: ffmpeg_stream.h
-rw-r--r--src/lib/ffmpeg_stream.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/lib/ffmpeg_stream.h b/src/lib/ffmpeg_stream.h
index 221075eeb..b797a6d90 100644
--- a/src/lib/ffmpeg_stream.h
+++ b/src/lib/ffmpeg_stream.h
@@ -30,12 +30,12 @@ struct AVStream;
class FFmpegStream
{
public:
- FFmpegStream (std::string n, int i)
- : name (n)
- , _id (i)
+ FFmpegStream(std::string n, int i)
+ : name(n)
+ , _id(i)
{}
- explicit FFmpegStream (cxml::ConstNodePtr);
+ explicit FFmpegStream(cxml::ConstNodePtr);
void as_xml(xmlpp::Element*) const;
@@ -43,27 +43,27 @@ public:
* @param index A stream index within the AVFormatContext.
* @return true if this FFmpegStream uses the given stream index.
*/
- bool uses_index (AVFormatContext const * c, int index) const;
- AVStream* stream (AVFormatContext const * c) const;
+ bool uses_index(AVFormatContext const * c, int index) const;
+ AVStream* stream(AVFormatContext const * c) const;
- std::string technical_summary () const {
- return "id " + boost::lexical_cast<std::string> (_id);
+ std::string technical_summary() const {
+ return "id " + boost::lexical_cast<std::string>(_id);
}
- std::string identifier () const {
- return boost::lexical_cast<std::string> (_id);
+ std::string identifier() const {
+ return boost::lexical_cast<std::string>(_id);
}
- int id () const {
+ int id() const {
return _id;
}
- int index (AVFormatContext const * c) const;
+ int index(AVFormatContext const * c) const;
std::string name;
- friend bool operator== (FFmpegStream const & a, FFmpegStream const & b);
- friend bool operator!= (FFmpegStream const & a, FFmpegStream const & b);
+ friend bool operator==(FFmpegStream const & a, FFmpegStream const & b);
+ friend bool operator!=(FFmpegStream const & a, FFmpegStream const & b);
private:
int _id;