Skip to content

VideoProfile: No window! "errors" #1018

Closed

Description

@white-haired-uncle

MythTV Version : v35-Pre-331-g41b921c949-dirty

Not very current, and I have no idea why it's marked dirty, but this has been happening for years.

Is your feature request related to a problem? Please describe.

Every transcode, commflag, and previewgen throws these:

Jan 23 01:17:43 mythbackend mythtranscode: mythtranscode[144469]: E CoreContext mythvideoprofile.cpp:1335 (InitStatics) VideoProfile: No window!
Jan 23 01:17:43 mythbackend mythtranscode: message repeated 2 times: [ mythtranscode[144469]: E CoreContext mythvideoprofile.cpp:1335 (InitStatics) VideoProfile: No window!]

From a user perspective, it doesn't seem to be an error, but it does give a false clue when troubleshooting.

Describe the solution you'd like

Assuming it's not really a problem it probably should be an info at best.

Describe alternatives you've considered
grep -v ?

Activity

  1. ulmus-scott commented on Apr 3, 2025

    @ulmus-scott
    Contributor

    That log is from d293032 on 23 December 2020.

    Perhaps a check for gCoreContext->IsFrontend() should be added before

    if (!HasMythMainWindow())
    {
    LOG(VB_GENERAL, LOG_ERR, LOC + "No window!");
    return;
    }
    to return without the log message?

  2. chunter2 commented on Jan 27, 2026

    @chunter2

    @SteveErl @kmdewaal Can this be looked at too?

    Thanks

  3. added a commit that references this issue on Jan 28, 2026
    28e6ea1
  4. SteveErl commented on Jan 28, 2026

    @SteveErl
    Contributor

    I implemented the suggestion by @ulmus-scott and tested. The annoying error log messages are eliminated for mythcommflag.log and mythpreviewgen.log. My system doesn't do any transcoding, but it should be removed from there, as well.

  5. added 2 commits that reference this issue on Feb 11, 2026
    0bcc85b
    11083a0
  6. added a commit that references this issue on Oct 24, 2026
    08b101f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions