MediaConnection: Remove format change protocol

This commit is contained in:
Barrett17
2018-03-01 17:09:24 +01:00
parent 7de0fd45cd
commit 182ec76b44
3 changed files with 2 additions and 36 deletions
@@ -125,8 +125,6 @@ protected:
virtual ~BMediaInput();
// Callbacks
virtual status_t FormatChanged(const media_format& format);
virtual void HandleBuffer(BBuffer* buffer);
virtual void Connected(const media_format& format);
@@ -159,12 +157,8 @@ protected:
// Callbacks
virtual status_t PrepareToConnect(media_format* format);
virtual status_t FormatProposal(media_format* format);
// TODO: Do we really want this?
virtual status_t FormatChangeRequested(media_format* format);
// When a connection is not binded with another, and you really don't want
// to use BMediaGraph it's your job to send the buffer to the connection
// you want. You might want to ovverride it so that you can track something,