Pass media_format via a reference CID 4401.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39900 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -258,7 +258,7 @@ ScopeView::SetRightTime(bigtime_t timestamp)
|
||||
|
||||
|
||||
void
|
||||
ScopeView::RenderTrack(BMediaTrack *track, media_format format)
|
||||
ScopeView::RenderTrack(BMediaTrack *track, media_format &format)
|
||||
{
|
||||
fMediaTrack = track;
|
||||
fPlayFormat = format;
|
||||
|
||||
@@ -25,7 +25,7 @@ public:
|
||||
void SetLeftTime(bigtime_t timestamp);
|
||||
void SetRightTime(bigtime_t timestamp);
|
||||
void SetTotalTime(bigtime_t timestamp, bool reset);
|
||||
void RenderTrack(BMediaTrack *track, media_format format);
|
||||
void RenderTrack(BMediaTrack *track, media_format &format);
|
||||
void CancelRendering();
|
||||
virtual void FrameResized(float width, float height);
|
||||
virtual void MouseDown(BPoint position);
|
||||
|
||||
Reference in New Issue
Block a user