webm2pes: Refactor header/optional header writing.

- Move class declarations to webm2pes.h.
- Add some visual demarcation between the method definitions for each
  class in webm2pes.cc.
- Reorganize the output code to make further development simpler.
- Also, clang format noise.

Change-Id: Id6d156e1f255cefe30a62784a3eadde6b93ae614
This commit is contained in:
Tom Finegan
2015-12-03 14:42:37 -08:00
parent 7c19266548
commit faf85c227d
3 changed files with 383 additions and 322 deletions

View File

@@ -59,5 +59,6 @@ target_link_libraries(vttdemux LINK_PUBLIC webm)
# webm2pes section.
add_executable(webm2pes
"${LIBWEBM_SRC_DIR}/webm2pes.cc")
"${LIBWEBM_SRC_DIR}/webm2pes.cc"
"${LIBWEBM_SRC_DIR}/webm2pes.h")
target_link_libraries(webm2pes LINK_PUBLIC webm)