Permalink
Browse files

Set the HLS status message when transcoding starts.

  • Loading branch information...
1 parent 6810255 commit 28fd68a49741d0ce7c4669eb8fa4b1cdce3f2952 @cpinkham cpinkham committed Jul 20, 2012
Showing with 5 additions and 0 deletions.
  1. +5 −0 mythtv/programs/mythtranscode/transcode.cpp
@@ -914,6 +914,7 @@ int Transcode::TranscodeFile(const QString &inputname,
{
hls = new HTTPLiveStream(hlsStreamID);
hls->UpdateStatus(kHLSStatusStarting);
+ hls->UpdateStatusMessage("Transcoding Starting");
cmdWidth = hls->GetWidth();
cmdHeight = hls->GetHeight();
cmdBitrate = hls->GetBitrate();
@@ -1144,6 +1145,7 @@ int Transcode::TranscodeFile(const QString &inputname,
segmentSize, audioOnlyBitrate);
hls->UpdateStatus(kHLSStatusStarting);
+ hls->UpdateStatusMessage("Transcoding Starting");
hls->UpdateSizeInfo(newWidth, newHeight, video_width, video_height);
if ((hlsStreamID != -1) &&
@@ -1646,7 +1648,10 @@ int Transcode::TranscodeFile(const QString &inputname,
VideoFrame *lastDecode = NULL;
if (hls)
+ {
hls->UpdateStatus(kHLSStatusRunning);
+ hls->UpdateStatusMessage("Transcoding");
+ }
while ((!stopSignalled) &&
(lastDecode = frameQueue->GetFrame(did_ff, is_key)))

0 comments on commit 28fd68a

Please sign in to comment.