Changeset 65216 in vbox
- Timestamp:
- Jan 9, 2017 4:13:17 PM (8 years ago)
- File:
-
- 1 edited
-
trunk/src/VBox/Main/src-client/VideoRec.cpp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/VideoRec.cpp
r65212 r65216 444 444 if (cErrors > 0) 445 445 { 446 LogRel((" Error %Rrc encoding / writing video frame\n", rc));446 LogRel(("VideoRec: Error %Rrc encoding / writing video frame\n", rc)); 447 447 cErrors--; 448 448 } … … 654 654 #endif 655 655 656 int rc = pStream->pEBML->create(pszFile, RTFILE_O_CREATE | RTFILE_O_WRITE | RTFILE_O_DENY_WRITE, enmMode, 656 uint64_t fOpen = RTFILE_O_WRITE | RTFILE_O_DENY_WRITE; 657 #ifdef DEBUG 658 fOpen |= RTFILE_O_CREATE_REPLACE; 659 #else 660 fOpen |= RTFILE_O_CREATE; 661 #endif 662 663 int rc = pStream->pEBML->create(pszFile, fOpen, enmMode, 657 664 WebMWriter::AudioCodec_Opus, WebMWriter::VideoCodec_VP8); 658 665 if (RT_FAILURE(rc)) 659 666 { 660 LogRel((" Failed to create the video capture output file \"%s\"(%Rrc)\n", pszFile, rc));667 LogRel(("VideoRec: Failed to create the video capture output file '%s' (%Rrc)\n", pszFile, rc)); 661 668 return rc; 662 669 } … … 693 700 else 694 701 { 695 LogRel((" Settings quality deadline to = %s\n", value.c_str()));702 LogRel(("VideoRec: Settings quality deadline to '%s'\n", value.c_str())); 696 703 pStream->uEncoderDeadline = value.toUInt32(); 697 704 } 698 705 } 699 else LogRel(("Getting unknown option: %s=%s\n", key.c_str(), value.c_str())); 706 else 707 LogRel(("VideoRec: Unknown option '%s' (value '%s'), skipping\n", key.c_str(), value.c_str())); 700 708 701 709 } while(pos != com::Utf8Str::npos); … … 809 817 if (pStream->pEBML->getAvailableSpace() < 0x100000) 810 818 { 811 LogRel((" Storage has not enough free space available, stopping video capture\n"));819 LogRel(("VideoRec: Not enough free storage space available, stopping video capture\n")); 812 820 return true; 813 821 }
Note:
See TracChangeset
for help on using the changeset viewer.

