Commit 08dc4cbb6dacdddea62b5ded30a023b6a4798b7f
1 parent
467642cc
Changed RENDERING_TYPE to renderingType for video view
Change-Id: I8b12cd759774e790c8e1abfc3c65c8d3708e7d70
Showing
1 changed file
with
2 additions
and
12 deletions
examples/video-view/video-view-example.cpp
| ... | ... | @@ -184,10 +184,9 @@ class VideoViewController: public ConnectionTracker |
| 184 | 184 | |
| 185 | 185 | Stage::GetCurrent().KeyEventSignal().Connect( this, &VideoViewController::OnKeyEvent ); |
| 186 | 186 | |
| 187 | - mWindowSurfaceTarget.Insert( "RENDERING_TARGET", "windowSurfaceTarget" ); | |
| 188 | - mNativeImageTarget.Insert( "RENDERING_TARGET", "nativeImageTarget" ); | |
| 187 | + mWindowSurfaceTarget.Insert( "renderingTarget", "windowSurfaceTarget" ); | |
| 188 | + mNativeImageTarget.Insert( "renderingTarget", "nativeImageTarget" ); | |
| 189 | 189 | |
| 190 | - mVideoView.FinishedSignal().Connect( this, &VideoViewController::OnFinished ); | |
| 191 | 190 | } |
| 192 | 191 | |
| 193 | 192 | bool OnButtonClicked( Button button ) |
| ... | ... | @@ -266,15 +265,6 @@ class VideoViewController: public ConnectionTracker |
| 266 | 265 | return true; |
| 267 | 266 | } |
| 268 | 267 | |
| 269 | - void OnFinished( VideoView& view ) | |
| 270 | - { | |
| 271 | - if( !mIsFullScreen ) | |
| 272 | - { | |
| 273 | - mRotationAnimation.Play(); | |
| 274 | - mIsStop = true; | |
| 275 | - } | |
| 276 | - } | |
| 277 | - | |
| 278 | 268 | void OnPan( Actor actor, const PanGesture& gesture ) |
| 279 | 269 | { |
| 280 | 270 | if( !mIsFullScreen && gesture.state == Gesture::Continuing ) | ... | ... |