Merge lp:~schwann/qtubuntu-camera/camera-always-new-texture-on-connect into lp:qtubuntu-camera

Proposed by Günter Schwann
Status: Merged
Approved by: Olivier Tilloy
Approved revision: 65
Merged at revision: 66
Proposed branch: lp:~schwann/qtubuntu-camera/camera-always-new-texture-on-connect
Merge into: lp:qtubuntu-camera
Diff against target: 12 lines (+2/-0)
1 file modified
src/aalvideorenderercontrol.cpp (+2/-0)
To merge this branch: bzr merge lp:~schwann/qtubuntu-camera/camera-always-new-texture-on-connect
Reviewer Review Type Date Requested Status
Olivier Tilloy Approve
PS Jenkins bot continuous-integration Approve
Review via email: mp+175774@code.launchpad.net

Commit message

Avoid using old textures LP: #1170481

Description of the change

Avoid using old textures LP: #1170481

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Olivier Tilloy (osomon) wrote :

The change looks good, and I can confirm that it fixes bug #1170481 (tested on Galaxy Nexus).

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/aalvideorenderercontrol.cpp'
2--- src/aalvideorenderercontrol.cpp 2013-07-18 14:29:13 +0000
3+++ src/aalvideorenderercontrol.cpp 2013-07-19 09:07:26 +0000
4@@ -101,6 +101,8 @@
5 {
6 Q_UNUSED(control);
7 listener->on_preview_texture_needs_update_cb = &AalVideoRendererControl::updateViewfinderFrameCB;
8+ m_textureId = 0;
9+ m_frameCount = 0;
10 }
11
12 void AalVideoRendererControl::startPreview()

Subscribers

People subscribed via source and target branches