~jhodapp/media-hub/fix-1435088

Viewing all changes in revision 115.

  • Committer: CI Train Bot
  • Author(s): thomas-voss
  • Date: 2015-03-20 13:15:06 UTC
  • mfrom: (98.2.8 make-video-size-a-proper-type)
  • Revision ID: ci-train-bot@canonical.com-20150320131506-r7eegq9a2cl2xyin
Replace home-grown mask type for the video size with a std::tuple, i.e., media::video::Dimensions.
Introduce a simple TaggedInteger class to distinguish between Width, Height and other dimensions.
Adjust interfaces of media::Player to rely on the new type.
Adjust implementation classes to account for interface changes.
Adjust Codec implementation for sending the tagged integer via the bus.
Adjust gstreamer::Engine and gstreamer::Playbin to hand out the correct types.
Approved by: PS Jenkins bot

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: