Giter Site home page Giter Site logo

Comments (6)

torarin avatar torarin commented on August 27, 2024

I have seen that assertion error before, but I can't for the life of me reproduce it now. In any case, it's a side effect of the old subtitle code which isn't used anymore, so I guess we should just rip that all out. The assert itself breaks the terminal because omxplayer's termios trickery isn't properly cleaned up.

See if this doesn't fix things: https://github.com/torarin/omxplayer/tree/remove_old

from omxplayer.

torarin avatar torarin commented on August 27, 2024

I wonder if @huceke could chime in on the following:

  • COMXCoreComponent::Deinitialize() calls FlushAll. Why? Changing state to OMX_StateIdle should already flush buffers.
  • COMXCoreComponent::DecoderEmptyBufferDone and COMXCoreComponent::DecoderFillBufferDone don't push their buffers if m_exit == true. Presumably, this causes the assertion above to trigger. Why can't they push on deinitialization?
  • In COMXCoreComponent::Deinitialize(), why is the state set to OMX_StateIdle twice, both before and after Free(Input|Output)Buffers?

from omxplayer.

ph0ng avatar ph0ng commented on August 27, 2024

Seems to do the trick!

from omxplayer.

ph0ng avatar ph0ng commented on August 27, 2024

I guess you would need to open a pull request to get @huceke's attention. I've been running this for several days without any problems.

from omxplayer.

torarin avatar torarin commented on August 27, 2024

I will, I just wanted to investigate it a bit further.

from omxplayer.

popcornmix avatar popcornmix commented on August 27, 2024

Anyone still seeing this? Can you post a sample file that causes it if you do?

from omxplayer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.