Code Monkey home page Code Monkey logo

Comments (11)

ktws avatar ktws commented on July 29, 2024

--win bug first appears in omxplayer_0.3.0git201308146e81c95_armhf.deb (http://omxplayer.sconde.net/ builds).

from omxplayer.

skgsergio avatar skgsergio commented on July 29, 2024

I can't confirm the bug atm (I'm far away from my raspberry) but if the first non-working version is the one @ktws says then the problem should be between efd1049 and 6e81c95

from omxplayer.

aquadat0r avatar aquadat0r commented on July 29, 2024

I can confirm that this is broken in c99bc80.

from omxplayer.

aquadat0r avatar aquadat0r commented on July 29, 2024

Issue is closed in both huceke/omxplayer and popcornmix/omxplayer, but I have not managed to see any feedback?

from omxplayer.

skgsergio avatar skgsergio commented on July 29, 2024

It's not closed here, this issue is still open.

from omxplayer.

jmeiners avatar jmeiners commented on July 29, 2024

I think the problem is this code (comments are my corrections). It works after this fix

void COMXVideo::SetVideoRect(const CRect& SrcRect, const CRect& DestRect)
{
if(!m_is_open)
return;

//if ( !m_settings_changed || !((DestRect.x2 > DestRect.x1 && DestRect.y2 > DestRect.y1) || m_pixel_aspect != 0.0f) )
if ( !((DestRect.x2 > DestRect.x1) && (DestRect.y2 > DestRect.y1)) && (m_pixel_aspect == 0.0f) ){
return;
}

OMX_ERRORTYPE omx_err;
OMX_CONFIG_DISPLAYREGIONTYPE configDisplay;
OMX_INIT_STRUCTURE(configDisplay);
configDisplay.nPortIndex = m_omx_render.GetInputPort();

// configured dest_rect takes precedence
//if (DestRect.x2 > DestRect.x1 && DestRect.y2 > DestRect.y1)
if ((DestRect.x2 > DestRect.x1) && (DestRect.y2 > DestRect.y1))

from omxplayer.

popcornmix avatar popcornmix commented on July 29, 2024

I've pushed a fix. @jmeiners can you confirm it works okay?

from omxplayer.

PaoloBasso avatar PaoloBasso commented on July 29, 2024

I tested the latest version but the problem is still. I run this command
omxplayer --win "40 20 338 277" "rtsp://admin:[email protected]:554/cam/realmonitor?channel=1&subtype=1"
but it view fullscreen

from omxplayer.

jmeiners avatar jmeiners commented on July 29, 2024

@popcornmix Yes, it works for me.

from omxplayer.

Ruffio avatar Ruffio commented on July 29, 2024

@popcornmix, if it is fixed this issue should be closed...

from omxplayer.

PaoloBasso avatar PaoloBasso commented on July 29, 2024

Thanks
for your attention!!!!

----- Messaggio originale -----

Da: "Rasmus Christiansen" [email protected]
A: "popcornmix/omxplayer" [email protected]
Cc: "PaoloBasso" [email protected]
Inviato: Martedì, 9 giugno 2015 9:24:59
Oggetto: Re: [omxplayer] omxplayer --win not work (#41)

@popcornmix , if it is fixed this issue should be closed...

Reply to this email directly or view it on GitHub .

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.