Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cant see VlcWidgetVideo #7

Closed
mardzo opened this issue Oct 9, 2016 · 1 comment
Closed

cant see VlcWidgetVideo #7

mardzo opened this issue Oct 9, 2016 · 1 comment

Comments

@mardzo
Copy link

mardzo commented Oct 9, 2016

hello
this is a slot i activate via qpushbutton:

void OPQWidgetOverload::openVideo()
{

    QDialog *holder = new QDialog(this);
    holder->resize(600,300);

    QString url = "rtsp://admin:admin@192.168.1.110:554/cam/realmonitor?channel=1subtype=1";

    VlcWidgetVideo *video = new VlcWidgetVideo(holder);

    VlcInstance *_instance = new VlcInstance(VlcCommon::args(), this);
    VlcMediaPlayer *_player = new VlcMediaPlayer(_instance);
    _player->setVideoWidget(video);

    holder->show();

      VlcMedia *_media = new VlcMedia(url, _instance);
     _player->open(_media);

}

When i press the button that activates this slot i see the QDialog but the VlcWidgetVideo is not there and i cant see the stream ;(. Funny thing is if i dont set a VlcVideoWidget to _player, the direct3D stream is outputed in another window and i can see the video stream so i know that it exists. I cant figure out why i cant see the VlcWidgetVideo widget.

Does anyone know a fix about this problem?
Thanks in advance

@ntadej
Copy link
Member

ntadej commented Oct 22, 2016

Duplicated issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants