readEBMLelementData example

$track_entry[$subelement['id_name']] = getid3_lib::BigEndian2Float($subelement['data']);
                                                        break;

                                                    case EBML_ID_CODECID:
                                                    case EBML_ID_LANGUAGE:
                                                    case EBML_ID_NAME:
                                                    case EBML_ID_CODECNAME:
                                                        $track_entry[$subelement['id_name']] = getid3_lib::trimNullByte($subelement['data']);
                                                        break;

                                                    case EBML_ID_CODECPRIVATE:
                                                        $track_entry[$subelement['id_name']] = $this->readEBMLelementData($subelement['length'], true);
                                                        break;

                                                    case EBML_ID_FLAGENABLED:
                                                    case EBML_ID_FLAGDEFAULT:
                                                    case EBML_ID_FLAGFORCED:
                                                    case EBML_ID_FLAGLACING:
                                                    case EBML_ID_CODECDECODEALL:
                                                        $track_entry[$subelement['id_name']] = (bool) getid3_lib::BigEndian2Int($subelement['data']);
                                                        break;

                                                    case EBML_ID_VIDEO:

                                                        
Home | Imprint | This part of the site doesn't use cookies.