-
Notifications
You must be signed in to change notification settings - Fork 8.1k
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
MediaPlayer reset function causes that video can not play. #21
Comments
The reset() function is supposed to work like Android media player, but it has not been tested yet for now. |
Ok, I understand it. |
Here is another issues of the reset() api, Android. It will be blocked if the video source is stoped. The reset() api will hang in: and wait for the read_tid thread: Is it because the av_frame_read() is blocked in reading datas then the read thread can not handle the is->abort_request flag ? |
fixed: 5f00a1b |
feat: add log level filter for ijklog
I use mediaplayer and surface view to construct player to play video.
Firstly, playing video is successful and then use mediaplayer API reset() to prepare playing next video.
But the next video can not play. Log shows messages which below:
Error: the video system does not support an image
size of 1280x720 pixels. Try using -lowres or -vf "scale=w:h"
to reduce the image size.
So, I find the way to solve this problem. Release mediaplayer and new another mediaplayer instance.
Is function of ijkplayer API reset just like Android mediaplayer? Or has a another way to manipulate?
The text was updated successfully, but these errors were encountered: