Opened 5 years ago
#15718 new bug
Media Kit: "Invalid return value 0 for stream protocol" error when playing wav or ogg file
Reported by: | X512 | Owned by: | nobody |
---|---|---|---|
Priority: | normal | Milestone: | Unscheduled |
Component: | Kits/Kernel Kit | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
This is hrev53868. Reproduced on both x86 and x86_64.
Steps to reproduce:
- Run
media_client play /boot/home/sounds/BeBeep.wav
(BeBeep.wav is from BeOS R5 PE). - A lot of
Invalid return value 0 for stream protocol
errors will be written to stdout.
Same effect with MediaPlayer. Mp4 files are playing fine on first time, but when opening second time by dropping file Invalid return value 0 for stream protocol
is written to stdout 2 times and glitches appear sometimes.
Stdout of media_client:
Invalid return value 0 for stream protocol Invalid return value 0 for stream protocol Invalid return value 0 for stream protocol Invalid return value 0 for stream protocol [adpcm_ms @ 0x16dce6d2bc0] Multiple frames in a packet. Playing file... TimeSourceObjectManager::GetTimeSource, node id 2 BMediaRoster::Connect calling BBufferProducer::FormatProposal with format raw_audio;44100;2;0x2;2;0x800;0x0;0;0x0000 BMediaRoster::Connect calling BBufferConsumer::AcceptFormat with format raw_audio;44100;2;0x2;2;0x800;0x0;0;0x0000 BMediaRoster::Connect calling BBufferProducer::PrepareToConnect with format raw_audio;44100;2;0x2;2;0x800;0x0;0;0x0000 BMediaRoster::Connect calling BBufferConsumer::Connected() with format raw_audio;44100;2;0x2;2;0x800;0x0;0;0x0000 BMediaRoster::Connect calling BBufferProducer::Connect with format raw_audio;44100;2;0x2;2;0x800;0x0;0;0x0000 format raw_audio;44100;2;0x2;2;0x800;0x0;0;0x0000 input node(node 3, port 244); source(port 3865, id 0); dest(port 244, id 24); fmt(raw_audio;44100;2;0x2;2;0x800;0x0;0;0x0000); name(playfile) output node(node 28, port 3865); source(port 3865, id 0); dest(port 244, id 24); fmt(raw_audio;44100;2;0x2;2;0x800;0x0;0;0x0000); name(playfile) Invalid return value 0 for stream protocol Invalid return value 0 for stream protocol Invalid return value 0 for stream protocol Invalid return value 0 for stream protocol Invalid return value 0 for stream protocol Invalid return value 0 for stream protocol Invalid return value 0 for stream protocol BMediaTrack::ReadFrames: decoder returned error 0x80004007 (Last buffer) Playback finished. Invalid return value 0 for stream protocol TimeSourceObject::DeleteHook enter TimeSourceObjectManager::ObjectDeleted, node id 2 TimeSourceObject::DeleteHook leave
Stdout of MediaPlayer after dropping file second time:
open playlist item: BeBeep.m4a Invalid return value 0 for stream protocol Invalid return value 0 for stream protocol AudioProducer::_FillNextBuffer() - supplier error -> silence _InitFromTrack(): keyframes: 1, frame count: 31744 BMediaTrack::SeekToTime SeekToFrame, requested 1024, result 1024
Note:
See TracTickets
for help on using tickets.