using skyscraper5.Mpeg2;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace skyscraper5.src.Mpeg2.PacketFilter
{
	public interface IPacketFilter
	{
		/// <summary>
		/// If this returns true, the packet will be put into the next filter. If all filters return true, the packet will be processed.
		/// If this returns false, the packet will be discarded.
		/// </summary>
		/// <returns>Whether to continue processing the packet</returns>
		bool PassPacket(TsPacket packet);
	}
}
