Skip to content

Commit

Permalink
更新默认渲染方式.
Browse files Browse the repository at this point in the history
Signed-off-by: Jack <jack.wgm@gmail.com>
  • Loading branch information
Jackarain authored and microcai committed Mar 12, 2013
1 parent 425574a commit 103a96d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion win32/avcore/player_impl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -655,7 +655,7 @@ void player_impl::init_audio(ao_context *ao)
ao->destory_audio = wave_destory_audio;
}

void player_impl::init_video(vo_context *vo, int render_type/* = RENDER_D3D*/)
void player_impl::init_video(vo_context *vo, int render_type/* = RENDER_SOFT*/)
{
int ret = 0;
int check = 0;
Expand Down
2 changes: 1 addition & 1 deletion win32/avcore/player_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ class player_impl
void init_torrent_source(source_context *sc);
void init_yk_source(source_context *sc);
void init_audio(ao_context *ao);
void init_video(vo_context *vo, int render_type = RENDER_D3D);
void init_video(vo_context *vo, int render_type = RENDER_SOFT);

// 实时处理视频渲染的视频数据, 在这里完成比较加字幕, 加水印等操作.
static int draw_frame(struct vo_context *ctx, AVFrame* data, int pix_fmt, double pts);
Expand Down

0 comments on commit 103a96d

Please sign in to comment.