mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-10 15:18:28 +02:00
streaminfo2: formatting code using astyle
Origin commit data
------------------
Branch: ni/coolstream
Commit: 3dccd3e52a
Author: vanhofen <vanhofen@gmx.de>
Date: 2019-03-16 (Sat, 16 Mar 2019)
Origin message was:
------------------
- streaminfo2: formatting code using astyle
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -165,7 +165,8 @@ void CStreamInfo2::analyzeStream(AVFormatContext *avfc, unsigned int idx)
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
ret = avcodec_parameters_to_context(avctx, st->codecpar);
|
ret = avcodec_parameters_to_context(avctx, st->codecpar);
|
||||||
if (ret < 0) {
|
if (ret < 0)
|
||||||
|
{
|
||||||
avcodec_free_context(&avctx);
|
avcodec_free_context(&avctx);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@@ -819,7 +820,8 @@ void CStreamInfo2::paint (int /*mode*/)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
struct row {
|
struct row
|
||||||
|
{
|
||||||
std::string key;
|
std::string key;
|
||||||
std::string val;
|
std::string val;
|
||||||
Font *f;
|
Font *f;
|
||||||
|
@@ -79,13 +79,15 @@ class CStreamInfo2 : public CMenuTarget
|
|||||||
unsigned int scaling;
|
unsigned int scaling;
|
||||||
unsigned int pmt_version;
|
unsigned int pmt_version;
|
||||||
int box_h, box_h2;
|
int box_h, box_h2;
|
||||||
struct feSignal {
|
struct feSignal
|
||||||
|
{
|
||||||
unsigned long ber, old_ber, max_ber, min_ber;
|
unsigned long ber, old_ber, max_ber, min_ber;
|
||||||
unsigned long sig, old_sig, max_sig, min_sig;
|
unsigned long sig, old_sig, max_sig, min_sig;
|
||||||
unsigned long snr, old_snr, max_snr, min_snr;
|
unsigned long snr, old_snr, max_snr, min_snr;
|
||||||
} signal;
|
} signal;
|
||||||
|
|
||||||
struct bitrate {
|
struct bitrate
|
||||||
|
{
|
||||||
unsigned int short_average, max_short_average, min_short_average;
|
unsigned int short_average, max_short_average, min_short_average;
|
||||||
} rate;
|
} rate;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user