Skip to content

Commit 78de8f1

Browse files
committed
Merge branch 'fixes/0.24' of github.com:MythTV/mythtv into fixes/0.24
2 parents bc8e93c + c81a3d7 commit 78de8f1

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

mythtv/libs/libmythtv/audioplayer.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -347,11 +347,17 @@ void AudioPlayer::AddAudioData(char *buffer, int len, int64_t timecode)
347347
{
348348
if (!m_audioOutput)
349349
return;
350+
<<<<<<< HEAD
350351

351352
if (m_parent->PrepareAudioSample(timecode) && !no_audio_out)
352353
m_audioOutput->Drain();
353354
int samplesize = m_audioOutput->GetBytesPerFrame();
354355

356+
=======
357+
if (m_parent->PrepareAudioSample(timecode) && !no_audio_out)
358+
m_audioOutput->Drain();
359+
int samplesize = m_channels * AudioOutputSettings::SampleSize(m_format);
360+
>>>>>>> c81a3d77184738671bfd03f87f27e619189843c3
355361
if (samplesize <= 0)
356362
return;
357363
int frames = len / samplesize;

mythtv/themes/MythCenter-wide/osd.xml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -429,6 +429,22 @@
429429
<fill color="#FFFFFF" alpha="255" />
430430
<alphapulse min="180" max="255" change="4" />
431431
</shape>
432+
<shape name="cuttoright">
433+
<area>0,4,3,30</area>
434+
<fill color="#FF0000" alpha="255" />
435+
</shape>
436+
<shape name="cuttoleft">
437+
<area>0,4,3,30</area>
438+
<fill color="#FF0000" alpha="255" />
439+
</shape>
440+
<shape name="keeptoright">
441+
<area>0,4,3,30</area>
442+
<fill color="#00FF00" alpha="255" />
443+
</shape>
444+
<shape name="keeptoleft">
445+
<area>0,4,3,30</area>
446+
<fill color="#00FF00" alpha="255" />
447+
</shape>
432448
</editbar>
433449
</window>
434450

0 commit comments

Comments
 (0)