Opened 6 years ago
Closed 6 years ago
#2156 closed defect (fixed)
Object slicing in MediaFormatVector
Reported by: | nanang | Owned by: | bennylp |
---|---|---|---|
Priority: | normal | Milestone: | release-2.9 |
Component: | pjsua2 | Version: | trunk |
Keywords: | Cc: | ||
Backport to 1.x milestone: | Backported: | no |
Description
Reported that there are object slicing issues in AudioDevInfo/VideoDevInfo when storing video/audio format detail info (i.e: MediaFormatVideo/MediaFormatAudio) into MediaFormatVector, this is due to the definition of MediaFormatVector that is a vector of MediaFormat (no pointer):
typedef std::vector<MediaFormat> MediaFormatVector;
This ticket will replace MediaFormatVector with MediaFormatVideoVector and MediaFormatAudioVector.
Thanks Ryan Wallach for the report and the suggestion.
Change History (1)
comment:1 Changed 6 years ago by nanang
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
In 5896: